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 251196

Summary: null pointer exception
Product: java Reporter: henri127 <henri127>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log
for .log.2
messages.log.1
for .log.1
messages.log
for .log

Description henri127 2015-03-16 01:39:22 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

NULL pointer exception during refactoring, i.e. moving  class(es), see attachments
Comment 1 henri127 2015-03-16 01:48:54 UTC
three times an error while refactoring. package name in files not updated, other files which contain references to classes without updated imports
Comment 2 henri127 2015-03-16 01:49:17 UTC
Created attachment 152633 [details]
messages.log
Comment 3 henri127 2015-03-16 01:49:21 UTC
Created attachment 152634 [details]
for .log.2
Comment 4 henri127 2015-03-16 01:49:39 UTC
Created attachment 152635 [details]
messages.log.1
Comment 5 henri127 2015-03-16 01:49:43 UTC
Created attachment 152636 [details]
for .log.1
Comment 6 henri127 2015-03-16 01:50:00 UTC
Created attachment 152637 [details]
messages.log
Comment 7 henri127 2015-03-16 01:50:03 UTC
Created attachment 152638 [details]
for .log
Comment 8 Marian Mirilovic 2015-03-17 12:30:46 UTC
java.lang.NullPointerException at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:613) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:675) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:668) at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:849) at com.sun.tools.javadoc.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:88) at org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:90) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:858) at