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.

Bug 142017 - ClassNotFoundException: Cannot instantiate com.dotfx.netbeans.LaunchAction for MultiFileObject@196a671[Actions/Tools/com-dotfx-netbeans-LaunchAction.instance]
Summary: ClassNotFoundException: Cannot instantiate com.dotfx.netbeans.LaunchAction fo...
Status: REOPENED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@third-party
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-29 10:20 UTC by Petr Dvorak
Modified: 2011-11-18 19:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 83477


Attachments
messages.log (no exceptions were thrown) (30.55 KB, text/plain)
2009-03-26 16:27 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2008-07-29 10:20:25 UTC
Build: NetBeans IDE Dev (Build 200807290201)
VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Linux, 2.6.24-19-generic, i386

User Comments: 
I have downloaded the PHP IDE and then I attempted to use a plugin manager to install all plugins from the Java category. Plugins seemed to be installed but after the IDE restart, I was notified that "Java Debugger" cannot be installed. Thus I clicked "disable and continue" button. This exception was thrown right after the IDE was finally started.

Stacktrace: 
java.lang.ClassNotFoundException: Cannot instantiate com.dotfx.netbeans.LaunchAction for MultiFileObject@196a671[Actions/Tools/com-dotfx-netbeans-LaunchAction.instance]
        at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:230)
        at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1258)
        at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:749)
        at org.openide.loaders.FolderInstance.instanceForCookie(FolderInstance.java:548)
        at org.openide.awt.Toolbar$Folder.instanceForCookie(Toolbar.java:1013)
        at org.openide.loaders.FolderInstance$HoldInstance.instanceCreate(FolderInstance.java:1029)
Comment 1 Antonin Nebuzelsky 2008-07-31 14:07:39 UTC
Jirko, evaluate and reassign as appropriate.
Comment 2 Jiri Rechtacek 2008-07-31 15:02:28 UTC
Caused: java.lang.IllegalArgumentException
	at org.openide.util.SharedClassObject.findObject(SharedClassObject.java:518)
	at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:216)
Caused: java.lang.ClassNotFoundException: Cannot instantiate com.dotfx.netbeans.LaunchAction for
MultiFileObject@94cc7[Actions/Tools/com-dotfx-netbeans-LaunchAction.instance]

NetBeans cannot do anything with this problem, should be fixed in dotfx itself. FYI: DotFX plugin cannot be installed in
any distribution (PHP, Java SE, Full IDE). I think it should be removed from Additional UC till the bug fixed.
Comment 3 Jiri Kovalsky 2008-08-13 20:52:39 UTC
Robert, do we know who contributed this plugin to the Development Update Center? Thanks!
Comment 4 Jiri Kovalsky 2008-08-13 20:57:03 UTC
Well, after a while I have found it myself. Wayne can you please look at this bug? Thanks a lot!
Comment 5 dshieh 2008-08-20 21:25:39 UTC
I do not have the DotFX exception. However, I do have the same problem as the reporter: the Java Debugger plugin fails
to install on the PHP IDE bundle.
Comment 6 rnovak 2009-03-02 11:45:50 UTC
Is this issue still valid for the current NB version ? I believe, it got fixed.
Comment 7 wpackard 2009-03-02 22:12:13 UTC
dotFX can't reproduce this issue. For now we'll assume it is fixed in the latest build and wait to see if anyone reports seeing it again.

Comment 8 Petr Dvorak 2009-03-26 16:26:46 UTC
I am afraid the issue is not fixed.

1. Download a PHP IDE (zip) and start it with a fresh userdir
2. Go to Tools>Plugins, Available plugins
3. Right-click some plugin in Java category, check the Java category and install all plugins from the Java category (!)
4. Confirm the warning about an unsigned plugin (dotFX)
5. Restart the IDE as suggested by the plugin manager
-> IDE will not start again, it just dies while the splash screen is visible
Comment 9 Petr Dvorak 2009-03-26 16:27:43 UTC
Created attachment 78920 [details]
messages.log (no exceptions were thrown)