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 189214 - NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateNewLineOffset
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewF...
Status: RESOLVED DUPLICATE of bug 189608
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@editor
Depends on:
Reported: 2010-08-04 15:56 UTC by Tomas Mysik
Modified: 2010-08-26 12:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171521

stacktrace (5.59 KB, text/plain)
2010-08-04 15:56 UTC, Tomas Mysik
stacktrace (4.61 KB, text/plain)
2010-08-11 12:05 UTC, Tomas Stupka
stacktrace (3.13 KB, text/plain)
2010-08-12 13:08 UTC, Peter Pis
stacktrace (4.49 KB, text/plain)
2010-08-12 13:20 UTC, Peter Pis
stacktrace (2.77 KB, text/plain)
2010-08-16 16:32 UTC, Jan Lahoda

Note You need to log in before you can comment on or make changes to this bug.
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 ***