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

Summary: NoSuchMethodError: org.netbeans.modules.java.editor.codegen.GeneratorUtils.getAllParents(Ljavax/lang/model/element/TypeElement;)Ljava/util/Collection;
Product: third-party Reporter: mklaehn <mklaehn>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: kalwi, martijnburger
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214364
Attachments: stacktrace

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