Error in form view of IJC

User 0f1e393145

20-03-2013 18:42:59

Hey guys,


I made a form view within IJC to scroll through relational data spread across 4 different tables. All the relationships/db constraints are configured for simple relationships. Though whenever I scroll through data in the form view I am getting the error below. Any ideas? 


Thank you in advance,


Adam


 



java.util.ConcurrentModificationException


at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(Unknown Source)


at java.util.LinkedHashMap$EntryIterator.next(Unknown Source)


at java.util.LinkedHashMap$EntryIterator.next(Unknown Source)


at com.im.df.impl.db.EDPCache$1.run(EDPCache.java:110)


at com.im.df.impl.db.EDPCache$1.run(EDPCache.java:106)


at org.openide.util.Mutex.readAccess(Mutex.java:288)


at com.im.df.impl.db.EDPCache.findCachedValue(EDPCache.java:106)


at com.im.df.impl.db.EDPCache.fetchValues(EDPCache.java:141)


at com.im.df.impl.db.DBEntityDataProviderImpl.getData(DBEntityDataProviderImpl.java:259)


at com.im.df.impl.db.MasterDetailRetriever$DataTreeIdProvider.getSingleId(MasterDetailRetriever.java:379)


at com.im.df.impl.db.MasterDetailRetriever$DataTreeIdProvider.getIDs(MasterDetailRetriever.java:352)


at com.im.df.impl.db.MasterDetailRetriever.fetchIds(MasterDetailRetriever.java:284)


at com.im.df.impl.db.MasterDetailRetriever.fetchIds(MasterDetailRetriever.java:227)


at com.im.df.impl.db.ResultSetImpl$VS.fetchIds(ResultSetImpl.java:670)


at com.im.df.impl.db.ResultSetImpl$VS.parentSelectionUpdated(ResultSetImpl.java:659)


at com.im.df.impl.db.ResultSetImpl$VS.access$100(ResultSetImpl.java:531)


at com.im.df.impl.db.ResultSetImpl$VS$5.run(ResultSetImpl.java:921)


Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to


at org.openide.util.RequestProcessor.post(RequestProcessor.java:428)


at com.im.df.impl.db.ResultSetImpl$VS.setSelection(ResultSetImpl.java:916)


at com.im.ijc.core.api.util.IJCCoreUtils$4.phase1InRequestProcessor(IJCCoreUtils.java:331)


at com.im.commons.progress.BackgroundRunner.processTheTask(BackgroundRunner.java:128)


at com.im.commons.progress.BackgroundRunner$1.run(BackgroundRunner.java:91)


at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)


[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)



ChemAxon 2bdd02d1e5

22-03-2013 11:33:28

Hi Adam,


we are looking at your issue. No idea how to avoid this yet. I would have a few question in the meantime. Does it happen always or sometimes? What particular Instant JChem version do you use? Did it occur in previous versions too?


Thanks,


Filip

ChemAxon 2bdd02d1e5

22-03-2013 16:18:05

It should be already fixed in IJC 5.11.2, please try to upgrade to a newer version. You can use 5.11.5 if you want to avoid IJC schema and JChem table regeneration.


Regards,
Filip