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 197251

Summary: NullPointerException at com.sun.tools.javac.api.JavacTrees.getTypeMirror
Product: java Reporter: velodiver <velodiver>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vargas
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 156914
Attachments: stacktrace

Description velodiver 2011-03-30 20:46:03 UTC
Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
GUEST: opening index.java file of Wicket project as built using Wicket In Action

GUEST: Saving a java file

GUEST: opened wicket web page index.html from package in Projects tab




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.api.JavacTrees.getTypeMirror(JavacTrees.java:183)
   at org.netbeans.modules.web.wicket.tree.ComponentIdFinder.scanInArgs(ComponentIdFinder.java:44)
   at org.netbeans.modules.web.wicket.tree.ComponentIdFinder.visitMethodInvocation(ComponentIdFinder.java:89)
   at org.netbeans.modules.web.wicket.tree.ComponentIdFinder.visitMethodInvocation(ComponentIdFinder.java:34)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1316)
   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:76)
Comment 1 velodiver 2011-03-30 20:46:08 UTC
Created attachment 107391 [details]
stacktrace
Comment 2 Dusan Balek 2011-03-31 13:26:43 UTC

*** This bug has been marked as a duplicate of bug 163604 ***