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 180164 - [68cat][69cat] NullPointerException: The treePath parameter cannot be null
Summary: [68cat][69cat] NullPointerException: The treePath parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 178868 181131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-02 11:39 UTC by misterm
Modified: 2010-04-27 04:27 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 164829


Attachments
stacktrace (1.11 KB, text/plain)
2010-02-02 11:39 UTC, misterm
Details
stacktrace (1.11 KB, text/plain)
2010-03-02 01:10 UTC, Exceptions Reporter
Details
stacktrace (1.11 KB, text/plain)
2010-03-03 05:41 UTC, Exceptions Reporter
Details
stacktrace (1.11 KB, text/plain)
2010-04-21 10:59 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2010-02-02 11:39:29 UTC
Build: NetBeans IDE Dev (Build 100129-e1162173f2dd)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException: The treePath parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:86)
   at org.netbeans.api.java.source.TreePathHandle.create(TreePathHandle.java:212)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:423)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:319)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:143)
   at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298)
Comment 1 misterm 2010-02-02 11:39:34 UTC
Created attachment 93771 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-03-02 01:10:18 UTC
Created attachment 94661 [details]
stacktrace
Comment 3 Exceptions Reporter 2010-03-03 05:41:33 UTC
Created attachment 94708 [details]
stacktrace
Comment 4 rgarske 2010-03-05 05:02:29 UTC
This exception was fired while I was editing, right after the autofilling of a methods parameter.
Comment 5 Exceptions Reporter 2010-03-19 14:30:20 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=164829
Comment 6 err 2010-03-28 15:56:10 UTC
BTW, this seems  to be repeatable. Note to self for verification
    cev.getNArg()
vismode to javasel around line 295 of Cc01.java
Comment 7 javydreamercsw 2010-04-07 14:29:06 UTC
Got the same thing on build 201004070201:

java.lang.NullPointerException: The treePath parameter cannot be null
	at org.openide.util.Parameters.notNull(Parameters.java:86)
	at org.netbeans.api.java.source.TreePathHandle.create(TreePathHandle.java:212)
	at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:424)
	at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:320)
	at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:144)
	at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:655)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 8 javydreamercsw 2010-04-07 14:29:56 UTC
*** Bug 178868 has been marked as a duplicate of this bug. ***
Comment 9 javydreamercsw 2010-04-07 14:30:26 UTC
*** Bug 181131 has been marked as a duplicate of this bug. ***
Comment 10 aldobrucale 2010-04-21 10:59:03 UTC
Created attachment 97781 [details]
stacktrace

called renaming refactoring for a function parameter
Comment 11 Exceptions Reporter 2010-04-26 13:08:00 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=164829
Comment 13 Quality Engineering 2010-04-27 04:27:04 UTC
Integrated into 'main-golden', will be available in build *201004270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: