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.
Build: NetBeans IDE 6.5 Beta (Build 200808111757) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows Vista, 6.0, x86 User Comments: Stacktrace: java.lang.NullPointerException
Created attachment 69794 [details] stacktrace
it's easy to add defensive code here but it's better to know use-case. is there any specific steps to reproduce the exception?
incomplete for more then 4 weeks, can't be fixed without additional details or was fixed with other changes, feel free to reopen if still reproducible and please provide more details on the issue.
Build: NetBeans IDE 6.5 (Build 200811131701) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.uml.drawingarea.actions.SceneAcceptAction.<init>(SceneAcceptAction.java:98) at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent$6.propertyChange(UMLDiagramTopComponent.java:750) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.spi.palette.PaletteController$1.propertyChange(PaletteController.java:179) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Created attachment 74944 [details] stacktrace
I have upped the issue to a P2. There is no workaround as UML is completely broken. The palette items show up with no icons or information other than the links to the files which are to contain their information such as UseCase.modeling_palette_item. When you click on a palette item you receive: java.lang.NullPointerException at org.netbeans.modules.uml.drawingarea.actions.SceneAcceptAction.<init>(SceneAcceptAction.java:98) at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent$6.propertyChange(UMLDiagramTopComponent.java:750) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.spi.palette.PaletteController$1.propertyChange(PaletteController.java:179) I installed UML from the update center. I have installed the updates to 6.5 from the update center. I have no idea if UML worked before, but will try to investigate. I'll try to uninstall the module and add it back and see if that some how helps. If not I'll make a test user dir to see if I can get it to work. And I'll just go from there.
Can you attach message.log, it may contain information if any module failed to start or got any problem with initializing&
Created attachment 75400 [details] Log file - I made an error occur just before posting to make it complete
I was looking at my install, and even though I never chose to install modules globally, they are all installed in my installation versus my user directory. I don't know if this may or may not have some kind of a problem or not. I'm downloading a zip distribution of the 6.5 release to try further testing.
OK, so I grabbed just the Java version, and I don't have iReport or anything installed into it, and I just installed the UML module and was able to get that working. I'm going to restart, clear the log, and then attach the log. If I zip my user directory and my NB installation directory and put them some where you could download them privately would that help you diagnose what the issue is? Seems some combination maybe kept it from installing correctly or loading correctly. I'll try to uninstall it and reinstall it and see how that goes first though...this from the one which isn't working; well I'll backup those things first I guess, and then if you need them I can get them to you some how. If that fixes it maybe taking and comparing the two before and after might help address what went wrong as it has apparently happened to other people.
Created attachment 75401 [details] Log file from a working installation on the same machine using the same JDK
I don't remember seeing this before, but when I tried to install the UML support again I received: INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Timeout waiting for loading module org.netbeans.modules.uml.codegen/1.2 INFO [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]: timeout of loading UML Code Generation[org.netbeans.modules.uml.codegen/1.2] org.netbeans.api.autoupdate.OperationException: timeout of loading UML Code Generation[org.netbeans.modules.uml.codegen/1.2] at org.netbeans.modules.autoupdate.services.InstallSupportImpl$3.call(InstallSupportImpl.java:406) at org.netbeans.modules.autoupdate.services.InstallSupportImpl$3.call(InstallSupportImpl.java:278) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [catch] at java.lang.Thread.run(Thread.java:619) I'm restarting to see if it possibly works anyways. I'll report more later.
No go on reinstalling and restarting. I tried with a different user directory. This was the user directory from the working instance of NB. One strange thing I just noticed was that apparently on Windows the update center installs things into the base NB installation instead of the user directory, and doesn't give any options. I don't know what that is about. Anyways, the weird thing here is that the project I created in the working instance seemingly worked OK except for the palette is broken. The elements I had created in a diagram in the working instance opened in the broken one, and I could move the elements around, and their actions showed up, so I could click generalization in a use case diagram and another use case would be created. The palette doesn't work however. The palette doesn't work in any diagram type. Would you like me to find a place for you to privately download the my NB instances and user directories for comparisons? I have already zipped up the one user directory and non-working NB instance. I can do the same for the working.
it's not 100% will help, but seems reasonable to try your installation. thanks.
I got the pallette back by deactivating the plugin, closing all UML projects; restarting the ide & reactivating the UML plugin.
this one issue may have workaround according to last comment, so may be reviewed as P3, but still no ideas on how to reproduce. may be system configuration issue, i.e. netbeans config or java config/ libraries conflict etc.
I ran into this same issue, and the workaround suggested above worked for me, too: - close UML project - deactivate UML plugin - shut down NetBeans 6.7 - start up NetBeans 6.7 - activate UML plugin - open UML project On newly opened project, palette shows icons, and dragging them into canvas works.
This issue already has 150 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=111397
This issue already has 151 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=111397
I ran into this same issue, and the workaround suggested above worked for me, too: - close UML project - deactivate UML plugin - shut down NetBeans 6.7 - start up NetBeans 6.7 - activate UML plugin - open UML project Its correct its working