From: Joe E. <jo...@em...> - 2011-09-10 13:25:22
|
So, I finally got rid of all of the compile-time errors from my refactored code... and now I'm getting this error at the end of the compile: > java.lang.NoSuchMethodError: > org.codehaus.groovy.control.CompilationUnit.<init>(Lorg/codehaus/groovy/control/CompilerConfiguration;Ljava/security/CodeSource;Lgroovy/lang/GroovyClassLoader;)V > at > org.jetbrains.groovy.compiler.rt.GroovycRunner$4.<init>(GroovycRunner.java:375) > at > org.jetbrains.groovy.compiler.rt.GroovycRunner.createCompilationUnit(GroovycRunner.java:375) > at > org.jetbrains.groovy.compiler.rt.GroovycRunner.main(GroovycRunner.java:123) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:75) I tried compiling trunk and I also get this error. I even tried the latest copy of the groovy JAR and I get this. I'm using Jetbrains IDEA as my IDE. Any thoughts? - Joe |
From: Vladimir A. <vl...@gm...> - 2011-09-10 13:53:48
|
On 09/10/2011 08:25 AM, Joe Emenaker wrote: > > So, I finally got rid of all of the compile-time errors from my > refactored code... and now I'm getting this error at the end of the compile: > > > I tried compiling trunk and I also get this error. I even tried the > latest copy of the groovy JAR and I get this. > > I'm using Jetbrains IDEA as my IDE. > > Any thoughts? > Just updated trunk, run ant clean, then ant dist, no errors just few warnings in from javadoc. I have sun jdk 6.26 and ant 1.8.1 installed from standard packages on ubuntu 11.4 -- Vladimir |
From: Joachim <li...@sd...> - 2011-09-10 16:13:33
|
He used the refactor branch not trunk. Am 10.09.2011 15:53, schrieb Vladimir Avdonin: > > > On 09/10/2011 08:25 AM, Joe Emenaker wrote: >> >> So, I finally got rid of all of the compile-time errors from my >> refactored code... and now I'm getting this error at the end of the compile: >> > >> >> I tried compiling trunk and I also get this error. I even tried the >> latest copy of the groovy JAR and I get this. >> >> I'm using Jetbrains IDEA as my IDE. >> >> Any thoughts? >> > > Just updated trunk, run ant clean, then ant dist, no errors just few > warnings in from javadoc. > > I have sun jdk 6.26 and ant 1.8.1 installed from standard packages on > ubuntu 11.4 > |
From: frankster <jsy...@te...> - 2011-09-10 22:49:35
|
On 10/09/2011 14:25, Joe Emenaker wrote: > So, I finally got rid of all of the compile-time errors from my > refactored code... and now I'm getting this error at the end of the compile: > >> java.lang.NoSuchMethodError: >> org.codehaus.groovy.control.CompilationUnit.<init>(Lorg/codehaus/groovy/control/CompilerConfiguration;Ljava/security/CodeSource;Lgroovy/lang/GroovyClassLoader;)V >> at >> org.jetbrains.groovy.compiler.rt.GroovycRunner$4.<init>(GroovycRunner.java:375) >> at >> org.jetbrains.groovy.compiler.rt.GroovycRunner.createCompilationUnit(GroovycRunner.java:375) >> at >> org.jetbrains.groovy.compiler.rt.GroovycRunner.main(GroovycRunner.java:123) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:75) > I tried compiling trunk and I also get this error. I even tried the > latest copy of the groovy JAR and I get this. > > I'm using Jetbrains IDEA as my IDE. > > Any thoughts? > > - Joe > > I get a different set of errors if I try and compile the uirefactor branch! I assume that you have already fixed these in your copy but not submitted them to SVN, so I won't bother trying to fix them myself ;) javac -g -classpath .:asm.jar:groovy.jar core/AbstractLibraryFrame.java core/AbstractLibraryFrame.java:60: cannot find symbol symbol : method getNewJSLFrame(java.lang.String,boolean) location: class org.jsynthlib.desktop.JSLDesktop menuFrame = PatchEdit.getDesktop().getNewJSLFrame(title, true); ^ ./org/jsynthlib/desktop/sdi/SDIJFrame.java:145: incomparable types: org.jsynthlib.desktop.JSLFrame and org.jsynthlib.desktop.sdi.SDIJFrame return (desktop.getSelectedJSLFrame() == this); ^ ./core/PatchEdit.java:115: inconvertible types found : org.jsynthlib.desktop.JSLFrame required: javax.swing.JFrame if(frame instanceof JFrame) { ^ ./core/PatchEdit.java:116: inconvertible types found : org.jsynthlib.desktop.JSLFrame required: javax.swing.JFrame return (JFrame) frame; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors make: *** [core/AbstractLibraryFrame.class] Error 1 frankie |
From: Joe E. <jo...@em...> - 2011-09-10 22:59:04
|
On 9/10/2011 3:49 PM, frankster wrote: > I get a different set of errors if I try and compile the uirefactor > branch! I assume that you have already fixed these in your copy but not > submitted them to SVN, so I won't bother trying to fix them myself ;) Yeah. I've got those fixed. And the compile-time error I was getting was because IDEA was trying to use its built-in Groovy compiler, which I was able to turn off. So, I've got it compiling now... and now I've progressed to NullPointerExceptions before the GUI even opens. Progress! - Joe |