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 250386 - 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:
: 250455 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-12 03:40 UTC by Diver
Modified: 2015-08-26 08:14 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 213791


Attachments
stacktrace (3.32 KB, text/plain)
2015-02-12 03:40 UTC, Diver
Details
stacktrace (3.58 KB, text/plain)
2015-02-17 06:15 UTC, Diver
Details
stacktrace (3.58 KB, text/plain)
2015-02-17 06:24 UTC, Diver
Details
stacktrace (3.58 KB, text/plain)
2015-02-25 13:33 UTC, Exceptions Reporter
Details
stacktrace (3.58 KB, text/plain)
2015-08-26 08:14 UTC, ehsavoie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diver 2015-02-12 03:40:01 UTC
Build: NetBeans IDE Dev (Build 201502020002)
VM: Java HotSpot(TM) Client VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-ea-b23
OS: Windows 7

User Comments:
kalwi: Occurred after opening the IDE with some projects (Maven, OSGi, GIT) and files (Java, sql) with some uncommited changes already opened from the previous session.

Diver: Don't have anything to report pertaining to error.  Opened Netbeans with the key bindings and Code Templates window and plugin and got error message.  No idea what significance except it might be suggesting a code I have as yet to apply that would not work.

dathyrius: Opening File

GUEST: I opened a tab containing Java code.




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.SerialVersionUidHint.run(SerialVersionUidHint.java:64)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Comment 1 Diver 2015-02-12 03:40:03 UTC
Created attachment 151966 [details]
stacktrace
Comment 2 Svata Dedic 2015-02-13 15:42:54 UTC
Reporters,

the error happened because refactoring of *non-public* classes in java.editor module (GeneratorUtilities).

Stacktraces indicate you are using the SVUID module - the module calls a class which was never intended to be kept compatible as an API.

Forwarding to SVUID module owner.
Comment 3 Diver 2015-02-17 06:15:39 UTC
Created attachment 152020 [details]
stacktrace

Trying to make IMlet for tutorial "Working with GPIO by Using Java ME Embedded and a Raspberry PI" on Oracle.com.  Told the Wizard to finish the Application and the error screen appeared, the one I am typing in.
Comment 4 Exceptions Reporter 2015-02-17 06:15:45 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=213791
Comment 5 Diver 2015-02-17 06:24:39 UTC
Created attachment 152021 [details]
stacktrace

Apparently any new java class in this  Java ME IMlet gets the same error  I am working in the same program as id #765874 which I just filed moments ago.  If this keeps up I  will send them on to you without further comment if circumstances do not change.
Comment 6 Exceptions Reporter 2015-02-25 13:33:55 UTC
Created attachment 152211 [details]
stacktrace

.
Comment 7 Svata Dedic 2015-03-26 13:43:01 UTC
*** Bug 250455 has been marked as a duplicate of this bug. ***
Comment 8 galfieri 2015-08-06 16:33:10 UTC
After remove the plugin serialVersionUID generator the problem is fixed.
Comment 9 ehsavoie 2015-08-26 08:14:41 UTC
Created attachment 155657 [details]
stacktrace

Editing some code