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 206660 - [73cat] NullPointerException: The treePath parameter cannot be null
Summary: [73cat] NullPointerException: The treePath parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 10:22 UTC by michbarsinai
Modified: 2013-08-03 17:09 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183981


Attachments
stacktrace (1.31 KB, text/plain)
2011-12-23 10:22 UTC, michbarsinai
Details
stacktrace (1.31 KB, text/plain)
2012-05-24 07:52 UTC, Martin Janicek
Details
stacktrace (1.31 KB, text/plain)
2012-06-19 08:25 UTC, Martin Janicek
Details
stacktrace (1.30 KB, text/plain)
2012-09-26 20:17 UTC, misterm
Details
stacktrace (1.25 KB, text/plain)
2013-07-11 14:54 UTC, lforet
Details
stacktrace (1.25 KB, text/plain)
2013-07-24 14:09 UTC, theshadow27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michbarsinai 2011-12-23 10:22:37 UTC
This bug was originally marked as duplicate of bug 180164, 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.1 RC2 (Build 201111302200)
VM: Java HotSpot(TM) Client VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-10M3527
OS: Mac OS X

User Comments:
michbarsinai: Working on implementation methods of enums that have abstract methods.

GUEST: copying some code




Stacktrace: 
java.lang.NullPointerException: The treePath parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.api.java.source.TreePathHandle.create(TreePathHandle.java:215)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeIntroduceMethod(IntroduceHint.java:664)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:540)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:359)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:157)
Comment 1 michbarsinai 2011-12-23 10:22:39 UTC
Created attachment 114423 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-03-26 10:20:03 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=183981
Comment 3 Martin Janicek 2012-05-24 07:52:51 UTC
Created attachment 119796 [details]
stacktrace

Commenting Java code using CTRL + /
Comment 4 Martin Janicek 2012-06-19 08:25:40 UTC
Created attachment 121026 [details]
stacktrace
Comment 5 Exceptions Reporter 2012-06-27 10:38:06 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=183981
Comment 6 misterm 2012-09-26 20:17:10 UTC
Created attachment 124971 [details]
stacktrace
Comment 7 lforet 2013-07-11 14:54:37 UTC
Created attachment 137007 [details]
stacktrace

I was copy/pasting some codes but I don't think that there is any relationship with the troubleshooting.
Comment 8 Exceptions Reporter 2013-07-11 14:56:03 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=183981
Comment 9 theshadow27 2013-07-24 14:09:47 UTC
Created attachment 137701 [details]
stacktrace

Hilighted some code
Comment 10 Quality Engineering 2013-08-03 02:07:44 UTC
Integrated into 'main-silver', will be available in build *201308022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3d8906295d28
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #206660: shadow Enter.typeEnvs for all non-source Tree attributions.