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 254970

Summary: ClassNotFoundException: org.netbeans.spi.project.ui.ProjectOpenedHook
Product: projects Reporter: ytn01
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219658
Attachments: stacktrace

Description ytn01 2015-09-03 13:57:47 UTC
Build: NetBeans IDE Dev (Build 201509030002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
ytn01: I was debugging a WebProject, and a breakpoint was hit.

Same time, I went to plugins manager window and Installed easyUML plugin from downloaded nbm files. After installation I clicked "Yes" on the "restart IDE" prompt.

After IDE restarted, I "New Project" toolbar icon, selected UML category -> UML Diagrams Project, and clicked next.

Gave project a name, and clicked finish.

Then exception was generated.




Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.spi.project.ui.ProjectOpenedHook
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Comment 1 ytn01 2015-09-03 13:57:49 UTC
Created attachment 155861 [details]
stacktrace
Comment 2 Tomas Stupka 2015-09-08 13:01:50 UTC
*** Bug 254971 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Stupka 2015-09-08 13:18:38 UTC
wontfix in NetBeans.

please file against the owner of easy uml. it's dependency on projectuiapi has to be updated.
until then it won't work with the current state in trunk.
Comment 4 mgenereu 2015-10-29 19:00:43 UTC
I'm getting the same error for the Scala and SBT Project plugins.  The class appears to be the same in the API documentation.  When you say, "it's dependency on projectuiapi has to be updated." is that just a recompile or how it should use that class has changed?  Is there documentation as to best practices for updating a 8.0 plugin to 8.1?  Maybe I can help?