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.
NB 6.0 200707161200 & GF v2 b55 & jdk 1.6u1 Cannot add in Property/Run Arguments for app-client (Producer from javaee tutorial), getting the Exception: SEVERE [global] java.lang.AssertionError: Some of the customizer panels has written the changed data before OK Button was pressed. Please file it as bug. at org.netbeans.modules.j2ee.clientproject.ui.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:120) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$1.run(CustomizerDialog.java:182) at org.openide.util.Mutex.writeAccess(Mutex.java:321) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:180) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
same issue with Nb 6.0 200707171200 on solaris-sparc
It's weird - I'm not able to reproduce it... I will more investigate. Product Version: NetBeans IDE Dev (Build 070720) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.22-ck1 running on i386; UTF-8; cs_CZ (nb) GlassFish V2 b41d
thanks a lot, I'll download the 200707200000 and try over it (did not see this level, this morning 10am french time) may be some one has fix it between 0717 and 0720.
I'm really not sure...It would be helpful to provide exact steps to reproduce it - is it standalone ApplClient of EAR module? How do you add arguments to the AppClient? Do you just Run the application or do you use any other way? Could you attach your project, messages.log file? Thanks.
tried again with 200707200000: on my windows xp With an existing app-client project (jms/Producer from java 2ee tutorial) that had been opened with the previous dailies: when I add the Arguments and OK ==>>> exception java.lang.AssertionError shown below ; the except happens in Properties/Run even if I don't add any value. It happens also if I add a compiler arg (-Xlint) With a New app-client project created with 200707200000 there is no problem when setting in the Properties/Run Arguments, or in Compiler -Xlint. SEVERE [global] java.lang.AssertionError: Some of the customizer panels has written the changed data before OK Button was pressed. Please file it as bug. at org.netbeans.modules.j2ee.clientproject.ui.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:120) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$1.run(CustomizerDialog.java:182) at org.openide.util.Mutex.writeAccess(Mutex.java:321) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:180) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Created attachment 45441 [details] Producer app-client project from java ee turorial
Producer is a stand-alone project delivered as part of Java EE 5 Tutorial examples. And I need to set 2 Arguments before launching this project with "Run" action as in main() it checks for two args: arg1 can be queue or topic, arg2 is int <nb of messages to be sent> So, with IDE I open the project, and select <project>/"Properties" and then "Run" and put in Arguments field the requested values.
Bad news... I'm still not able to reproduce it even if with the project you attached. I'm using linux but you wrote that this happens on Solaris as well so it's a little bit weird I think. I will try it on Windows and let you know.
I'm upgarding to 200707240000 on windows/xp and solaris-sparc, I'll download the java ee 5 tutorial examples again to have clean environment for all the app-client projects inside, and let you know if can reproduce or not with projects that had never been opened with NB 6.0 daily builds. thank you very much for your help on this. nouar.
with a fresh download of java ee tutorial examples on solaris-sparc and open the 2 app-client projects producer and synchronous for the first time with NB 6.0 200707240000 & GF v2 b56, can add Arguments with success. IDE launched without userdir set, /.netbeans/dev renamed to be as /.netbeans/dev_0722, /.netbeans-derby renamed to /.netbeans-derby-0722 to have more clean environment. so, the previous existing app-client projects got corrupted while testing the different daily builds. I'll do the same thing on my windows host. Changing the priority P2 -> P3.
You're welcome. BTW I've tried the project you had attached so I don't think it's corrupted. But I can be wrong, of course.
Marking as RANDOM.
Probably duplicate of issue 95952. I'm going to implement its solution as well.
Fixed in AppClient and EjbJar projects. Checking in j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/CustomizerProviderImpl.java; /cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/CustomizerProviderImpl.java,v <-- CustomizerProviderImpl.java new revision: 1.8; previous revision: 1.7 done Checking in j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/customizer/CustomizerProviderImpl.java; /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/customizer/CustomizerProviderImpl.java,v <-- CustomizerProviderImpl.java new revision: 1.16; previous revision: 1.15 done
*** Issue 108780 has been marked as a duplicate of this issue. ***