IllegalArgumentException during start in version.1.02

User 677b9c22ff

21-11-2006 04:14:31

Hi,


this is WIN XP 32, Instant-JChem-1.02


during start I get this message (DBs closed and open).


Tobias








java.lang.IllegalArgumentException: Called DataObject.find on null


at org.openide.loaders.DataObject.find(DataObject.java:444)


at org.openide.loaders.DataFolder.findFolder(DataFolder.java:506)


at com.im.workbench.project.WBProjectLogicalView$WBProjectNode.<init>(WBProjectLogicalView.java:85)


at com.im.workbench.project.WBProjectLogicalView.createLogicalView(WBProjectLogicalView.java:70)


at org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.createNodes(ProjectsRootNode.java:242)


at org.openide.nodes.Children$Keys$KE.nodes(Children.java:2144)


at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:123)


at org.openide.nodes.Children$Info.nodes(Children.java:1212)


at org.openide.nodes.Children.justComputeNodes(Children.java:679)


at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:64)


at org.openide.nodes.Children.getNodes(Children.java:350)


at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:215)


at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:258)


at javax.swing.tree.DefaultTreeModel.getChildCount(Unknown Source)


at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)


at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)


at javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source)


at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(Unknown Source)


at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(Unknown Source)


at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(Unknown Source)


at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(Unknown Source)


at javax.swing.tree.DefaultTreeModel.setRoot(Unknown Source)


at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:70)


at org.openide.util.Mutex.doEvent(Mutex.java:1152)


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


at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:56)


at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:716)


at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:558)


at org.openide.explorer.view.TreeView.addNotify(TreeView.java:538)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at org.netbeans.swing.tabcontrol.TabbedContainer.addNotify(TabbedContainer.java:372)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addNotify(Unknown Source)


at javax.swing.JComponent.addNotify(Unknown Source)


at java.awt.Container.addImpl(Unknown Source)


at java.awt.Container.add(Unknown Source)


at org.netbeans.core.windows.view.ui.MainWindow.setDesktop(MainWindow.java:454)


at org.netbeans.core.windows.view.ViewHierarchy.setDesktop(ViewHierarchy.java:758)


at org.netbeans.core.windows.view.ViewHierarchy.setMainWindowDesktop(ViewHierarchy.java:748)


at org.netbeans.core.windows.view.ViewHierarchy.updateDesktop(ViewHierarchy.java:645)


at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:537)


at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:479)


at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:163)


at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:238)


at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:227)


at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:164)


at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:85)


at org.netbeans.core.windows.Central.setVisible(Central.java:74)


at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:710)


at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:56)


[catch] at org.netbeans.core.NonGui$3.run(NonGui.java:223)


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


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


at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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 fa971619eb

21-11-2006 11:58:48

This would be caused by trying to open a project that is missing its .config directory, or for some reason this directory is corrupt.


This should not happen in normal operation. Two possible things that might have caused it are:





1. The project files we externally modified e.g. the .config dir was manually deleted. Presumably this is unlikely, but its worth mentioning - files inside the project directory should only be accessed by IJC.





2. An attempt to delete a project in IJC was made, but for some reason a file was locked and the deletion did not fully succeed. Again this could happen if the files were being accessed externally (the same point as in #1), or more likley IJC had not released an open file correctly. We've looked at this possbility and have found (and fixed) one possible cause.


If this is the case then you should now manually delete what remains of this project directory.





If you think the cause is neither of the above then we can look into this further. We will need to examine the contents of the project that is causing the problem.





Tim