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 255895

Summary: NullPointerException at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView$RefreshDiffTask$1.run
Product: utilities Reporter: stefan79 <stefan79>
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220514
Attachments: stacktrace

Description stefan79 2015-10-13 10:04:44 UTC
Build: NetBeans IDE 8.1 RC2 (Build 201510082301)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 8.1

User Comments:
stefan79: NullPointer at Tools-Diff.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView$RefreshDiffTask$1.run(EditableDiffView.java:1543)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
Comment 1 stefan79 2015-10-13 10:04:46 UTC
Created attachment 156683 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-10-13 11:15:19 UTC
This does not make sense, it appears impossible for the line to throw an NPE. Is it reproducible? What files are you diffing? Is one of them a binary file?
There is also a 3rd-party plugin that seems to have problems with NetBeans 8.1: .netbeans/8.1/modules/org-netbeans-modules-regexplugin.jar. Try to get rid of it, start NB with fresh userdir, do not import anything and let me know if you're still getting the error.
Comment 3 Ondrej Vrabec 2015-11-13 19:11:36 UTC
have you seen this again?