"Problem of visualization

User f006038a17

23-04-2013 14:50:53

Dear Sir,


After updating IJC, some of the data entity cannot be open. I have the following error message :



java.util.UnknownFormatConversionException: Conversion = 'P'


at java.util.Formatter$FormatSpecifier.conversion(Unknown Source)


at java.util.Formatter$FormatSpecifier.<init>(Unknown Source)


at java.util.Formatter.parse(Unknown Source)


at java.util.Formatter.format(Unknown Source)


at java.util.Formatter.format(Unknown Source)


at java.lang.String.format(Unknown Source)


at com.google.common.util.concurrent.ThreadFactoryBuilder.setNameFormat(ThreadFactoryBuilder.java:68)


at com.im.ijc.core.api.data.ViewDataProvider.<init>(ViewDataProvider.java:91)


at com.im.ijc.core.api.data.ViewDataProvider.forView(ViewDataProvider.java:102)


at com.im.ijc.widgets.table.AbstractTableWidget.getViewDataProvider(AbstractTableWidget.java:355)


at com.im.ijc.widgets.table.WBTableWidget.setFields(WBTableWidget.java:335)


at com.im.ijc.widgets.table.AbstractTableWidget.bind(AbstractTableWidget.java:218)


at com.im.ijc.gridview.GridViewTopComponent.createDefaultTableWidget(GridViewTopComponent.java:361)


at com.im.ijc.gridview.GridViewTopComponent.loadTableState(GridViewTopComponent.java:244)


at com.im.ijc.gridview.GridViewTopComponent.createTableWidget(GridViewTopComponent.java:230)


at com.im.ijc.gridview.GridViewTopComponent$1.phase2InAWT(GridViewTopComponent.java:192)


at com.im.commons.progress.BackgroundRunner$3.run(BackgroundRunner.java:149)


at java.awt.event.InvocationEvent.dispatch(Unknown Source)


at java.awt.EventQueue.dispatchEventImpl(Unknown Source)


at java.awt.EventQueue.access$400(Unknown Source)


at java.awt.EventQueue$2.run(Unknown Source)


at java.awt.EventQueue$2.run(Unknown Source)


at java.security.AccessController.doPrivileged(Native Method)


at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)


at java.awt.EventQueue.dispatchEvent(Unknown Source)


at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:162)


at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


[catch] at java.awt.EventDispatchThread.run(Unknown Source)



 


 


Then "Loading data" but nothing happened.


I can export the data but I cannot visualize the listing?


 


What can I do?


 


Thanks for your help


Sincerely

ChemAxon 2bdd02d1e5

25-04-2013 08:34:33

Dear Sir


I suppose you were opening gridview and no data were shown, right? Could you try to create a new gridview and use it instead?


Thanks,


Filip

User f006038a17

29-04-2013 06:26:38

Dear Sir,


As requested, a new grid view was created and nothing changed. Both views were also deleted and a new one was created, same result.


 


 

User f006038a17

29-04-2013 10:52:30

Dear Sir,


 


I also have the following warning message :



"A java.io.IOException exception has occurred.


However, the system should continue working without further problems.


Click Show Details for the stack trace."


Details:



java.util.UnknownFormatConversionException: Conversion = ' '


at java.util.Formatter.checkText(Unknown Source)


at java.util.Formatter.parse(Unknown Source)


at java.util.Formatter.format(Unknown Source)


at java.util.Formatter.format(Unknown Source)


at java.lang.String.format(Unknown Source)


at com.google.common.util.concurrent.ThreadFactoryBuilder.setNameFormat(ThreadFactoryBuilder.java:68)


at com.im.ijc.core.api.data.ViewDataProvider.<init>(ViewDataProvider.java:91)


at com.im.ijc.core.api.data.ViewDataProvider.forView(ViewDataProvider.java:102)


at com.im.ijc.widgets.table.AbstractTableWidget.getViewDataProvider(AbstractTableWidget.java:355)


at com.im.ijc.widgets.table.WBTableWidget.setFields(WBTableWidget.java:335)


at com.im.ijc.widgets.table.AbstractTableWidget.bind(AbstractTableWidget.java:218)


at com.im.ijc.widgets.table.WBTableFactory.restoreWidget(WBTableFactory.java:60)


at com.im.ijc.formview.xml.DesignerHandleWidgetPersister.readElement(DesignerHandleWidgetPersister.java:224)


at com.im.df.api.util.xml.BasicPersister.read(BasicPersister.java:1032)


Caused: java.io.IOException


at com.im.df.api.util.xml.BasicPersister.throwWrappedIOException(BasicPersister.java:1189)


at com.im.df.api.util.xml.BasicPersister.read(BasicPersister.java:1041)


at com.im.df.api.util.xml.BasicPersister.readObjectPolymorphic(BasicPersister.java:1164)


at com.im.ijc.gridview.io.GridViewConfigPersister.readElement(GridViewConfigPersister.java:70)


at com.im.df.api.util.xml.BasicPersister.read(BasicPersister.java:1032)


at com.im.df.api.util.xml.PersisterRegistry.load(PersisterRegistry.java:111)


at com.im.df.api.util.xml.PersisterRegistry.load(PersisterRegistry.java:95)


at com.im.df.api.util.xml.XMLUtils.loadBean(XMLUtils.java:121)


at com.im.df.api.util.xml.XMLUtils.loadBean(XMLUtils.java:108)


[catch] at com.im.ijc.gridview.GridViewTopComponent.loadTableState(GridViewTopComponent.java:252)


at com.im.ijc.gridview.GridViewTopComponent.createTableWidget(GridViewTopComponent.java:230)


at com.im.ijc.gridview.GridViewTopComponent$1.phase2InAWT(GridViewTopComponent.java:192)


at com.im.commons.progress.BackgroundRunner$3.run(BackgroundRunner.java:149)


at java.awt.event.InvocationEvent.dispatch(Unknown Source)


at java.awt.EventQueue.dispatchEventImpl(Unknown Source)


at java.awt.EventQueue.access$400(Unknown Source)


at java.awt.EventQueue$2.run(Unknown Source)


at java.awt.EventQueue$2.run(Unknown Source)


at java.security.AccessController.doPrivileged(Native Method)


at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)


at java.awt.EventQueue.dispatchEvent(Unknown Source)


at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:162)


at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.run(Unknown Source)




ChemAxon 2bdd02d1e5

29-04-2013 13:58:02

Dear Sir,


Thank you for reporting this. Unfortunatelly I can't tell what is wrong. Could you send us whole IJC log file as described at http://www.chemaxon.com/instantjchem/ijc_latest/docs/admin/debug_info.html , please? What was the last version where it was working?


Let me suggest a workaround in the meantime. This problem occur only in gridview, right? Then simple table on formview could help, or try to use another widgets as text field and molecule pane widgets...


There may be some problem with a text or calculated fields in the table, but I can only speculate for now.
Do you have any candidates for causing this problem? 


I'm sorry for not having good news yet.


Filip

User f006038a17

30-04-2013 06:46:42

Dear Sir,


 


Unfortunately, the problem occurs also with the formview. I cannot create any formview. It's very surprising because it works for several data tables, but at least half of them do not work. Considering the possibility of unreadible data, it's pretty strange because all the data table are built following the same pattern.


Moreover, I establish some links with a structure table, and in the form view I can access to the data coming from the data table I cannot see.


The log file is attached to this message


Thanks for your help

ChemAxon 99d87cf303

02-05-2013 08:43:17

Could you please post the name of the view, i.e. the name you see in Projects tab or in the name of the form tab, which causes the problem.


Thanks a lot,
- Martin

ChemAxon 99d87cf303

02-05-2013 08:50:46

Or actually I think I see the problem in the log file you've attached. Name of your form or grid view contains percentage sign, like %PreG, could you try to rename the view such that it does not contain the percentage sign. It should help.


It is still definitelly a bug which we will handle.


Thanks for the report,
- Martin

User f006038a17

02-05-2013 09:05:03

Thanks a lot!!! After removing the "%", it works. In fact, with the previous version, "%" was tolerated into the title.

ChemAxon 99d87cf303

02-05-2013 11:13:42

Good to know, thanks. IJC 5.12 brought improvements and thus code reworks which caused this regression. The fix with regression test-case should be easy. Until then the workaround is needed - I hope it's not a big issue.


Thanks again for the catch,
- Martin.