#1706 Javadoc plugin fails after entering path

open
nobody
None
5
2014-08-28
2013-04-16
Anonymous
No

After adding a path to the javadoc plugin, it works, but it begins to fail and fails to load again on startup.

After removing the paths in the properties file it works again.

10:47:02 AM [AWT-EventQueue-0] [debug] PluginJAR: Activating javadoc.JavadocPlugin because of startup
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: Error while starting plugin javadoc.JavadocPlugin
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: java.lang.ArrayIndexOutOfBoundsException: -1:0
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at org.gjt.sp.jedit.buffer.JEditBuffer.getText(JEditBuffer.java:588)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javadoc.JavadocPlugin.getApiName(JavadocPlugin.java:135)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javadoc.ApiAction.create(ApiAction.java:18)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javadoc.JavadocPlugin.updateActions(JavadocPlugin.java:50)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javadoc.JavadocPlugin.start(JavadocPlugin.java:27)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.startPlugin(PluginJAR.java:1527)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:782)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java:852)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.load(PluginJAR.java:237)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at org.gjt.sp.jedit.pluginmgr.ManagePanel$PluginTableModel.setValueAt(ManagePanel.java:526)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.JTable.setValueAt(JTable.java:2740)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.JTable.editingStopped(JTable.java:4722)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:368)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:233)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.DefaultCellEditor$EditorDelegate.actionPerformed(DefaultCellEditor.java:385)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.processMouseEvent(Component.java:6505)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.processEvent(Component.java:6270)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Container.processEvent(Container.java:2229)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.dispatchEventImpl(Component.java:4861)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Container.dispatchEventImpl(Container.java:2287)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.dispatchEvent(Component.java:4687)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:942)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1158)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.processMouseEvent(Component.java:6505)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.processEvent(Component.java:6270)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Container.processEvent(Container.java:2229)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.dispatchEventImpl(Component.java:4861)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Container.dispatchEventImpl(Container.java:2287)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.dispatchEvent(Component.java:4687)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Container.dispatchEventImpl(Container.java:2273)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Window.dispatchEventImpl(Window.java:2719)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.Component.dispatchEvent(Component.java:4687)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue.access$200(EventQueue.java:103)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue$3.run(EventQueue.java:688)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue$3.run(EventQueue.java:686)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.security.AccessController.doPrivileged(Native Method)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue$4.run(EventQueue.java:702)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue$4.run(EventQueue.java:700)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.security.AccessController.doPrivileged(Native Method)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
10:47:02 AM [AWT-EventQueue-0] [error] PluginJAR: at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Discussion