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 250706 - IllegalStateException: can't proxy final class class com.sun.tools.jdi.ClassTypeImpl
Summary: IllegalStateException: can't proxy final class class com.sun.tools.jdi.ClassT...
Status: VERIFIED WORKSFORME
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: toomasr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 19:40 UTC by carljmosca
Modified: 2015-03-17 16:07 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215684


Attachments
stacktrace (1.85 KB, text/plain)
2015-02-25 19:40 UTC, carljmosca
Details
stacktrace (2.55 KB, text/plain)
2015-03-17 16:03 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description carljmosca 2015-02-25 19:40:11 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-ea-b23
OS: Mac OS X

User Comments:
carljmosca: debugging Java Swing application




Stacktrace: 
java.lang.IllegalStateException: can't proxy final class class com.sun.tools.jdi.ClassTypeImpl
   at com.zeroturnaround.jdi.proxy.DefaultFactory.genProxyBytes(DefaultFactory.java:96)
   at com.zeroturnaround.jdi.proxy.DefaultFactory.makeProxyClass(DefaultFactory.java:78)
   at com.zeroturnaround.jdi.proxy.DefaultFactory.<init>(DefaultFactory.java:26)
   at com.zeroturnaround.jdi.proxy.DefaultFactoryBuilder.newFactory(DefaultFactoryBuilder.java:6)
   at com.zeroturnaround.jdi.proxy.ProxyFactory.newFactory(ProxyFactory.java:74)
   at com.zeroturnaround.jdi.proxy.ProxyFactory.getFactory(ProxyFactory.java:66)
Comment 1 carljmosca 2015-02-25 19:40:14 UTC
Created attachment 152229 [details]
stacktrace
Comment 2 Martin Entlicher 2015-02-26 07:05:06 UTC
Please report to zeroturnaround. This has nothing to do with NetBeans.
Comment 3 Jiri Kovalsky 2015-02-26 08:29:10 UTC
If this happened while using JRebel, we can reassign the bug to updatecenters/Plugin Portal so that toomasr@netbeans.org from ZeroTurnaround can take a look at this.
Comment 4 carljmosca 2015-02-26 11:53:25 UTC
Yes, JRebel was in use.  I am also no longer able to debug this particular app; seems to be preventing the debugger from stopping.  I have turned off JRebel with no success.
Comment 5 carljmosca 2015-02-26 12:35:39 UTC
The debugging problem (not stopping on breakpoints) may be specific to Java 1.8.0_40.  I changed the to jdk1.8.0_31 and the debugging worked again.  Then I changed back to 1.8.0_40 and the breakpoints were once again ignored.

Is this an unrelated and/or known issue?  Should another bug be filed?
Comment 6 Martin Entlicher 2015-02-26 12:59:50 UTC
"I have turned off JRebel with no success."

Then please report the exception again with JRebel turned off.
Comment 7 carljmosca 2015-02-26 13:02:12 UTC
I think it should be closed for now...I forgot that 1.8.0_40 is still considered pre-release.  I was working on some unrelated stuff and needed to install that version.
Comment 8 Jiri Kovalsky 2015-02-26 13:22:40 UTC
I don't think so. The earlier we get the exception stack trace the more time we have for a fix which can be then distributed at least through NetBeans Update Center. Update 40 will go out soon.
Comment 9 Martin Entlicher 2015-02-26 13:34:00 UTC
Please check this problem in JRebel plugin. There were some changes in JDI in JDK 1.8.0_40.
Comment 10 toomasr 2015-03-04 11:48:24 UTC
Sorry for the late reply. There were some internal changes in the 1.8.0_40 version of the JDK. JRebel 6.1.1 fixes the issue (to be released in following weeks), previous versions of JRebel will have this issue with JDK 1.8.0_40. If anybody wants to test before release then let me know and we can do a nightly build.
Comment 11 markiewb 2015-03-17 16:03:34 UTC
Created attachment 152678 [details]
stacktrace

JR-Related problem?
Comment 12 Exceptions Reporter 2015-03-17 16:03:43 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=215684
Comment 13 markiewb 2015-03-17 16:07:11 UTC
Using JR plugin 6.1.1 (verified version, updated from within the IDE) and JDK8_40 my maven-based plugin can be finally debugged. Resolving