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 191115 - GUI designer locks on JDK update 21
Summary: GUI designer locks on JDK update 21
Status: RESOLVED DUPLICATE of bug 187697
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 02:34 UTC by martinstraus
Modified: 2010-10-26 14:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dump file generated by NetBeans (17.33 KB, application/octet-stream)
2010-10-19 02:34 UTC, martinstraus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martinstraus 2010-10-19 02:34:52 UTC
Created attachment 102468 [details]
Dump file generated by NetBeans

GUI designer locks on JDK 1.6 u22. Loading NetBeans with JDK 1.6 u20 solves the problem.

I have the SwingX 1.0 and custom libreries in the Swing pallete.

Steps to reproduce

1) Open IDE using JDK 1.6 u22 (also happens with u21) (configured via netbeans.conf)
2) Open an IFrame in design mode.
3) The IDE freezes.

A dump file is generated and an CouplingAbourt exception is shown:

com.sun.tools.javac.util.CouplingAbort
	at org.netbeans.modules.java.source.TreeLoader.couplingError(TreeLoader.java:211)
	at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:759)
	at com.sun.tools.javadoc.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:79)
	at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:717)
	at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:425)
	at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:388)
	at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:647)
	at com.sun.tools.javadoc.JavadocMemberEnter.visitMethodDef(JavadocMemberEnter.java:65)
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:660)
	at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:425)
	at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:437)
	at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:448)
	at com.sun.tools.javac.comp.MemberEnter.finish(MemberEnter.java:1268)
	at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1150)
	at com.sun.tools.javac.code.Symbol.complete(Symbol.java:417)
	at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:815)
	at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:639)
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:588)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
	at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:476)
	at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:1641)
	at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1355)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
	at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:500)
	at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1390)
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1304)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
	at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:456)
	at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1167)
	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1150)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
	at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:476)
	at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:492)
	at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:853)
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:773)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
	at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:476)
	at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:770)
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:660)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
	at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:476)
	at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2921)
	at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2850)
	at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2781)
	at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1220)
	at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1194)
	at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:475)
	at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:454)
Comment 1 Jan Stola 2010-10-26 14:03:52 UTC
The deadlock is a duplicate of issue 187697. It is a temporary JDK problem that appers in JDK 6 update 21 and 22. You should either use update 20 or upcoming update 23.

The CouplingAbort exception doesn't seem to be related to GUI builder. If you are still able to reproduce it then, please, fill a separate issue against java/Compiler (=Product/Component). Thank you in advance.

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