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 262578

Summary: NullPointerException at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved
Product: editor Reporter: a.riggio
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vidhyadharantechdays, ytn01
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224764
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description a.riggio 2016-06-26 06:45:44 UTC
Build: NetBeans IDE Dev (Build 201606190002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 10

User Comments:
a.riggio: none

GUEST: Scroll using mouse wheel




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:866)
   at org.netbeans.modules.editor.lib2.view.DocumentViewOp.mouseWheelMoved(DocumentViewOp.java:1531)
   at org.netbeans.modules.editor.lib2.view.DocumentViewOp$MouseWheelDelegator.mouseWheelMoved(DocumentViewOp.java:1657)
   at java.awt.AWTEventMulticaster.mouseWheelMoved(AWTEventMulticaster.java:532)
   at java.awt.Component.processMouseWheelEvent(Component.java:6621)
   at java.awt.Component.processEvent(Component.java:6305)
Comment 1 a.riggio 2016-06-26 06:45:46 UTC
Created attachment 160167 [details]
stacktrace
Comment 2 vidhyadharantechdays 2016-07-25 07:01:06 UTC
Created attachment 161409 [details]
stacktrace

I got this exception when i , locked and remote desktoped my machince

eventhough i cancel this error showing
Comment 3 ytn01 2016-07-27 16:43:14 UTC
Created attachment 161469 [details]
stacktrace

I was navigating between source files using the back/forward buttons of the editors toolbar.
Comment 4 ytn01 2016-07-27 16:46:14 UTC
Created attachment 161470 [details]
stacktrace

Clicked(using mouse wheel click) on a java method call to move to its definition.
Comment 5 ytn01 2016-07-27 16:49:14 UTC
Created attachment 161471 [details]
stacktrace

Scrolling mouse wheel keeps generating null pointer exceptions.
Comment 6 markiewb 2016-07-27 21:53:57 UTC

*** This bug has been marked as a duplicate of bug 257185 ***