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 47083

Summary: java.lang.NullPointerException - move class
Product: java Reporter: Marek Grummich <mgrummich>
Component: UnsupportedAssignee: Martin Matula <mmatula>
Status: CLOSED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception

Description Marek Grummich 2004-08-11 11:02:19 UTC
Build 200408101800, j2sdk1.5.0-b62
Steps:
- open jEdit project
- invoke Find usage action on jEdit.java node
- select some usage in the Usages Window,
doubleclick, file with appropriate usage is opened
in the editor
- invoke Refactor->Move class action on jEdit.java
node => an attached exception
I was able to repeat it twice.
Comment 1 Marek Grummich 2004-08-11 11:02:42 UTC
Created attachment 16739 [details]
Exception
Comment 2 Jan Becicka 2004-08-11 13:36:12 UTC
Problem is that getParser().getSemanticInfo(parameterAST, this)
returned null.
Comment 3 Marian Mirilovic 2004-08-11 16:47:09 UTC
This issue is pointed out as Q-build stopper 
http://qa.netbeans.org/q-builds/Q-build-report-200408101800.html
and must be fixed in QBE200408101800 branch too.

Please, solve it ASAP , we'll plan release Beta 1 based on this
Q-build next week.
Comment 4 Marian Mirilovic 2004-08-12 14:47:42 UTC
.... for your information, this is the last one opened Q-build stopper
.....

I'll stay tuned, when it will be fixed, we can build new Beta/Q-build
candidate ;)
Comment 5 Martin Matula 2004-08-12 15:15:08 UTC
Fixed in QBE200408101800 branch.

Checking in src/org/netbeans/modules/javacore/parser/ClassInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ClassInfo.java,v
 <--  ClassInfo.java
new revision: 1.6.6.1; previous revision: 1.6
done
Checking in src/org/netbeans/modules/javacore/parser/FeatureInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/FeatureInfo.java,v
 <--  FeatureInfo.java
new revision: 1.7.6.1; previous revision: 1.7
done
Checking in src/org/netbeans/modules/javacore/parser/ResourceInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ResourceInfo.java,v
 <--  ResourceInfo.java
new revision: 1.7.6.1; previous revision: 1.7
done
Comment 6 Martin Matula 2004-08-12 15:38:31 UTC
Fixed in trunk.

Checking in src/org/netbeans/modules/javacore/parser/ClassInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ClassInfo.java,v
 <--  ClassInfo.java
new revision: 1.7; previous revision: 1.6
done
Checking in src/org/netbeans/modules/javacore/parser/FeatureInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/FeatureInfo.java,v
 <--  FeatureInfo.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/javacore/parser/ResourceInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ResourceInfo.java,v
 <--  ResourceInfo.java
new revision: 1.8; previous revision: 1.7
done
Comment 7 Marek Grummich 2004-08-13 09:15:49 UTC
Verified by previous steps.
Comment 8 Quality Engineering 2007-09-20 12:12:05 UTC
Reorganization of java component