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 196451 - NullPointerException at java.util.Arrays$ArrayList.<init>
Summary: NullPointerException at java.util.Arrays$ArrayList.<init>
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 19:51 UTC by rudyment
Modified: 2011-03-14 14:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172891


Attachments
stacktrace (2.33 KB, text/plain)
2011-03-08 19:51 UTC, rudyment
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2011-03-08 19:51:16 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
rudyment: Exception occurred after step inside a method from an unopened file.
The IDE again notice, that it cannot open this fil safe in coding UTF-8,
despite the IDE saved that file several minutes ago.

GUEST: Opened a big file (1MB) while debugging




Stacktrace: 
java.lang.NullPointerException
   at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
   at java.util.Arrays.asList(Arrays.java:3343)
   at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:119)
   at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:89)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression$AssociatedExpression.evaluate(EvaluatorExpression.java:90)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression.evaluate(EvaluatorExpression.java:73)
Comment 1 rudyment 2011-03-08 19:51:20 UTC
Created attachment 106832 [details]
stacktrace
Comment 2 Martin Entlicher 2011-03-10 16:28:14 UTC
Fixed by changeset:   190792:3915ebcf01dc
http://hg.netbeans.org/main/rev/3915ebcf01dc
Comment 3 Quality Engineering 2011-03-11 09:37:59 UTC
Integrated into 'main-golden', will be available in build *201103110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3915ebcf01dc
User: mentlicher@netbeans.org
Log: #196451 Do not return null, prevent from NPE.