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.
This bug was originally marked as duplicate of bug 209260, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201209200001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11 OS: Windows 7 User Comments: jskrivanek: Creating Tag Library descriptor in Maven web project. MackSix: Moved JFrame.java form from one package to another. jglick: Adding a new RESTful web service via Jersey to Maven web app. MackSix: Moved JFrame.java form with Internationalization to a newpackage. Stacktrace: java.lang.StackOverflowError at java.lang.ClassLoader.defineClass1(ClassLoader.java:0) at java.lang.ClassLoader.defineClass(ClassLoader.java:791) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
Created attachment 124638 [details] stacktrace
Created attachment 124985 [details] stacktrace Moved JFrame form with Internatinoalization to another package.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=192602
Created attachment 125018 [details] Project to use for reproduction. 1. Open attached project in NetBeans. 2. Open NewJFrame.java in Design mode. 3. Right Click on Root Node (Form NewJFrame) in Navigator and choose Properties. 4. Choose "de_DE - German (Germany)" in Design Locale feild and close Properties dialog box. 5. All labels and buttons should show "DE" as their text now. 6. Do _not_ save. 7. Drag and drop NewJFrame.java into "newpackage" package in Projects Window. 8. When dialog box appears, wait 10 seconds and then Click Refactor Button and wait a few seconds. This StackOverflowError should occur. Product Version: NetBeans IDE 7.3 Beta (Build 201209232010) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
This is repeatable and regression. -> P1 See also http://netbeans.org/bugzilla/show_bug.cgi?id=219123
*** Bug 219123 has been marked as a duplicate of this bug. ***
see Bug 219123 - it's 100% reproducible
*** Bug 219218 has been marked as a duplicate of this bug. ***
Jarda, please evaluate ASAP. If possible, please fix in trunk and also in release73_beta today (Sunday) before evening PRG time. Thanks.
Reproduced. But I don't think this is a beta stopper. The file is moved at the end, is not it?
So what's the workaround? If I save in step 6, does it avoid the problem? I agree this is not a stopper. BTW, based on comment 5, it sounds like this works fine in 7.2?
This specific bug does not occur 7.2, Although in 7.2 and 7.3 there are some undo problems and sometimes a From file are moved and the new properties files are _not_ created in the destination package, the reference is updated in the form to point to the properties files in the source package. I do not know if this is related or not. See http://netbeans.org/bugzilla/show_bug.cgi?id=211819
Fixed as ergonomics#d8cf80dfda90 - I don't think a background exception without influence on data consistency deserves backport to 7.3beta. The bug exists for ages, it just never manifested so reliably. Similar issues include bug 193732, bug 192504 and its duplicates.
Verified in latest Beta with the module(s) from ergonomics.
Backported to release73_beta: http://hg.netbeans.org/releases/rev/4cd218687d5f
Verified using steps in comment 4 in build NetBeans IDE 7.3 Beta (Build 201210011125).
*** Bug 220166 has been marked as a duplicate of this bug. ***
*** Bug 214666 has been marked as a duplicate of this bug. ***
*** Bug 219093 has been marked as a duplicate of this bug. ***
*** Bug 221903 has been marked as a duplicate of this bug. ***
*** Bug 223450 has been marked as a duplicate of this bug. ***