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 224580

Summary: reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: Hints & AnnotationsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191021
Attachments: stacktrace

Description Exceptions Reporter 2013-01-07 17:00:02 UTC
This bug was originally marked as duplicate of bug 215015, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) Client VM, 20.13-b02, Java(TM) SE Runtime Environment, 1.6.0_38-b05
OS: Windows Vista

Stacktrace: 
java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:299)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:751)
Comment 1 Exceptions Reporter 2013-01-07 17:00:04 UTC
Created attachment 129966 [details]
stacktrace
Comment 2 Jan Lahoda 2013-01-07 17:24:07 UTC
Hard to fully evaluate the OOME without a heapdump, but quite probably related to bug #223339.

The other exception from the reporter (from the ErrorDescriptionFactory) cannot happen after:
http://hg.netbeans.org/jet-main/rev/f7995c6e165a

Also the current trunk builds (which will become NetBeans 7.3) unroll the InvocationTargetException, to help the exception reporter correctly assign exception report.

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