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 211517 - NullPointerException at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn
Summary: NullPointerException at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 13:03 UTC by aldobrucale
Modified: 2012-04-26 10:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187233


Attachments
stacktrace (8.25 KB, text/plain)
2012-04-20 13:03 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2012-04-20 13:03:02 UTC
Build: NetBeans IDE Dev (Build 201204190400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
aldobrucale: Selected package in "Move Members" dialog




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn(JavacTypes.java:290)
   at com.sun.tools.javac.model.JavacTypes.isSubtype(JavacTypes.java:92)
   at org.netbeans.modules.refactoring.java.plugins.MoveMembersRefactoringPlugin.fastCheckParameters(MoveMembersRefactoringPlugin.java:240)
   at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$WorkingTask.run(JavaRefactoringPlugin.java:359)
   at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$WorkingTask.run(JavaRefactoringPlugin.java:329)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:487)
Comment 1 aldobrucale 2012-04-20 13:03:06 UTC
Created attachment 118569 [details]
stacktrace
Comment 2 Dusan Balek 2012-04-20 14:07:06 UTC
Executable or package type should not be passed as an argument to Types.isSubtype(...)
Comment 3 Ralph Ruijs 2012-04-23 15:56:26 UTC
Changeset: 397cd4199624
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2012-04-23 17:54
Message:   
Issue #211517 - NullPointerException at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn
Comment 4 Quality Engineering 2012-04-26 10:34:46 UTC
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/397cd4199624
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #211517 - NullPointerException at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn