|
From: SourceForge.net <no...@so...> - 2006-11-21 08:57:03
|
Bugs item #1445810, was opened at 2006-03-08 18:39 Message generated for change (Comment added) made by kpouer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1445810&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: editor core Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Bean error scrolling in document Initial Comment: I had two files open (java & xml), split pane. Went to scroll to the top of the xml file (right pane) and it just vanished (the text, not the pane). At the very top line it showed the line number 136, but no text anywhere & the scroll bar on the right vanished. I closed jEdit & reopend & my files were there - until I tried to scroll in the xml file (which was behaving just fine earlier). Got the following error: (I wasn't using anything bean) Beanshell error java.lang.NullPointerException at org.gjt.sp.jedit.textarea.JEditTextArea.scrollTo(JEditTextArea.java:853) at org.gjt.sp.jedit.textarea.JEditTextArea.scrollToCaret(JEditTextArea.java:710) at org.gjt.sp.jedit.textarea.JEditTextArea._finishCaretUpdate(JEditTextArea.java:5421) at org.gjt.sp.jedit.textarea.JEditTextArea.finishCaretUpdate(JEditTextArea.java:5735) at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(JEditTextArea.java:2311) at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(JEditTextArea.java:2244) at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(JEditTextArea.java:2233) at org.gjt.sp.jedit.textarea.JEditTextArea.goToPrevLine(JEditTextArea.java:2890) 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.Name.invokeMethod(Name.java:856) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) 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) -- cou...@ya... (don't want this released or published in any way, please) ---------------------------------------------------------------------- >Comment By: Matthieu Casanova (kpouer) Date: 2006-11-21 09:57 Message: Logged In: YES user_id=285591 Originator: NO duplicate of 1183831 ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-03-08 23:27 Message: Logged In: NO After much digging, it appears it is linked to folding. I wasn't using folding in the xml file, but I had changed jEdit from folding by indent to folding by comment during the time this went from fine to wonky. Closed all files, turned off all folding, opened that file & it's suddenly happy. (Yes, I'd closed & opened the file numerous times - even in other programs & rebooted & all those things.) Beware of folding. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-03-08 19:51 Message: Logged In: NO I've got the same problem beaan error burt hppens when I try to use compiler. Need the compiler how do I correct this problem> Settings for JES2 is PATH C:|Sun|APPServ\bin Is there ssomething else I need to do? William B Robb,Jr wb...@ya... 803-665-4300 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1445810&group_id=588 |