|
From: Matthew H. <mat...@wa...> - 2002-07-17 15:07:27
|
Now, I am getting the following error when I try and open Gruntspud: [error] BeanShell: java.lang.NullPointerException [error] BeanShell: at gruntspud.CVSFileNode.loadChildren(CVSFileNode.java:619) [error] BeanShell: at gruntspud.CVSFileNode.getChildCount(CVSFileNode.java:597) [error] BeanShell: at gruntspud.CVSFileNode.isModuleRoot(CVSFileNode.java:532) [error] BeanShell: at gruntspud.CVSFileNode.getIcon(CVSFileNode.java:422) [error] BeanShell: at gruntspud.ui.CVSFileNodeTreeCellRenderer.getTreeCellRendererComponent(CV SFileNodeTreeCellRenderer.java:70) [error] BeanShell: at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensio ns(BasicTreeUI.java:2729) [error] BeanShell: at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCac he.java:478) [error] BeanShell: at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferred Size(VariableHeightLayoutCache.java:1342) [error] BeanShell: at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Variable HeightLayoutCache.java:1478) [error] BeanShell: at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Variable HeightLayoutCache.java:1270) [error] BeanShell: at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutC ache.java:725) [error] BeanShell: at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(Variable HeightLayoutCache.java:626) [error] BeanShell: at javax.swing.plaf.basic.BasicTreeUI$TreeModelHandler.treeStructureChanged (BasicTreeUI.java:2467) [error] BeanShell: at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeMo del.java:561) [error] BeanShell: at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel. java:345) [error] BeanShell: at javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:117) [error] BeanShell: at gruntspud.ui.TreeCVSView.setRootNode(TreeCVSView.java:166) [error] BeanShell: at gruntspud.ui.SplitCompoundView.setRootNode(SplitCompoundView.java:129) [error] BeanShell: at gruntspud.ui.ViewManager.setRootNode(ViewManager.java:360) [error] BeanShell: at gruntspud.ui.ViewManager.setHome(ViewManager.java:141) [error] BeanShell: at gruntspud.Gruntspud.init(Gruntspud.java:141) [error] BeanShell: at gruntspud.jedit.JEditGruntspudHost.<init>(JEditGruntspudHost.java:56) [error] BeanShell: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [error] BeanShell: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA ccessorImpl.java:39) [error] BeanShell: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27) [error] BeanShell: at java.lang.reflect.Constructor.newInstance(Constructor.java:274) [error] BeanShell: at bsh.Reflect.constructObject(Reflect.java:597) [error] BeanShell: at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java :106) [error] BeanShell: at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.jav a:99) [error] BeanShell: at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61) [error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69) [error] BeanShell: at bsh.Interpreter.eval(Interpreter.java:594) [error] BeanShell: at bsh.Interpreter.eval(Interpreter.java:682) [error] BeanShell: at bsh.Interpreter.eval(Interpreter.java:672) [error] BeanShell: at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:357) [error] BeanShell: at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:317) [error] BeanShell: at org.gjt.sp.jedit.gui.DockableWindowManager$Factory.createDockableWindow( DockableWindowManager.java:339) [error] BeanShell: at org.gjt.sp.jedit.gui.DockableWindowManager$Entry.open(DockableWindowMana ger.java:1086) [error] BeanShell: at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWi ndowManager.java:505) [error] BeanShell: at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed( PanelWindowContainer.java:304) [error] BeanShell: at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767) [error] BeanShell: at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractB utton.java:1820) [error] BeanShell: at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.ja va:419) [error] BeanShell: at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.jav a:273) [error] BeanShell: at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonList ener.java:258) [error] BeanShell: at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227) [error] BeanShell: at java.awt.Component.processMouseEvent(Component.java:5021) [error] BeanShell: at java.awt.Component.processEvent(Component.java:4818) [error] BeanShell: at java.awt.Container.processEvent(Container.java:1525) [error] BeanShell: at java.awt.Component.dispatchEventImpl(Component.java:3526) [error] BeanShell: at java.awt.Container.dispatchEventImpl(Container.java:1582) [error] BeanShell: at java.awt.Component.dispatchEvent(Component.java:3367) [error] BeanShell: at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359) [error] BeanShell: at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074) [error] BeanShell: at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004) [error] BeanShell: at java.awt.Container.dispatchEventImpl(Container.java:1568) [error] BeanShell: at java.awt.Window.dispatchEventImpl(Window.java:1581) [error] BeanShell: at java.awt.Component.dispatchEvent(Component.java:3367) [error] BeanShell: at java.awt.EventQueue.dispatchEvent(EventQueue.java:445) [error] BeanShell: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.java:191) [error] BeanShell: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. java:144) [error] BeanShell: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [error] BeanShell: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) [error] BeanShell: at java.awt.EventDispatchThread.run(EventDispatchThread.java:98) > -----Original Message----- > From: Brett Smith [mailto:tan...@bt...]=20 > Sent: Tuesday, July 16, 2002 1:26 PM > To: jed...@li... > Subject: Re: RE: [ jEdit-users ] Re: Gruntspud Plugin Question >=20 >=20 >=20 >=20 > Hi Matthew,=20 >=20 > Providing it is not a bug ;-), there are a few things that=20 > may prevent files from being shown ... >=20 > 1) Do you see the files in the 'files' tab when the directory=20 > is selected in the 'folders' tab. If you can, it is likely=20 > that the option 'Hide files in tree' is turned on=20 > (preferences -> display -> hide files in tree).=20 I tried looking at the properties file. While it was opened, I got the above error, and know I always get the above error where I didn't in the past. >=20 > 2) The options in the filter may be incorrect, i.e. all=20 > turned off or something. These are all on. >=20 > 3) The files may be in the .cvsignore list, click on the=20 > black (I) icon to check. Note that ignored files can be shown=20 > by making sure the 'Ignored' filter option is **on**. Files should still be visible that are not in my ignore lists. >=20 > If you've checked all of these things, are there any clues in=20 > the jEdit activity log. >=20 > Its worth noting that Gruntspud stores its preferences using=20 > jEdit when running as a plugin, and in its own properties file > (~/.gruntspud/gruntspud.properties) for the standalone=20 > version. Being as the standalone works, it seems possible=20 > that it is related to some option set for the plugin. >=20 Thanks for your great help! Any more thoughts from the above exception? Matthew |