[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-users
Subject:    Re: [ jEdit-users ] Problem with CtagsInterface
From:       Shlomy Reinstein <sreinst1 () gmail ! com>
Date:       2009-09-30 8:49:02
Message-ID: fa5cf0360909300149v479f6192gcbff05666a9ce3e5 () mail ! gmail ! com
[Download RAW message or body]

Ok, I found the issue. There is a bug in the .props file of the
released version of CtagsInterface.
To fix this, please open the menu Plugins -> CtagsInterface -> Change
database settings...
In the dialog that opens, choose 'hsqldb' in the combo-box titled
"Select preset values:", and click Ok.
Then restart jEdit, or even just unload & reload CtagsInterface from
the plugin manager.

Please let me know if this fixed the problem.
The bug in the props file is that the property that selects the
database to use ("options.CtagsInterface.dbSelectedPreset") is empty,
it should contain "hsqldb". If the above solution does not work, you
can close jEdit and add the following line to your properties file:
options.CtagsInterface.dbSelectedPreset=hsqldb

Both solutions should do the same thing.

Shlomy

On Wed, Sep 30, 2009 at 2:21 AM, Ernest Obusek <ernest@willowfalls.net> wrote:
> I did a fresh install of Snow Leopard on my Mac and have been slowly
> getting my apps all working.  Today I'm getting jEdit back up and it
> is working well, but I just noticed that tags weren't working.  Well,
> I hadn't yet installed a tags plugin, so I decided to try the
> CtagsInterface plugin for the first time.  When I load the Plugin
> Options for it and click on Source Trees, I get a BeanShell Error
> (shown below).  The jEdit About box says this is "jEdit 4.3pre17
> server-background mode, using Java 1.6.0_15".  Is this a bug, or is
> there perhaps another plugin I need but don't have?
>
> Thanks for any help you can provide.
>
> - Ernest
>
>
> java.lang.NullPointerException
>        at ctagsinterface.db.TagDB.query(TagDB.java:491)
>        at ctagsinterface.db.TagDB.queryStringList(TagDB.java:504)
>        at ctagsinterface.db.TagDB.getOrigins(TagDB.java:471)
>        at ctagsinterface.options.DirsOptionPane.getDirs(DirsOptionPane.java:
> 151)
>        at ctagsinterface.options.DirsOptionPane.<init>(DirsOptionPane.java:46)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance
> (NativeConstructorAccessorImpl.java:39)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620)
>        at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject
> (BSHAllocationExpression.java:123)
>        at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation
> (BSHAllocationExpression.java:114)
>        at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval
> (BSHAllocationExpression.java:62)
>        at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval
> (BSHPrimaryExpression.java:102)
>        at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval
> (BSHPrimaryExpression.java:47)
>        at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
>        at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
>        at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
>        at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
>        at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
>        at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
>        at org.gjt.sp.jedit.gui.OptionsDialog.valueChanged(OptionsDialog.java:
> 204)
>        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged
> (DefaultTreeSelectionModel.java:629)
>        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange
> (DefaultTreeSelectionModel.java:1078)
>        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths
> (DefaultTreeSelectionModel.java:287)
>        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath
> (DefaultTreeSelectionModel.java:170)
>        at javax.swing.JTree.setSelectionPath(JTree.java:1598)
>        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent
> (BasicTreeUI.java:2316)
>        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection
> (BasicTreeUI.java:3525)
>        at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed
> (BasicTreeUI.java:3464)
>        at java.awt.Component.processMouseEvent(Component.java:6345)
>        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>        at java.awt.Component.processEvent(Component.java:6113)
>        at java.awt.Container.processEvent(Container.java:2085)
>        at java.awt.Component.dispatchEventImpl(Component.java:4714)
>        at java.awt.Container.dispatchEventImpl(Container.java:2143)
>        at java.awt.Component.dispatchEvent(Component.java:4544)
>        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
> 4618)
>        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
> 4279)
>        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
>        at java.awt.Container.dispatchEventImpl(Container.java:2129)
>        at java.awt.Window.dispatchEventImpl(Window.java:2475)
>        at java.awt.Component.dispatchEvent(Component.java:4544)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
>        at java.awt.EventDispatchThread.pumpOneEventForFilters
> (EventDispatchThread.java:296)
>        at java.awt.EventDispatchThread.pumpEventsForFilter
> (EventDispatchThread.java:211)
>        at java.awt.EventDispatchThread.pumpEventsForFilter
> (EventDispatchThread.java:205)
>        at java.awt.Dialog$1.run(Dialog.java:1045)
>        at java.awt.Dialog$3.run(Dialog.java:1097)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.awt.Dialog.show(Dialog.java:1095)
>        at java.awt.Component.show(Component.java:1563)
>        at java.awt.Component.setVisible(Component.java:1515)
>        at java.awt.Window.setVisible(Window.java:841)
>        at java.awt.Dialog.setVisible(Dialog.java:985)
>        at org.gjt.sp.jedit.gui.OptionsDialog.init(OptionsDialog.java:373)
>        at org.gjt.sp.jedit.gui.OptionsDialog.<init>(OptionsDialog.java:71)
>        at org.gjt.sp.jedit.options.PluginOptions.<init>(PluginOptions.java:39)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance
> (NativeConstructorAccessorImpl.java:39)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620)
>        at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject
> (BSHAllocationExpression.java:123)
>        at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation
> (BSHAllocationExpression.java:114)
>        at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval
> (BSHAllocationExpression.java:62)
>        at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval
> (BSHPrimaryExpression.java:102)
>        at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval
> (BSHPrimaryExpression.java:47)
>        at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
>        at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
>        at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
>        at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
>        at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
>        at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock
> (BeanShellFacade.java:225)
>        at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:423)
>        at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73)
>        at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:
> 352)
>        at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3242)
>        at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3224)
>        at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed
> (EditAction.java:220)
>        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
> 2028)
>        at javax.swing.AbstractButton$Handler.actionPerformed
> (AbstractButton.java:2351)
>        at javax.swing.DefaultButtonModel.fireActionPerformed
> (DefaultButtonModel.java:387)
>        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
> 242)
>        at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
>        at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
>        at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
>        at java.awt.MenuItem.processEvent(MenuItem.java:586)
>        at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:317)
>        at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:305)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
>        at java.awt.EventDispatchThread.pumpOneEventForFilters
> (EventDispatchThread.java:296)
>        at java.awt.EventDispatchThread.pumpEventsForFilter
> (EventDispatchThread.java:211)
>        at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:201)
>        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> 196)
>        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> 188)
>        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> --
> -----------------------------------------------
> jEdit Users' List
> jEdit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jedit-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
-- 
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic