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 197246

Summary: [70cat] RuntimeException: could not find the symbol for value
Product: java Reporter: simpatico
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178042
Attachments: stacktrace

Description simpatico 2011-03-30 16:52:56 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

User Comments:
simpatico: this was an exception thrown inside the annotations processors. Should NB complain about it, here? Well, what are the alternatives?

I've removed the throw and replaced with a msgr.print but this exception persists.




Stacktrace: 
java.lang.RuntimeException: could not find the symbol for value
   at com.dp4j.processors.core.PrivateAccessProcessor.isAccessible(PrivateAccessProcessor.java:431)
   at com.dp4j.processors.core.PrivateAccessProcessor.processCond(PrivateAccessProcessor.java:393)
   at com.dp4j.processors.core.PrivateAccessProcessor.processStmt(PrivateAccessProcessor.java:254)
   at com.dp4j.processors.core.PrivateAccessProcessor.processElement(PrivateAccessProcessor.java:166)
   at com.dp4j.processors.core.PrivateAccessProcessor.processElement(PrivateAccessProcessor.java:192)
   at com.dp4j.processors.core.PrivateAccessProcessor.processElement(PrivateAccessProcessor.java:100)
Comment 1 simpatico 2011-03-30 16:53:00 UTC
Created attachment 107386 [details]
stacktrace
Comment 2 Dusan Balek 2011-04-01 11:20:01 UTC
Based on the content of the Messages Log attached to the Exception Reporter, it seems that RuntimeException is caught and logged directly by the PrivateAccessProcessor.java:431 with Level.SEVERE so the IDE displays it. Use level with lower severity if you don't want the IDE to display the message.