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.
AUC request: ============ Module: UML Modeling Modules AUC Type: Stable AUC Version: 5.5/5.5.1 AUC Category: Features Contact: George Vasick Reason: FCS refresh NB signature required: No Live date: March 30, 2007
I staged the English version of modules on the Stable UC for NB 5.5 and 5.5.1 I set the notification as well. Pleasemake sure, it is being displayed correctly, I suspect problem with reference to the web page with detailes.
I have installed all UML moduules except of one that has set the notification in NetBeans 5.5. When I created new UML|Platform-Independent Model project I got following exception: java.lang.reflect.UndeclaredThrowableException at $Proxy11.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.Component.processMouseEvent(Component.java:5554) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5319) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4021) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.Dialog$2.run(Dialog.java:545) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:543) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847) at org.openide.util.Mutex.doEventAccess(Mutex.java:1178) at org.openide.util.Mutex.readAccess(Mutex.java:215) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:832) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:467) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:340) [catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:111) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:416) ... 45 more Caused by: java.lang.NullPointerException at org.netbeans.modules.uml.core.Application.saveProject(Application.java:439) at org.netbeans.modules.uml.ui.products.ad.applicationcore.ADApplication.saveProject(ADApplication.java:402) at org.netbeans.modules.uml.project.UMLProjectHelper.saveProject(UMLProjectHelper.java:319) at org.netbeans.modules.uml.project.UMLProject.saveProject(UMLProject.java:413) at org.netbeans.modules.uml.project.UMLProjectGenerator.createEmptyProject(UMLProjectGenerator.java:272) at org.netbeans.modules.uml.project.ui.wizards.NewUMLProjectWizardIterator.instantiate(NewUMLProjectWizardIterator.java:216) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:955) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:543) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:382) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:224) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1203) at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:76) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1682) at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:1722) at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1125) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1164) at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:76) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1729) ... 50 more ==> java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:416) at $Proxy11.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.Component.processMouseEvent(Component.java:5554) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5319) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4021) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.Dialog$2.run(Dialog.java:545) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:543) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847) at org.openide.util.Mutex.doEventAccess(Mutex.java:1178) at org.openide.util.Mutex.readAccess(Mutex.java:215) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:832) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:467) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:340) [catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:111) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: java.lang.NullPointerException at org.netbeans.modules.uml.core.Application.saveProject(Application.java:439) at org.netbeans.modules.uml.ui.products.ad.applicationcore.ADApplication.saveProject(ADApplication.java:402) at org.netbeans.modules.uml.project.UMLProjectHelper.saveProject(UMLProjectHelper.java:319) at org.netbeans.modules.uml.project.UMLProject.saveProject(UMLProject.java:413) at org.netbeans.modules.uml.project.UMLProjectGenerator.createEmptyProject(UMLProjectGenerator.java:272) at org.netbeans.modules.uml.project.ui.wizards.NewUMLProjectWizardIterator.instantiate(NewUMLProjectWizardIterator.java:216) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:955) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:543) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:382) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:224) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1203) at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:76) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1682) at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:1722) at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1125) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1164) at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:76) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1729) ... 50 more ==> java.lang.NullPointerException at org.netbeans.modules.uml.core.Application.saveProject(Application.java:439) at org.netbeans.modules.uml.ui.products.ad.applicationcore.ADApplication.saveProject(ADApplication.java:402) at org.netbeans.modules.uml.project.UMLProjectHelper.saveProject(UMLProjectHelper.java:319) at org.netbeans.modules.uml.project.UMLProject.saveProject(UMLProject.java:413) at org.netbeans.modules.uml.project.UMLProjectGenerator.createEmptyProject(UMLProjectGenerator.java:272) at org.netbeans.modules.uml.project.ui.wizards.NewUMLProjectWizardIterator.instantiate(NewUMLProjectWizardIterator.java:216) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:955) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:543) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:382) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:224) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1203) at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:76) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1682) at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:1722) at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1125) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1164) at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:76) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1729) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:416) at $Proxy11.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.Component.processMouseEvent(Component.java:5554) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5319) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4021) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.Dialog$2.run(Dialog.java:545) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:543) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847) at org.openide.util.Mutex.doEventAccess(Mutex.java:1178) at org.openide.util.Mutex.readAccess(Mutex.java:215) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:832) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:467) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:340) [catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:111) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
The notification dialog looks like attached screenshot. It will be nice to shorten the message length. URL should be in plain text, maybe it can be fixed by surrounding it by <html></html> tag to appear as a link.
I have two more comments. [1] Why did you Roberte stage the modules only on Portuguese and English UC and not Japanese and Chinese? [2] I don't like the notification either. I propose we make it shorter (only the first sentence or at least remove the HTML tags.
Created attachment 40068 [details] Notification dialog screenshot.
Does anybody know why don't we support Mac OS X?
Sorry, that I didn't make it clear, upload of Ja and Zh modules is in progress. I'll fix the notification as well.
Here's my environment and I just tried but no exception for me. Product Version = NetBeans IDE 5.5 (Build 200610171010) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105; Sun Microsystems Inc.; E:\Program Files\Java\jdk1.6.0\jre System Locale; Encoding = en_US (nb); Cp1252 >> I have installed all UML moduules except of one that has set the notification in NetBeans 5.5. Since this message indicates one module was not installed, this is not supposed to be for users installing UML. All UML modules have to be installed. Could you please show me how to not install one module? Is there a way to set the dependency that all modules have to be installed before proceeding to the installation?
And which module is the one that you mention as "the one that has set the notification in NetBeans 5.5" so I can see if I would be able to reproduce the same problem.
Just to document this, I also tried on NB5.5.1 with the following configs but not able to reproduce the exception. This is a fresh NB 5.5.1 install started with fresh userdir. Product Version = NetBeans IDE 5.5.1 RC1 (Build 200703261315) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105; Sun Microsystems Inc.; E:\Program Files\Java\jdk1.6.0\jre System Locale; Encoding = en_US (nb); Cp1252
It seems that there are missing dependencies because I am able to install modules containing UML without installing of "UML Modeling". I have checked following steps to reproduce on Mac OS X, NB 5.5 as well as Linux Ubuntu 6.10, NB 5.5.1 RC1: 1/Run UC wizard and connect to the staging UC 2/In step 2 of the wizard click on UML-NetBeans Integration so that following modules are added to the Include Install list(on the right side): -Dom4j Dependency Libraries -UML-NetBeans Integration -Design Center -Drawing Library -Core Modeling Library -Requirements Framework -Antlr -UML Projects -UML Properties 3/Process through the install wizard Notice that the "UML Modeling" is not installed! 4/Go to New|Project main menu 5/Create UML|Platform-Independent Model The exception appears then.
I just staged Ja and Zh version of UML modules on JA and Zh UC. There are 2 outstanding issues: - notification text needs to be shorter - there is a dependency problem
The modules have the right dependencies for building the modules. The "UML Modeling" module is simply a module that was build to have all of the dependencies to the other UML modules. It has not implementations. We can not make all of our modules depend on the UML Modeling kit, because that would add cyclic dependencies to our modules, then NetBeans will not allow us add cyclic dependencies. I do not know if there is a way to create dependencies only for the update center, but the dependencies are correct for the build.
Now if I installed through the staging UC, I got tons of different types of exceptions when ide was started from fresh userdir. See attached. After that, creating uml project does not bring up the Create New Diagram dialog. If manually add a diagram, the Create New Diagram dialog has no default diagram name.
Created attachment 40169 [details] ide log file
ops, my last comment was not confusing. I meant I started ide in a fresh userdir before doing the installation thru the staging UC. Those exceptions include: NPE, InvocationTargetException in the log file.
I have following conclusions to this issue: 1/The annotation is much better now and appears for each of 17 UML-related modules. Hopefully it is acceptable for users of all platforms. 2/Correct dependency bindings are set in the catalog now. Each of 17 modules sticks other 16 so that all 17 modules are always installed together. It means that problem with UML project creating can not be reproducible now. 3/I found no problem during installation test.
Just for the record, the last decision is to put all UML modules on both Stable and Beta update centers and make them available this way: - UML modules on Stable UC will be visible to Windows, Solaris and Linux users only - UML modules on Beta UC will be visible to Macintosh users only There will be no notification in both cases. Still waiting for some Karthik's investigations. George, can you meanwhile comment on the exceptions from Peter?
Let me describe problem in AU module that prevents us from using dependency on OS type (require OS); Let say that module A depends on module B and we want to hide it on MacOS. It means, instead of one record in catalog, we want to make 2 records of A and B modules - one for Unix and one for Windows. In this case users would see: on unix: A(unix) -> B(unix) on windows A(windows) -> B(windows) on MacOS: nothing If user on unix selects module B(unix), the UC wizard automatically selects module A to satisfy dependencies. The problem is that not only displayed module A(unix) is used, but UC wizard pick up ANY of B modules available in catalog - either A(unix) or A(windows). It might happen that on unix windows modules is selected to satisfy dependencies. In this case dialog that dependency required OS is not satisfied and module A could not be installed. The same situation might happen if, for example, modules A(unix), B(unix) were published on Stable UC and A(windows), B(windows) on Beta UC and both Stable and Beta UC are enabled. Therefore it is not possible to hide MacOS modules on Stable UC or move them to Beta UC. UC wizard is currently not capable of this. I'm going to file issue against AU module.
According to the latest Robert's comment the Beta/Stable proposal is not feasible anymore. Thus we are back heading for "all on Stable" solution however with NO notification dialog. We still can't proceed with going live though because of problems reported by Peter last Friday that nobody commented on so far. Once this is clarified, we will publish UML modules to the live server right away.
UML modules were published on the Stable, Ja, Zh_Cn nd Pt_BR UC for NB 5.5 and NB 5.5.1
Verified. I have no problem to install uml kit now. Even if I want to install any module of the kit all modules stick to it and all modules are always installed together. The restart is forced so that there should not appear problem described in issue 100021.