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 238122 - NoSuchMethodError: org.netbeans.modules.java.api.common.project.ProjectHooks.createProjectXmlSavedHookBuilder(Lorg/netbeans/modules/java/api/common/ant/UpdateHelper;Lorg/netbeans/spi/project/support/a
Summary: NoSuchMethodError: org.netbeans.modules.java.api.common.project.ProjectHooks....
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 05:03 UTC by Exceptions Reporter
Modified: 2016-06-07 17:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205048


Attachments
stacktrace (2.21 KB, text/plain)
2013-11-08 05:03 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-11-08 05:03:23 UTC
This issue was reported manually by Mingun.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build nbms-and-javadoc-469-on-20130912)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
GUEST: %

GUEST: Attempt to open any project group




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.java.api.common.project.ProjectHooks.createProjectXmlSavedHookBuilder(Lorg/netbeans/modules/java/api/common/ant/UpdateHelper;Lorg/netbeans/spi/project/support/ant/GeneratedFilesHelper;)Lorg/netbeans/modules/java/api/common/project/ProjectHooks$ProjectXmlSavedHookBuilder;
   at org.netbeans.modules.java.j2seproject.J2SEProject.createLookup(J2SEProject.java:348)
   at org.netbeans.modules.java.j2seproject.J2SEProject.<init>(J2SEProject.java:220)
   at sun.reflect.GeneratedConstructorAccessor12.newInstance(GeneratedConstructorAccessor12.java:0)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.netbeans.modules.project.ant.AntBasedGenericType.createProject(AntBasedGenericType.java:129)
Comment 1 Exceptions Reporter 2013-11-08 05:03:25 UTC
Created attachment 141958 [details]
stacktrace
Comment 2 Mingun 2013-11-12 04:22:00 UTC
After that exception project(s) not opened, source parser not work.
Comment 3 Tomas Zezula 2016-06-07 17:21:46 UTC
Caused by wrong version of the java.common.api used by java.j2seproject.
Fixed by setting version to latest one 1.78.