Guil; Can you provide some information on how the RDB files and file
connector were created?  You say when you select "some classes", so
what are the characteristics of those class definitions that could be
different than others?  For example, if you also have the Instances
view open, then Composer will try to cache some class instances.  The
problem appears to occur when Composer tries to populate the Instances
view.   So that could explain why it happens "some" time, the "some"
being when the Instances view is open and the class has instances, and
also indicates problems with instances in the TDB data store.
Otherwise, we'd need more information  on the context of the error to
speculate further...

-- Scott

On Nov 16, 4:40 pm, Guilherme Scomparim <[email protected]>
wrote:
> Hi all,
>
>   When I open some of my TDB files in Composer and on the class view I
> select some classes I get the error below.
>
>   Any ideas on how to fix it?
>
> Regards,
> Guil
>
> Operation failed.
> On: 17/11/2011 9:35:06 AM
> Reason:
> java.util.NoSuchElementException
>         at org.openjena.riot.tokens.TokenizerText.next(TokenizerText.java:91)
>         at com.hp.hpl.jena.tdb.nodetable.NodecSSE.decode(NodecSSE.java:100)
>         at com.hp.hpl.jena.tdb.lib.NodeLib.decode(NodeLib.java:85)
>         at com.hp.hpl.jena.tdb.lib.NodeLib.fetchDecode(NodeLib.java:67)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableNative.readNodeByNodeId(NodeTableNative.java:
> 158)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableNative._retrieveNodeByNodeId(NodeTableNative.java:
> 85)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableNative.getNodeForNodeId(NodeTableNative.java:
> 58)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableCache._retrieveNodeByNodeId(NodeTableCache.java:
> 86)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableCache.getNodeForNodeId(NodeTableCache.java:
> 57)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableWrapper.getNodeForNodeId(NodeTableWrapper.java:
> 43)
>         at
> com.hp.hpl.jena.tdb.nodetable.NodeTableInline.getNodeForNodeId(NodeTableInline.java:
> 55)
>         at com.hp.hpl.jena.tdb.lib.TupleLib.triple(TupleLib.java:108)
>         at com.hp.hpl.jena.tdb.lib.TupleLib.triple(TupleLib.java:103)
>         at com.hp.hpl.jena.tdb.lib.TupleLib.access$000(TupleLib.java:32)
>         at com.hp.hpl.jena.tdb.lib.TupleLib$3.convert(TupleLib.java:64)
>         at com.hp.hpl.jena.tdb.lib.TupleLib$3.convert(TupleLib.java:60)
>         at org.openjena.atlas.iterator.Iter$4.next(Iter.java:265)
> at com.hp.hpl.jena.tdb.store.GraphTDBBase
> $MapperIteratorTriples.next(GraphTDBBase.java:227)
>         at com.hp.hpl.jena.tdb.store.GraphTDBBase
> $MapperIteratorTriples.next(GraphTDBBase.java:186)
>         at org.topbraid.tdb.graphstore.AutoLockingTDBGraph
> $2.next(AutoLockingTDBGraph.java:350)
>         at org.topbraid.tdb.graphstore.AutoLockingTDBGraph
> $2.next(AutoLockingTDBGraph.java:1)
>         at
> com.hp.hpl.jena.util.iterator.WrappedIterator.next(WrappedIterator.java:
> 68)
>         at
> com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:
> 44)
>         at com.hp.hpl.jena.graph.compose.CompositionBase
> $2.hasNext(CompositionBase.java:99)
>         at com.hp.hpl.jena.util.iterator.NiceIterator
> $1.hasNext(NiceIterator.java:86)
>         at
> com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:
> 64)
>         at
> com.hp.hpl.jena.util.iterator.Map1Iterator.hasNext(Map1Iterator.java:
> 38)
>         at
> com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:
> 64)
>         at
> org.topbraidcomposer.navigation.instances.InstancesTableContentProvider.addInstances(InstancesTableContentProvider.java:
> 43)
>         at
> org.topbraidcomposer.navigation.instances.InstancesTableContentProvider.getInstances(InstancesTableContentProvider.java:
> 95)
>         at org.topbraidcomposer.navigation.instances.InstancesView
> $12.run(InstancesView.java:627)
>         at org.eclipse.jface.operation.ModalContext
> $ModalContextThread.run(ModalContext.java:121)

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
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-users?hl=en

Reply via email to