I can reproduce this issue. It's an "unfortunate" error handling in our
code: attempts to assign a class (here: atm:NavigationFix) in an
owl:allValuesFrom restriction on an owl:DatatypeProperty crashes.
Creating such a constraint would be invalid, but the error message needs
to improve. I have filed a corresponding enhancement request. Meanwhile,
the work-around is to turn your property into an owl:ObjectProperty. Or
did you intend atm:NavigationFix to be an rdfs:Datatype?
Thanks
Holger
On 15/09/2016 1:53, Rich Keller wrote:
Here is the trace from pressing enter with the text editor:
!ENTRY org.topbraidcomposer.core 4 0 2016-09-14 08:48:10.112
!MESSAGE Failed to execute operation
!STACK 0
java.lang.reflect.InvocationTargetException
at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:286)
at
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.core.commands.ExecutionException: While
executing the operation, an exception occurred
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
... 3 more
Caused by: java.lang.IllegalStateException: we failed to create the
object: org.topbraid.owl.man.parser.ParseException: Encountered "" at
line 1, column 48.
Was expecting one of:
at
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more
Root exception:
org.eclipse.core.commands.ExecutionException: While executing the
operation, an exception occurred
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
at
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.IllegalStateException: we failed to create the
object: org.topbraid.owl.man.parser.ParseException: Encountered "" at
line 1, column 48.
Was expecting one of:
at
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more
On Tuesday, September 13, 2016 at 8:15:12 PM UTC-7, Rich Keller wrote:
When I press enter, it bombs with the same error trace as I sent
before. At least I think the trace is identical. Let me verify
tomorrow. Rich
On Sep 13, 2016, at 4:58 PM, Holger Knublauch
<[email protected] <mailto:[email protected]>> wrote:
I see nothing wrong. So what happens if (in your lower screenshot
with the text editor) press enter? It seems to parse it OK...
Holger
On 14/09/2016 3:02, Rich Keller wrote:
Holger: I'm attaching two screenshots: one using the add new row
plus Manchester Syntax for the restriction; the other using the
GUI for entry of the restriction. After completing the entry --
in either case -- the bug manifests itself.
You mentioned an issue with namespace prefixes. What is that
issue? The namespace situation and import structure is a bit
complex in this case, so if there is an issue you suspect, that
is probably the problem. The property being restricted is
defined in a different namespace (atm:) than the class being
defined (data:).
Please let me know if you need additional details.
Thanks for your help, Rich
On Mon, Sep 12, 2016 at 6:47 PM, Holger Knublauch
<[email protected] <mailto:[email protected]>> wrote:
Hi Rich,
I am not yet able to reproduce this, and will need more
information.
First, the work-around that SHOULD work is to enter the
restriction direction using the Add new row text editor in
OWL Manchester Syntax. For example, adding a min cardinality
restriction:
<mime-attachment.png>
Could you clarify what syntax you tried to enter? Could the
issue be about namespace prefixes.
Looking at the code of the dialog, one scenario where this
could happen is if no property is selected, or the system
cannot turn the dialog's content into valid OWL Manchester
Syntax. Again, it would help if you can clarify what type of
restriction you tried to enter. Could you make a screenshot
of the dialog right before the crash?
Thanks
Holger
On 13/09/2016 8:14, Rich Keller wrote:
Hi. I TBCME 5.1.4 (for Mac) is crashing for me when I
attempt to add a restriction to a class via the UI (via the
'Create restriction' pulldown menu item under
rdfs:subClassOf). I tried to enter the restriction by hand
in the code, but TBC does not seem to parse/process/accept
that code. The trace is below. Thanks for any help. Rich
!ENTRY org.topbraidcomposer.core 4 0 2016-09-12 14:54:40.690
!MESSAGE Failed to execute operation
!STACK 0
java.lang.reflect.InvocationTargetException
at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:286)
at
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.core.commands.ExecutionException:
While executing the operation, an exception occurred
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
... 3 more
Caused by: java.lang.IllegalStateException: we failed to
create the object: java.lang.IllegalStateException:
objectProvider returned null
at
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more
Root exception:
org.eclipse.core.commands.ExecutionException: While
executing the operation, an exception occurred
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:524)
at
org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java:272)
at
org.topbraidcomposer.core.change.TBCChangeEngine.access$0(TBCChangeEngine.java:1)
at
org.topbraidcomposer.core.change.TBCChangeEngine$2.run(TBCChangeEngine.java:155)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.IllegalStateException: we failed to
create the object: java.lang.IllegalStateException:
objectProvider returned null
at
org.topbraid.change.AddStatementChange.execute(AddStatementChange.java:65)
at
org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java:105)
at
org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
... 4 more
--
You received this message because you are subscribed to the
Google Group "TopBraid Suite Users", the topics of which
include the TopBraid Suite family of products and its base
technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
---
You received this message because you are subscribed to the
Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the
Google Group "TopBraid Suite Users", the topics of which
include the TopBraid Suite family of products and its base
technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
---
You received this message because you are subscribed to a
topic in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/topbraid-users/tjBTbJ_T8xs/unsubscribe
<https://groups.google.com/d/topic/topbraid-users/tjBTbJ_T8xs/unsubscribe>.
To unsubscribe from this group and all its topics, send an
email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the
Google Group "TopBraid Suite Users", the topics of which include
the TopBraid Suite family of products and its base technologies
such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
---
You received this message because you are subscribed to the
Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the
Google Group "TopBraid Suite Users", the topics of which include
the TopBraid Suite family of products and its base technologies
such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
---
You received this message because you are subscribed to a topic
in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/topbraid-users/tjBTbJ_T8xs/unsubscribe
<https://groups.google.com/d/topic/topbraid-users/tjBTbJ_T8xs/unsubscribe>.
To unsubscribe from this group and all its topics, send an email
to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include the TopBraid
Suite family of products and its base technologies such as
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Group "TopBraid
Suite Users", the topics of which include the TopBraid Suite family of products and
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.