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 194391 - [70cat] NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.findAffectedLayoutIndex
Summary: [70cat] NullPointerException at org.netbeans.modules.editor.lib2.view.Highlig...
Status: RESOLVED DUPLICATE of bug 198719
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 20:36 UTC by areeda
Modified: 2011-05-19 12:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175845


Attachments
stacktrace (1.56 KB, text/plain)
2011-01-15 20:36 UTC, areeda
Details
stacktrace (1.56 KB, text/plain)
2011-01-20 11:18 UTC, vince_soleil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description areeda 2011-01-15 20:36:05 UTC
Build: NetBeans IDE Dev (Build 201101140000)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
nikpet: After opening the IDE and closing the three opened from the previest sesion(and version), this exception occured.

areeda: Attempt to enter new watch in Java debugger




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.findAffectedLayoutIndex(HighlightsViewUtils.java:103)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.setVisualIndexAndOffset(EditorBoxViewChildren.java:216)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.replace(EditorBoxViewChildren.java:133)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.replace(EditorBoxView.java:289)
   at org.netbeans.modules.editor.lib2.view.ViewReplace.replaceViews(ViewReplace.java:132)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.replaceAndRepaintViews(ViewBuilder.java:535)
Comment 1 areeda 2011-01-15 20:36:09 UTC
Created attachment 105036 [details]
stacktrace
Comment 2 vince_soleil 2011-01-20 11:18:25 UTC
Created attachment 105196 [details]
stacktrace

I'm trying to debug a java project (Maven type)
Comment 3 Exceptions Reporter 2011-01-20 11:18:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=175845
Comment 4 Miloslav Metelka 2011-05-19 12:35:53 UTC
I guess the issue should no longer appear after fixing issue 198719. If the problem would persist please reopen the issue.

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