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.
Attempted to experiment with MediaPlayer bean from JMF2.1.1e. This locked up the IDE. I tried rebooting, but the IDE came back totally blank (just windows os buttons, and title bar). The title bar indicated the last project, so I deleted the project, and restarted IDE again. This time the IDE started up, but when I tried to create a new project and add a JFrame, the palette was blank. The bottom right was flashing the problem icon. I clicked this, and was asked by the IDE to report a bug. It instructed me to include a copy of my log file (however, I cannot see how to do this, sorry, new to bugzilla - have made a backup). After this the IDE locks up. By repeating the above process and hovering the mouse over the problem icon in bottom right, IDE shows tooltip 'java.beans.IntrospectionException: Method "controlleUpdate" should have argument "ControllerUpdateEvent".
Created attachment 29405 [details] NetBeans log file
Could you please tell us how to reproduce this problem? Is it reproducible also with a new userdir (try runninng netbeans with "--userdir some_directory" switch)? Thanks..
Tried restarting IDE with --userdir switch. This correctly starts IDE and palette is useable. Could you please tell me wheere the default userdir is so that I can delete it? To replicate this problem, simply try to install the MediaPlayer bean from JMF 2.1.1e into the palete within the IDE.
Just to clarify. IF the IDE is started with a new user directory, and I attempt to add the MediaPlayer bean from JMF2.1.1e. When I expand the beans node in the palette, the player bean is not visible, and the IDE complains about the java.lang.error exception described in the initial bug report.
Defaulf userdir in case of windows %HOMEDRIVE%%HOMEPATH%.netbeans\<netbeans version>
I reproduced your problem, it really ends up with a never-ending stream of exceptions. I'll reassign this to form module to evaluate if the problem is on out side..
This is caused by the corrupted MediaPlayerBeanInfo. Note that even the following simple line throws java.lang.Error Introspector.getBeanInfo(javax.media.bean.playerbean.MediaPlayer.class); It throws Exception in thread "main" java.lang.Error: java.beans.IntrospectionException: Method "controllerUpdate" should have argument "ControllerUpdateEvent" at javax.media.bean.playerbean.MediaPlayerBeanInfo.getEventSetDescriptors (MediaPlayerBeanInfo.java:150) at java.beans.Introspector.getTargetEventInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) I have made the form module more robust against problems like this. E.g. the exceptions should not affect the Palette and your regular work. On the other hand the MediaPlayer bean remains unusable in the form module because of its corrupted BeanInfo. It would be ideal to ignore the invalid BeanInfo and to create a correct one using a special mode of the Introspector. I have filled an enhancement about this (see issue 77708). Modified files: /cvs/form/src/org/netbeans/modules/form/FormUtils.java new revision: 1.116; previous revision: 1.115 /cvs/form/src/org/netbeans/modules/form/HandleLayer.java new revision: 1.145; previous revision: 1.144 /cvs/form/src/org/netbeans/modules/form/RADComponent.java new revision: 1.159; previous revision: 1.158 /cvs/form/src/org/netbeans/modules/form/palette/PaletteItem.java new revision: 1.45; previous revision: 1.44