Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 189214

Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateNewLineOffset
Product: editor Reporter: Tomas Mysik <tmysik>
Component: Painting & PrintingAssignee: issues <>
Status: RESOLVED DUPLICATE QA Contact: issues <>
Priority: P3 CC: jlahoda, ppis, tstupka
Version: 6.x   
Target Milestone: 7.0   
Hardware: All   
OS: All   
Whiteboard: linewrap
Issue Type: DEFECT Exception Report: 171521
Attachments: stacktrace

Description Tomas Mysik 2010-08-04 15:56:16 UTC
Build: NetBeans IDE Dev (Build 100801-3547a4cb9429)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
tmysik: Invoked View Difference action in test runner UI for PHP unit tests

   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateNewLineOffset(
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.initChildren(
   at org.netbeans.modules.editor.lib2.view.DocumentView.initChildren(
Comment 1 Tomas Mysik 2010-08-04 15:56:21 UTC
Created attachment 101202 [details]
Comment 2 Tomas Stupka 2010-08-11 12:05:12 UTC
Created attachment 101314 [details]

scrolled around in a javafile
Comment 3 Exceptions Reporter 2010-08-11 19:17:13 UTC
This bug already has 5 duplicates 
Comment 4 Peter Pis 2010-08-12 13:08:17 UTC
Created attachment 101339 [details]

Acception former difference version of the file via editable diff.
Comment 5 Peter Pis 2010-08-12 13:20:17 UTC
Created attachment 101341 [details]
Comment 6 Miloslav Metelka 2010-08-13 08:15:42 UTC
It's some sort of race condition, I have added some additional checks to better diagnose the problem:
Comment 7 Jan Lahoda 2010-08-16 16:32:32 UTC
Created attachment 101424 [details]
Comment 8 Quality Engineering 2010-08-17 03:14:18 UTC
Integrated into 'main-golden', will be available in build *201008170001* on (upload may still be in progress)
User: Miloslav Metelka <>
Log: #189214 - NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateNewLineOffset - added some extra checks to diagnose problem.
Comment 9 Miloslav Metelka 2010-08-26 12:31:40 UTC
This problem will no longer occur since in fact it morphed into issue #189608 so closing this one as dup.

*** This bug has been marked as a duplicate of bug 189608 ***
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo