As I can see this exception didn't come from my plugin, there is no class of mine in the stack trace (my parser package is it.eilart.php.parser.Parser and the plugin class is it.eilart.jedit.completion.php.PhpCompletionPlugin)
Maybe there is a conflict in some .prop or in the action.xml
So you were using another plugin, that's why you were so happy of it....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i tried to complete value of include() and this pop-up error message appeared:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
at org.gjt.sp.jedit.Buffer.getLineEndOffset(Buffer.java:935)
at org.gjt.sp.jedit.Buffer.getLineLength(Buffer.java:958)
at errorlist.DefaultErrorSource$DefaultError.openNotify(Unknown Source)
at errorlist.DefaultErrorSource$DefaultError.<init>(Unknown Source)
at errorlist.DefaultErrorSource.addError(Unknown Source)
at gatchan.phpparser.PHPErrorSource.parseError(PHPErrorSource.java:33)
at gatchan.phpparser.parser.PHPParser.fireParseError(PHPParser.java:92)
at gatchan.phpparser.parser.PHPParser.phpFile(PHPParser.java:300)
at gatchan.phpparser.parser.PHPParser.parse(PHPParser.java:231)
at gatchan.phpparser.parser.PHPParser.parseInfo(PHPParser.java:183)
at gatchan.phpparser.PHPParserPlugin.parse(PHPParserPlugin.java:128)
at gatchan.phpparser.PHPParserPlugin.parseBuffer(PHPParserPlugin.java:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeOnMethod(Reflect.java:149)
at bsh.Reflect.invokeObjectMethod(Reflect.java:81)
at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:169)
at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:120)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:349)
at bsh.BshMethod.invoke(BshMethod.java:246)
at bsh.BshMethod.invoke(BshMethod.java:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:195)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:297)
at org.gjt.sp.jedit.View.processKeyEvent(View.java:669)
at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4957)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
As I can see this exception didn't come from my plugin, there is no class of mine in the stack trace (my parser package is it.eilart.php.parser.Parser and the plugin class is it.eilart.jedit.completion.php.PhpCompletionPlugin)
Maybe there is a conflict in some .prop or in the action.xml
So you were using another plugin, that's why you were so happy of it....