This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 143247

Summary: NullPointerException at org.netbeans.modules.db.sql.loader.SQLExecutionLoggerImpl$Hyperlink.goToLine
Product: db Reporter: David Vancouvering <davidvc>
Component: SQL EditorAssignee: Andrei Badea <abadea>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: romanmostyka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=87947
Issue Type: DEFECT Exception Reporter: 87947
Attachments: stacktrace

Description David Vancouvering 2008-08-07 23:26:53 UTC
Build: NetBeans IDE Dev (Build 080807)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386

User Comments: 
I put my cursor in the output window, and then tried moving the cursor up using the up-arrow key.  When I reached the top of the window with the intent of scrolling up, I got this error.

This was done in the context of calling SQLExecutor.execute()

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.sql.loader.SQLExecutionLoggerImpl$Hyperlink.goToLine(SQLExecutionLoggerImpl.java:206)
        at org.netbeans.modules.db.sql.loader.SQLExecutionLoggerImpl$Hyperlink.outputLineSelected(SQLExecutionLoggerImpl.java:195)
        at org.netbeans.core.output2.Controller.caretEnteredLine(Controller.java:1018)
        at org.netbeans.core.output2.OutputWindow.caretEnteredLine(OutputWindow.java:285)
        at org.netbeans.core.output2.OutputTab.caretEnteredLine(OutputTab.java:180)
        at org.netbeans.core.output2.OutputPane.caretEnteredLine(OutputPane.java:67)
Comment 1 David Vancouvering 2008-08-07 23:27:03 UTC
Created attachment 66872 [details]
stacktrace
Comment 2 Roman Mostyka 2008-08-08 09:44:13 UTC
*** Issue 143246 has been marked as a duplicate of this issue. ***
Comment 3 Roman Mostyka 2008-08-08 09:44:33 UTC
*** Issue 143246 has been marked as a duplicate of this issue. ***
Comment 4 Andrei Badea 2008-08-08 09:44:49 UTC

*** This issue has been marked as a duplicate of 143246 ***
Comment 5 Roman Mostyka 2008-08-08 09:46:50 UTC
Both issues were closed as duplicates of each other. :) Funny.
Comment 6 Roman Mostyka 2008-08-08 09:49:34 UTC

*** This issue has been marked as a duplicate of 143246 ***