|
From: Harpreet S. <har...@fa...> - 2003-07-23 16:51:27
|
I don't if this has been filed before, if it has please ignore. I run in to this problem when doing a incremental search in some files. When it reaches the last instance it throws a null pointer exception. I'm using win2k and jedit4.2pre3. i'll try to find a file where i can reproduce it regularly. [error] JEditTextArea: BUG: screenLine=-1,visibleLines=54,firstPhysicalLine=0,lastPhysicalLine=53 [error] SearchAndReplace: java.lang.NullPointerException [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.scrollTo(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.scrollToCaret(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea$1.run(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.finishCaretUpdate(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.search.SearchAndReplace.find(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.search.SearchAndReplace.find(Unknown Source) [error] SearchAndReplace: at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) [error] SearchAndReplace: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [error] SearchAndReplace: at java.lang.reflect.Method.invoke(Method.java:324) [error] SearchAndReplace: at bsh.Reflect.invokeOnMethod(Unknown Source) [error] SearchAndReplace: at bsh.Reflect.invokeStaticMethod(Unknown Source) [error] SearchAndReplace: at bsh.Name.invokeMethod(Unknown Source) [error] SearchAndReplace: at bsh.BSHMethodInvocation.eval(Unknown Source) [error] SearchAndReplace: at bsh.BSHPrimaryExpression.eval(Unknown Source) [error] SearchAndReplace: at bsh.BSHBlock.eval(Unknown Source) [error] SearchAndReplace: at bsh.BshMethod.invoke(Unknown Source) [error] SearchAndReplace: at bsh.BshMethod.invoke(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.DefaultInputHandler.keyPressed(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.View.processKeyEvent(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.View.processKeyEvent(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Unknown Source) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:642 ) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java: 831) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java: 741) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592) [error] SearchAndReplace: at java.awt.Component.dispatchEventImpl(Component.java:3506) [error] SearchAndReplace: at java.awt.Container.dispatchEventImpl(Container.java:1627) [error] SearchAndReplace: at java.awt.Window.dispatchEventImpl(Window.java:1606) [error] SearchAndReplace: at java.awt.Component.dispatchEvent(Component.java:3477) [error] SearchAndReplace: at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) [error] SearchAndReplace: at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) -- Harpreet Singh har...@fa... |
|
From: Slava P. <sl...@je...> - 2003-08-08 03:16:30
|
Harpreet Singh, I think I fixed this bug in the latest 4.2pre5 snapshot (www.jedit.org/jedit.jar). Can you verify? It took me a while to reproduce it since it only happends with electric scrolling switched off. -- Slava Pestov |
|
From: Harpreet S. <har...@fa...> - 2003-08-08 13:23:48
|
Slava Pestov wrote: > Harpreet Singh, > > I think I fixed this bug in the latest 4.2pre5 snapshot > (www.jedit.org/jedit.jar). Can you verify? > > It took me a while to reproduce it since it only happends with electric > scrolling switched off. Thats seems to do it thank you very much, I use jedit all day and it was becoming annoying. Were the two bugs related, the null pointer exception in incremental search and scrolling? I tried to reproduce the incremental search bug but i can't!! Thanks again, you guys are great. -- Harpreet Singh har...@fa... |
|
From: Slava P. <sl...@je...> - 2003-08-08 16:13:55
|
Yes, in fact the bug would happen any time the text area had to scroll the caret into the visible region when the caret was on the line right after the last visible line. On Fri, Aug 08, 2003 at 09:23:46AM -0400, Harpreet Singh wrote: > Thats seems to do it thank you very much, I use jedit all day and it was > becoming annoying. > > Were the two bugs related, the null pointer exception in incremental search > and scrolling? I tried to reproduce the incremental search bug but i can't!! > > Thanks again, you guys are great. > > -- > Harpreet Singh > har...@fa... > -- Slava Pestov |
|
From: Slava P. <sl...@je...> - 2003-08-03 21:57:13
|
Did you ever find a file where you can reproduce it regularly? On Wed, Jul 23, 2003 at 12:51:22PM -0400, Harpreet Singh wrote: > I don't if this has been filed before, if it has please ignore. > > I run in to this problem when doing a incremental search in some files. > When it reaches the last instance it throws a null pointer exception. I'm > using win2k and jedit4.2pre3. i'll try to find a file where i can reproduce > it regularly. > > [error] JEditTextArea: BUG: > screenLine=-1,visibleLines=54,firstPhysicalLine=0,lastPhysicalLine=53 > [error] SearchAndReplace: java.lang.NullPointerException > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea.scrollTo(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea.scrollToCaret(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea$1.run(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea.finishCaretUpdate(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.search.SearchAndReplace.find(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.search.SearchAndReplace.find(Unknown Source) > [error] SearchAndReplace: at > sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > [error] SearchAndReplace: at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [error] SearchAndReplace: at > java.lang.reflect.Method.invoke(Method.java:324) > [error] SearchAndReplace: at bsh.Reflect.invokeOnMethod(Unknown Source) > [error] SearchAndReplace: at bsh.Reflect.invokeStaticMethod(Unknown Source) > [error] SearchAndReplace: at bsh.Name.invokeMethod(Unknown Source) > [error] SearchAndReplace: at bsh.BSHMethodInvocation.eval(Unknown Source) > [error] SearchAndReplace: at bsh.BSHPrimaryExpression.eval(Unknown Source) > [error] SearchAndReplace: at bsh.BSHBlock.eval(Unknown Source) > [error] SearchAndReplace: at bsh.BshMethod.invoke(Unknown Source) > [error] SearchAndReplace: at bsh.BshMethod.invoke(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(Unknown Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.gui.DefaultInputHandler.keyPressed(Unknown Source) > [error] SearchAndReplace: at org.gjt.sp.jedit.View.processKeyEvent(Unknown > Source) > [error] SearchAndReplace: at org.gjt.sp.jedit.View.processKeyEvent(Unknown > Source) > [error] SearchAndReplace: at > org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Unknown Source) > [error] SearchAndReplace: at > java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:642 > ) > [error] SearchAndReplace: at > java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java: > 831) > [error] SearchAndReplace: at > java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java: > 741) > [error] SearchAndReplace: at > java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592) > [error] SearchAndReplace: at > java.awt.Component.dispatchEventImpl(Component.java:3506) > [error] SearchAndReplace: at > java.awt.Container.dispatchEventImpl(Container.java:1627) > [error] SearchAndReplace: at > java.awt.Window.dispatchEventImpl(Window.java:1606) > [error] SearchAndReplace: at > java.awt.Component.dispatchEvent(Component.java:3477) > [error] SearchAndReplace: at > java.awt.EventQueue.dispatchEvent(EventQueue.java:456) > [error] SearchAndReplace: at > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) > [error] SearchAndReplace: at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) > [error] SearchAndReplace: at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) > [error] SearchAndReplace: at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) > [error] SearchAndReplace: at > java.awt.EventDispatchThread.run(EventDispatchThread.java:100) > > -- > Harpreet Singh > har...@fa... > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users -- Slava Pestov |
|
From: Harpreet S. <har...@fa...> - 2003-08-04 15:52:59
Attachments:
consult.P
|
Slava Pestov wrote: > Did you ever find a file where you can reproduce it regularly? > > On Wed, Jul 23, 2003 at 12:51:22PM -0400, Harpreet Singh wrote: > >>I don't if this has been filed before, if it has please ignore. >> >>I run in to this problem when doing a incremental search in some files. >>When it reaches the last instance it throws a null pointer exception. I'm >>using win2k and jedit4.2pre3. i'll try to find a file where i can reproduce >>it regularly. >>... >> >>-- >>Harpreet Singh >>har...@fa... >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >>-- >>----------------------------------------------- >>jEdit Users' List >>jEd...@li... >>https://lists.sourceforge.net/lists/listinfo/jedit-users > > ok i found a file in which i can reproduce both the bugs i'm having problems with. BUG 1 : First stack trace This happens when i use next paragraph to scroll through the file. BUG 2 : Second stack trace This happens when i use incremental search. To reproduce C+COMMA to bring up search bar Search for "file" in the attached example Keep trying to find the next place where file occurs using C+G I'm using jedit4.2pre4 with jdk1.4.2 on win2k ------------------------------------------------------------------------------ BUG 1 : [error] JEditTextArea: BUG: screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181 [error] BeanShellAction: java.lang.NullPointerException [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.scrollTo(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.scrollToCaret(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea$1.run(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.finishCaretUpdate(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.goToNextParagraph(Unknown Source) [error] BeanShellAction: at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [error] BeanShellAction: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [error] BeanShellAction: at java.lang.reflect.Method.invoke(Method.java:324) [error] BeanShellAction: at bsh.Reflect.invokeOnMethod(Unknown Source) [error] BeanShellAction: at bsh.Reflect.invokeObjectMethod(Unknown Source) [error] BeanShellAction: at bsh.Name.invokeMethod(Unknown Source) [error] BeanShellAction: at bsh.BSHMethodInvocation.eval(Unknown Source) [error] BeanShellAction: at bsh.BSHPrimaryExpression.eval(Unknown Source) [error] BeanShellAction: at bsh.BSHPrimaryExpression.eval(Unknown Source) [error] BeanShellAction: at bsh.BSHBlock.evalBlock(Unknown Source) [error] BeanShellAction: at bsh.BSHBlock.eval(Unknown Source) [error] BeanShellAction: at bsh.BshMethod.invokeImpl(Unknown Source) [error] BeanShellAction: at bsh.BshMethod.invoke(Unknown Source) [error] BeanShellAction: at bsh.BshMethod.invoke(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.gui.DefaultInputHandler.keyPressed(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.View.processKeyEvent(Unknown Source) [error] BeanShellAction: at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(Unknown Source) [error] BeanShellAction: at java.awt.Component.processEvent(Component.java:4909) [error] BeanShellAction: at java.awt.Container.processEvent(Container.java:1569) [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:3615) [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:1627) [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:3477) [error] BeanShellAction: at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713) [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627) [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:8 31) [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:7 41) [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592) [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:3506) [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:1627) [error] BeanShellAction: at java.awt.Window.dispatchEventImpl(Window.java:1606) [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:3477) [error] BeanShellAction: at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) [error] BeanShellAction: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) [error] BeanShellAction: at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) [error] JEditTextArea: BUG: screenLine=-1,visibleLines=42,physicalLine=236,firstPhysicalLine=193,lastPhysicalLine=234 -------------------------------------------------------------------------- BUG 2: [error] SearchAndReplace: java.lang.NullPointerException [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.scrollTo(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.scrollToCaret(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea$1.run(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.finishCaretUpdate(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.JEditTextArea.moveCaretPosition(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.search.SearchAndReplace.find(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.search.SearchAndReplace.find(Unknown Source) [error] SearchAndReplace: at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [error] SearchAndReplace: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [error] SearchAndReplace: at java.lang.reflect.Method.invoke(Method.java:324) [error] SearchAndReplace: at bsh.Reflect.invokeOnMethod(Unknown Source) [error] SearchAndReplace: at bsh.Reflect.invokeStaticMethod(Unknown Source) [error] SearchAndReplace: at bsh.Name.invokeMethod(Unknown Source) [error] SearchAndReplace: at bsh.BSHMethodInvocation.eval(Unknown Source) [error] SearchAndReplace: at bsh.BSHPrimaryExpression.eval(Unknown Source) [error] SearchAndReplace: at bsh.BSHPrimaryExpression.eval(Unknown Source) [error] SearchAndReplace: at bsh.BSHBlock.evalBlock(Unknown Source) [error] SearchAndReplace: at bsh.BSHBlock.eval(Unknown Source) [error] SearchAndReplace: at bsh.BshMethod.invokeImpl(Unknown Source) [error] SearchAndReplace: at bsh.BshMethod.invoke(Unknown Source) [error] SearchAndReplace: at bsh.BshMethod.invoke(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.gui.DefaultInputHandler.keyPressed(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.View.processKeyEvent(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.View.processKeyEvent(Unknown Source) [error] SearchAndReplace: at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Unknown Source) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:642 ) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java: 831) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java: 741) [error] SearchAndReplace: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592) [error] SearchAndReplace: at java.awt.Component.dispatchEventImpl(Component.java:3506) [error] SearchAndReplace: at java.awt.Container.dispatchEventImpl(Container.java:1627) [error] SearchAndReplace: at java.awt.Window.dispatchEventImpl(Window.java:1606) [error] SearchAndReplace: at java.awt.Component.dispatchEvent(Component.java:3477) [error] SearchAndReplace: at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) [error] SearchAndReplace: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) [error] SearchAndReplace: at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) -- Harpreet Singh har...@fa... |
|
From: Slava P. <sl...@je...> - 2003-08-05 21:02:53
|
Hi, Are you using folding with this file? I think I know what the problem is, look at the BUG line: On Mon, Aug 04, 2003 at 11:52:57AM -0400, Harpreet Singh wrote: > [error] JEditTextArea: BUG: > screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181 The text area thinks that line 183 should be visible, but its not, in fact line 181 is the last visible line. So somewhere its not scrolling enough. -- Slava Pestov |
|
From: Harpreet S. <har...@fa...> - 2003-08-05 23:30:42
|
Slava Pestov wrote: > Hi, > > Are you using folding with this file? I think I know what the problem > is, look at the BUG line: > > On Mon, Aug 04, 2003 at 11:52:57AM -0400, Harpreet Singh wrote: > >>[error] JEditTextArea: BUG: >>screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181 > > > The text area thinks that line 183 should be visible, but its not, in > fact line 181 is the last visible line. So somewhere its not scrolling > enough. Yes, I am using indent folding mode for this file. -- Harpreet Singh har...@fa... |
|
From: Slava P. <sl...@je...> - 2003-08-05 23:46:58
|
Hi, Can you possibly come up with a minimal test case for this, and tell me how many visible lines there are (textArea.getVisibleLines() in beanshell), and what folds are collapsed? On Tue, Aug 05, 2003 at 07:30:37PM -0400, Harpreet Singh wrote: > Slava Pestov wrote: > >Hi, > > > >Are you using folding with this file? I think I know what the problem > >is, look at the BUG line: > > > >On Mon, Aug 04, 2003 at 11:52:57AM -0400, Harpreet Singh wrote: > > > >>[error] JEditTextArea: BUG: > >>screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181 > > > > > >The text area thinks that line 183 should be visible, but its not, in > >fact line 181 is the last visible line. So somewhere its not scrolling > >enough. > Yes, I am using indent folding mode for this file. > > -- > Harpreet Singh > har...@fa... > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users -- Slava Pestov |
|
From: Harpreet S. <har...@fa...> - 2003-08-06 13:38:12
Attachments:
npe.txt
|
Slava Pestov wrote: > Hi, > > Can you possibly come up with a minimal test case for this, and tell me > how many visible lines there are (textArea.getVisibleLines() in > beanshell), and what folds are collapsed? > > On Tue, Aug 05, 2003 at 07:30:37PM -0400, Harpreet Singh wrote: > >>Slava Pestov wrote: >> >>>Hi, >>> >>>Are you using folding with this file? I think I know what the problem >>>is, look at the BUG line: >>> >>>On Mon, Aug 04, 2003 at 11:52:57AM -0400, Harpreet Singh wrote: >>> >>> >>>>[error] JEditTextArea: BUG: >>>>screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181 >>> >>> >>>The text area thinks that line 183 should be visible, but its not, in >>>fact line 181 is the last visible line. So somewhere its not scrolling >>>enough. >> >>Yes, I am using indent folding mode for this file. >> >>-- >>Harpreet Singh >>har...@fa... >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >>-- >>----------------------------------------------- >>jEdit Users' List >>jEd...@li... >>https://lists.sourceforge.net/lists/listinfo/jedit-users > > I tried scrolling with folding disabled and the npe still occurs. Seems to be that if the number of lines in the file is greater than the number of visible lines the error occurs. -- Harpreet Singh har...@fa... |
|
From: Slava P. <sl...@je...> - 2003-08-08 01:47:30
|
Hi,
Can you evaluate this in Utilities->BeanShell->Evaluate BeanShell
Expression, reproduce the exception, then send me the entire activity
log:
Debug.class.getField("SCROLL_DEBUG").setBoolean(null,true)
(the above would be Debug.SCROLL_DEBUG=true but the current BeanShell
has a bug in it that makes this not work).
On Wed, Aug 06, 2003 at 09:38:09AM -0400, Harpreet Singh wrote:
> Slava Pestov wrote:
>
> >Hi,
> >
> >Can you possibly come up with a minimal test case for this, and tell me
> >how many visible lines there are (textArea.getVisibleLines() in
> >beanshell), and what folds are collapsed?
> >
> >On Tue, Aug 05, 2003 at 07:30:37PM -0400, Harpreet Singh wrote:
> >
> >>Slava Pestov wrote:
> >>
> >>>Hi,
> >>>
> >>>Are you using folding with this file? I think I know what the problem
> >>>is, look at the BUG line:
> >>>
> >>>On Mon, Aug 04, 2003 at 11:52:57AM -0400, Harpreet Singh wrote:
> >>>
> >>>
> >>>>[error] JEditTextArea: BUG:
> >>>>screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181
> >>>
> >>>
> >>>The text area thinks that line 183 should be visible, but its not, in
> >>>fact line 181 is the last visible line. So somewhere its not scrolling
> >>>enough.
> >>
> >>Yes, I am using indent folding mode for this file.
> >>
> >>--
> >>Harpreet Singh
> >>har...@fa...
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> >>Data Reports, E-commerce, Portals, and Forums are available now.
> >>Download today and enter to win an XBOX or Visual Studio .NET.
> >>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> >>--
> >>-----------------------------------------------
> >>jEdit Users' List
> >>jEd...@li...
> >>https://lists.sourceforge.net/lists/listinfo/jedit-users
> >
> >
> I tried scrolling with folding disabled and the npe still occurs.
> Seems to be that if the number of lines in the file is greater than the
> number of visible lines the error occurs.
>
> --
> Harpreet Singh
> har...@fa...
> a
> a
>
> a
> a
> a
> a
>
> a
> a
> a
> a
> a
> a
>
> a
> a
> a
> a
>
> a
> a
> a
>
> a
> a
> a
> a
>
> a
> a
> a
> a
> a
> a
> a
>
> a
> a
> a
> a
> a
> a
> a
> a
> a
> a
> aa
> a
>
> a
> a
> a
> a
> a
> a
>
>
> aa
>
> a
> a
> a
> a
> a
> a
>
> aaa
> a
> a
> a
> a
> a
> a
> a
> a
> a
>
> a
> a
> a
>
> a
> a
> a
>
> a
> a
> a
>
> a
> a
> a
> a
>
> a
> a
> a
>
> a
--
Slava Pestov
|