-
Bug
-
Resolution: Done
-
Blocker
-
3.3.0.Final
-
None
Upon adding a node and calling save() on the JcrSession the following exception is thrown:
org.modeshape.jcr.value.binary.BinaryStoreException: java.sql.SQLException: Invalid operation for forward-only result set: first
at org.modeshape.jcr.value.binary.Database.asString(Database.java:622)
at org.modeshape.jcr.value.binary.DatabaseBinaryStore.getExtractedText(DatabaseBinaryStore.java:235)
at org.modeshape.jcr.value.binary.AbstractBinaryStore.getText(AbstractBinaryStore.java:122)
at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.addDynamicField(BasicLuceneSchema.java:278)
at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.nodeInfo(BasicLuceneSchema.java:212)
at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.addToIndex(BasicLuceneSchema.java:406)
at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory$2.recordAdd(JcrRepository.java:1875)
at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:1088)
at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:544)
at org.modeshape.jcr.JcrSession.save(JcrSession.java:1022)