The only enumerated class the model is using is defined in an imported class. The imported class opens fine, but looking at the enumerated class in the imported model, it does have a "owl:one of" defined for it, and the value is a bnode that looks to be lost. I've been refactoring my models, and refactored this class specifically and I'm guessing something didn't get quite updated correctly, but off the top of my head I'm unsure what the "one of" should contain. (sorry, outlook won't let me type the "one of" property correctly)
Jeff Work: 314-232-1997 Cell: 636-448-5990 > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Holger Knublauch > Sent: Monday, November 02, 2009 1:08 PM > To: [email protected] > Subject: [tbc-users] Re: Exception on model open > > > No I don't think so. The stack trace below shows that the > system is trying to display a combo box, and these are only > used for enumerated datatypes, or enumerated classes. > Therefore, please check owl:oneOf triples in your file. > > Holger > > > On Nov 2, 2009, at 11:05 AM, Schmitz, Jeffrey A wrote: > > > > > I noticed in the dialogue that quickly comes up during the > load that > > it seemed to get to line 4453. > > > > On that line is the below "sparql:query" construct. I know that > > property is deprecated, and I just upgraded to 3.1 from 3.0, so I'm > > guessing it has something to do with this query... > > > > <sparql:query rdf:datatype="http://www.w3.org/2001/ > > XMLSchema#string">PREFIX owl:<http://www.w3.org/2002/07/owl#> > > PREFIX Neutral: <http://www.boeing.com/IVHM/Neutral.owl#> > > PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> > > PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#> > > SELECT DISTINCT ?elemName1 ?elemVal1 ?elem1AttName1 ?elem1AttVal1 ? > > flow1 ?flow1fullURI1 ?flow1str1 > > WHERE { > > LET (?elemName1 := "img") > > LET (?elem1AttName1 := "src") > > LET (?elem1AttVal1 := "/SIF/images/link.jpg") }</sparql:query> > > > > > > Jeff > > Work: 314-232-1997 > > Cell: 636-448-5990 > > > > > >> -----Original Message----- > >> From: [email protected] > >> [mailto:[email protected]] On > Behalf Of Holger > >> Knublauch > >> Sent: Monday, November 02, 2009 12:51 PM > >> To: [email protected] > >> Subject: [tbc-users] Re: Exception on model open > >> > >> > >> Hi Jeff, > >> > >> this typically happens if you have an rdf:List that is not > >> well- formed, e.g. it may have a rdf:first but no rdf:rest. > >> Please check the range of the property. Feel free to send the RDF > >> snippet if in doubt. > >> > >> Holger > >> > >> > >> On Nov 2, 2009, at 10:45 AM, Schmitz, Jeffrey A wrote: > >> > >>> > >>> Hello, > >>> When I try to open one of my models, I get a "Could not open the > >>> editor: Cannot convert node -488ba06d:... to RDFList" error. The > >>> provided exception stack is pasted below. Any ideas? > >>> > >>> com.hp.hpl.jena.shared.JenaException: Cannot convert node > >> -488ba06d: > >>> 124b633b068:-7637 to RDFList > >>> at com.hp.hpl.jena.rdf.model.impl.RDFListImpl$1.wrap > >>> (RDFListImpl.java:81) > >>> at > >> com.hp.hpl.jena.enhanced.EnhNode.convertTo(EnhNode.java:142) > >>> at com.hp.hpl.jena.enhanced.Polymorphic.asInternal > >>> (Polymorphic.java:65) > >>> at com.hp.hpl.jena.enhanced.EnhNode.viewAs(EnhNode.java:92) > >>> at com.hp.hpl.jena.enhanced.EnhNode.as(EnhNode.java:97) > >>> at com.hp.hpl.jena.ontology.impl.OntResourceImpl.objectAs > >>> (OntResourceImpl.java:1314) > >>> at > com.hp.hpl.jena.ontology.impl.EnumeratedClassImpl.getOneOf > >>> (EnumeratedClassImpl.java:141) > >>> at > >> com.hp.hpl.jena.ontology.impl.EnumeratedClassImpl.listOneOf > >>> (EnumeratedClassImpl.java:151) > >>> at > >>> > >> > org.topbraidcomposer.widgets.row.editors.ComboBoxEditor.createValidNo > >> d > >>> es > >>> (ComboBoxEditor.java:34) > >>> at > >>> org.topbraidcomposer.widgets.row.editors.AbstractComboBoxEditor > >>> .<init>(AbstractComboBoxEditor.java:57) > >>> at > >>> org.topbraidcomposer.widgets.row.editors.ComboBoxEditor.<init> > >>> (ComboBoxEditor.java:20) > >>> at > >>> org.topbraidcomposer.widgets.row.RowEditorFactory.createRowEditor > >>> (RowEditorFactory.java:56) > >>> at org.topbraidcomposer.widgets.row.RowWidgetRow.<init> > >>> (RowWidgetRow.java:130) > >>> at > org.topbraidcomposer.widgets.row.ObjectRowWidgetRow.<init> > >>> (ObjectRowWidgetRow.java:23) > >>> at > >>> > org.topbraidcomposer.widgets.row.ObjectRowWidget.createRowWidgetRow > >>> (ObjectRowWidget.java:206) > >>> at org.topbraidcomposer.widgets.row.RowWidget.addRow > >>> (RowWidget.java:153) > >>> at org.topbraidcomposer.widgets.row.RowWidget.initialize > >>> (RowWidget.java:223) > >>> at > >> org.eclipse.ui.forms.ManagedForm.addPart(ManagedForm.java: > >>> 85) > >>> at > >>> > >> > org.topbraidcomposer.editors.forms.page.ResourceFormPage.createWidget > >>> (ResourceFormPage.java:619) > >>> at > >>> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll > >>> (ResourceFormPage.java:279) > >>> at > >>> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll > >>> (ResourceFormPage.java:332) > >>> at > >>> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll > >>> (ResourceFormPage.java:332) > >>> at > >>> org.topbraidcomposer.editors.forms.page.ResourceFormPage.addAll > >>> (ResourceFormPage.java:207) > >>> at > >>> > >> > org.topbraidcomposer.editors.forms.page.ResourceFormPage.createFormCo > >> n > >>> tent > >>> (ResourceFormPage.java:579) > >>> at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java: > >>> 151) > >>> at org.eclipse.swt.custom.BusyIndicator.showWhile > >>> (BusyIndicator.java:70) > >>> at org.eclipse.ui.forms.editor.FormPage.createPartControl > >>> (FormPage.java:149) > >>> at org.eclipse.ui.forms.editor.FormEditor.pageChange > >>> (FormEditor.java:488) > >>> at org.eclipse.ui.part.MultiPageEditorPart.setActivePage > >>> (MultiPageEditorPart.java:973) > >>> at org.eclipse.ui.forms.editor.FormEditor.setActivePage > >>> (FormEditor.java:623) > >>> at org.eclipse.ui.part.MultiPageEditorPart.createPartControl > >>> (MultiPageEditorPart.java:314) > >>> at org.eclipse.ui.internal.EditorReference.createPartHelper > >>> (EditorReference.java:661) > >>> at org.eclipse.ui.internal.EditorReference.createPart > >>> (EditorReference.java:428) > >>> at org.eclipse.ui.internal.WorkbenchPartReference.getPart > >>> (WorkbenchPartReference.java:594) > >>> at org.eclipse.ui.internal.EditorReference.getEditor > >>> (EditorReference.java:266) > >>> at > >> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched > >>> (WorkbenchPage.java:2820) > >>> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor > >>> (WorkbenchPage.java:2729) > >>> at org.eclipse.ui.internal.WorkbenchPage.access$11 > >>> (WorkbenchPage.java:2721) > >>> at org.eclipse.ui.internal.WorkbenchPage$10.run > >>> (WorkbenchPage.java:2673) > >>> at org.eclipse.swt.custom.BusyIndicator.showWhile > >>> (BusyIndicator.java:70) > >>> at org.eclipse.ui.internal.WorkbenchPage.openEditor > >>> (WorkbenchPage.java:2668) > >>> at org.eclipse.ui.internal.WorkbenchPage.openEditor > >>> (WorkbenchPage.java:2652) > >>> at org.eclipse.ui.internal.WorkbenchPage.openEditor > >>> (WorkbenchPage.java:2643) > >>> at > >>> > >> > org.topbraidcomposer.editors.ResourceEditorLauncher.openResourceEdito > >> r > >>> (ResourceEditorLauncher.java:573) > >>> at > org.topbraidcomposer.editors.ResourceEditorLauncher.access > >>> $5(ResourceEditorLauncher.java:541) > >>> at org.topbraidcomposer.editors.ResourceEditorLauncher$7.run > >>> (ResourceEditorLauncher.java:620) > >>> at > >> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java: > >>> 35) > >>> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages > >>> (Synchronizer.java:133) > >>> at org.eclipse.swt.widgets.Display.runAsyncMessages > >>> (Display.java:3800) > >>> at org.eclipse.swt.widgets.Display.readAndDispatch > >>> (Display.java:3425) > >>> at org.eclipse.jface.operation.ModalContext > >>> $ModalContextThread.block(ModalContext.java:173) > >>> at org.eclipse.jface.operation.ModalContext.run > >>> (ModalContext.java:382) > >>> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run > >>> (ProgressMonitorDialog.java:507) > >>> at > >>> org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run > >>> (ProgressMonitorJobsDialog.java:275) > >>> at org.eclipse.ui.internal.progress.ProgressManager$3.run > >>> (ProgressManager.java:977) > >>> at org.eclipse.swt.custom.BusyIndicator.showWhile > >>> (BusyIndicator.java:70) > >>> at > >>> org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile > >>> (ProgressManager.java:1012) > >>> at > >>> org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile > >>> (ProgressManager.java:987) > >>> at org.topbraidcomposer.core.io.TBCIO$2.run(TBCIO.java:459) > >>> at > >> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java: > >>> 35) > >>> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages > >>> (Synchronizer.java:133) > >>> at org.eclipse.swt.widgets.Display.runAsyncMessages > >>> (Display.java:3800) > >>> at org.eclipse.swt.widgets.Display.readAndDispatch > >>> (Display.java:3425) > >>> at org.eclipse.ui.internal.Workbench.runEventLoop > >>> (Workbench.java:2382) > >>> at > >> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) > >>> at > >> org.eclipse.ui.internal.Workbench.access$4(Workbench.java: > >>> 2198) > >>> at > >> org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) > >>> at > >>> org.eclipse.core.databinding.observable.Realm.runWithDefault > >>> (Realm.java:288) > >>> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench > >>> (Workbench.java:488) > >>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench > >>> (PlatformUI.java:149) > >>> at > >>> org.eclipse.ui.internal.ide.application.IDEApplication.start > >>> (IDEApplication.java:113) > >>> at org.eclipse.equinox.internal.app.EclipseAppHandle.run > >>> (EclipseAppHandle.java:193) > >>> at > >>> > >> > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli > >> c > >>> ation > >>> (EclipseAppLauncher.java:1 > >>> > >>> Jeff > >>> Work: 314-232-1997 > >>> Cell: 636-448-5990 > >>> > >>> > >>> > >>>> > >> > >> > >>> > >> > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
