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 226795 - NoClassDefFoundError: Could not initialize class org.spockframework.util.VersionChecker
Summary: NoClassDefFoundError: Could not initialize class org.spockframework.util.Vers...
Status: RESOLVED INCOMPLETE
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 15:09 UTC by keeperlink
Modified: 2013-06-17 12:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194001


Attachments
stacktrace (5.36 KB, text/plain)
2013-02-27 15:09 UTC, keeperlink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description keeperlink 2013-02-27 15:09:06 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
henrik1409: Starting up for the first time + scanning projects




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.spockframework.util.VersionChecker
   at org.spockframework.compiler.SpockTransform.<init>(SpockTransform.java:42)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
   at java.lang.Class.newInstance0(Class.java:374)
Comment 1 keeperlink 2013-02-27 15:09:08 UTC
Created attachment 131970 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-06-04 07:07:23 UTC
First error at
http://statistics.netbeans.org/exceptions/messageslog?id=666042
is

WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]
java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.InvokerHelper.getVersion()Ljava/lang/String;
	at org.spockframework.util.GroovyReleaseInfo.getVersion(GroovyReleaseInfo.java:23)
	at org.spockframework.util.VersionChecker.<clinit>(VersionChecker.java:18)
	at org.spockframework.compiler.SpockTransform.<init>(SpockTransform.java:42)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:374)
	at java.lang.Class.newInstance(Class.java:327)

assigning to groovy.
Comment 3 Martin Janicek 2013-06-04 07:12:59 UTC
Obviously somehow related to Spock framework. Could anyone tell me what version of Spock are you using?
Comment 4 Martin Janicek 2013-06-17 12:18:51 UTC
I'm sorry but I can't do anything about this issue without reproducible test case. So anyone who will reproduce this issue again, could you please share your project? Thanks in advance