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 90251 - NullPointerException at javac.code.Types$UnaryVisitor.visit during refactoring
Summary: NullPointerException at javac.code.Types$UnaryVisitor.visit during refactoring
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks: 152191
  Show dependency tree
 
Reported: 2006-11-29 09:22 UTC by pzajac
Modified: 2009-02-19 21:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (5.08 KB, text/plain)
2006-11-29 09:23 UTC, pzajac
Details
SVUsageItem.dump (5.90 KB, text/plain)
2006-11-30 10:12 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2006-11-29 09:22:42 UTC
[200611281900]
Project with sources is available in @netbeans.czech.sun.com:/cvs/retouche cvs,
module codeviation . Source are available in pant/src/ folder.

I tried to rename org/netbeans/metrics/Interval to PositionInterval. 

A exception was thrown.
java.lang.NullPointerException
        at com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:3206)
        at com.sun.tools.javac.code.Types$Subst.subst(Types.java:1932)
        at com.sun.tools.javac.code.Types$Subst.visitMethodType(Types.java:1955)
        at com.sun.tools.javac.code.Types$Subst.visitMethodType(Types.java:1909)
        at com.sun.tools.javac.code.Type$MethodType.accept(Type.java:791)
        at com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:3206)
...
caused by: org.openide.util.Exceptions$AnnException: An error occurred during
parsing of
'/home/pzajac/cvss/osobni/pant/src/org/netbeans/metrics/javac/SVUsageItem.java'.
Please report a bug against java/source and attach dump file
'/home/pzajac/.netbeans/dev/var/log/SVUsageItem.dump'.
        at
org.openide.util.Exceptions$AnnException.findOrCreate(Exceptions.java:191)
        at org.openide.util.Exceptions.attachMessage(Exceptions.java:56)
        at org.netbeans.api.java.source.JavaSource.dumpSource(JavaSource.java:1673)
        at org.netbeans.api.java.source.JavaSource.moveToPhase(JavaSource.java:877)
        ... 12 more
ALL [null]: An error occurred during parsing of
'/home/pzajac/cvss/osobni/pant/src/org/netbeans/metrics/javac/SVUsageItem.java'.
Please report a bug against java/source and attach dump file
'/home/pzajac/.netbeans/dev/var/log/SVUsageItem.dump'.
SEVERE [org.openide.util.RequestProcessor]
java.lang.RuntimeException
        at
org.netbeans.modules.refactoring.java.plugins.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:127)
        at
org.netbeans.modules.refactoring.java.plugins.RenameRefactoringPlugin.prepare(RenameRefactoringPlugin.java:404)
        at
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:329)
Comment 1 pzajac 2006-11-29 09:23:31 UTC
Created attachment 36353 [details]
Exception
Comment 2 pzajac 2006-11-30 10:12:51 UTC
Created attachment 36381 [details]
SVUsageItem.dump
Comment 3 Jiri Prox 2008-04-11 00:51:44 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 Dusan Balek 2009-01-14 10:00:35 UTC
Cannot reproduce in the current dev build. Please, reopen the issue if the problem appears again.