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 235944 - NullPointerException at org.netbeans.editor.Utilities.checkOffsetValid
Summary: NullPointerException at org.netbeans.editor.Utilities.checkOffsetValid
Status: RESOLVED DUPLICATE of bug 233205
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-13 15:30 UTC by Exceptions Reporter
Modified: 2013-11-01 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203848


Attachments
stacktrace (1.61 KB, text/plain)
2013-09-13 15:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-09-13 15:30:12 UTC
This bug was originally marked as duplicate of bug 232068, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: NullPointerException at org.netbeans.editor.Utilities.checkOffsetValid

GUEST: Selecting text

GUEST: System.out.println(null) probably causes this error, but I'm not sure




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1342)
   at org.netbeans.editor.Utilities.getRowStart(Utilities.java:200)
   at org.netbeans.modules.editor.bracesmatching.BraceMatchingSidebarComponent.showTooltip(BraceMatchingSidebarComponent.java:690)
   at org.netbeans.modules.editor.bracesmatching.BraceMatchingSidebarComponent.access$500(BraceMatchingSidebarComponent.java:111)
   at org.netbeans.modules.editor.bracesmatching.BraceMatchingSidebarComponent$5.run(BraceMatchingSidebarComponent.java:444)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
Comment 1 Exceptions Reporter 2013-09-13 15:30:14 UTC
Created attachment 140058 [details]
stacktrace
Comment 2 Svata Dedic 2013-11-01 13:44:15 UTC
Should be fixed even in 7.4 final.

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