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 212344 - NullPointerException at org.netbeans.modules.profiler.ppoints.Utils.getEditorLine
Summary: NullPointerException at org.netbeans.modules.profiler.ppoints.Utils.getEditor...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 23:33 UTC by nleck
Modified: 2012-06-05 06:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187856


Attachments
stacktrace (474 bytes, text/plain)
2012-05-10 23:33 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nleck 2012-05-10 23:33:36 UTC
Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Linux

User Comments:
nleck: starting IDE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.ppoints.Utils.getEditorLine(Utils.java:616)
   at org.netbeans.modules.profiler.ppoints.Utils.getEditorLine(Utils.java:611)
   at org.netbeans.modules.profiler.nbimpl.providers.ProfilingPointAnnotatorImpl$1.run(ProfilingPointAnnotatorImpl.java:88)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 nleck 2012-05-10 23:33:44 UTC
Created attachment 119323 [details]
stacktrace
Comment 2 Jiri Sedlacek 2012-05-22 09:11:20 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/fd23d996cec7.
Comment 3 Quality Engineering 2012-06-05 06:03:09 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fd23d996cec7
User: Jiri Sedlacek <jis@netbeans.org>
Log: Defensive bugfix for #212344 - handle all possible nulls