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 - ClassNotFoundException: org.netbeans.spi.project.ui.ProjectOpenedHook
Summary: ClassNotFoundException: org.netbeans.spi.project.ui.ProjectOpenedHook
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 254971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-03 13:57 UTC by ytn01
Modified: 2015-10-29 19:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219658


Attachments
stacktrace (6.38 KB, text/plain)
2015-09-03 13:57 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
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?