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 250181 - NoSuchMethodError: org.netbeans.modules.java.editor.codegen.GeneratorUtils.getAllParents(Ljavax/lang/model/element/TypeElement;)Ljava/util/Collection;
Summary: NoSuchMethodError: org.netbeans.modules.java.editor.codegen.GeneratorUtils.ge...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 14:07 UTC by mklaehn
Modified: 2015-06-06 21:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214364


Attachments
stacktrace (6.24 KB, text/plain)
2015-02-03 14:07 UTC, mklaehn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mklaehn 2015-02-03 14:07:23 UTC
This issue was reported manually by mklaehn.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201501270002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
mklaehn: trying to use http://plugins.netbeans.org/plugin/6887/serialversionuid-generator. Happens when pressing ALT+INSERT and setting the Cursor on the line of the class definition

kalwi: The cursor was on the position of '|' char in the following class, then I pressed Alt+Insert (to generate some getters/setters), then the exception occured:
public class MyDomainObject {

    private String attribute;

    |
}




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.java.editor.codegen.GeneratorUtils.getAllParents(Ljavax/lang/model/element/TypeElement;)Ljava/util/Collection;
   at eu.easyedu.netbeans.svuid.SvuidHelper.isSerializable(SvuidHelper.java:90)
   at eu.easyedu.netbeans.svuid.SvuidHelper.needsSerialVersionUID(SvuidHelper.java:84)
   at eu.easyedu.netbeans.svuid.SerialVersionGenerator$Factory.create(SerialVersionGenerator.java:70)
   at org.netbeans.modules.editor.codegen.NbGenerateCodeAction$Task.run(NbGenerateCodeAction.java:181)
   at org.netbeans.modules.java.editor.codegen.ContextProvider$1.run(ContextProvider.java:74)
   at org.netbeans.modules.java.editor.codegen.ContextProvider$1.run(ContextProvider.java:69)
Comment 1 mklaehn 2015-02-03 14:07:25 UTC
Created attachment 151790 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-02-03 14:37:42 UTC
That is bug in serialversionuid-generator. Please send this error to the authors of the plugin.
Comment 3 mklaehn 2015-02-03 14:57:16 UTC
Done.

https://kenai.com/jira/browse/NB_SVUID_GENERATOR-14