On 31/10/2007, Carl Trieloff <[EMAIL PROTECTED]> wrote:
>
> > So again Carl, without knowing what you mean by 'broken' and failing
> > to have any form of build output I can't say with any authority were
> > the problem occurred.
> >
> >
>
> Agree -- I expect it is fine for Rajith to cut new RC's, but I also want
> to see what went wrong
> on the build server - have you seen this before? looks like a java
> version mismatch but that makes
> no sense.
>
> compile:
> check_generate_deps:
> generate:
> [mkdir] Created dir:
> /usr/share/cruisecontrol-bin-2.6.1/projects/qpid-M2/java/common/target/generated-sources/gentools/org/apache/qpid/framing
> [java] Exception in thread "main"
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
> [java] at java.lang.ClassLoader.defineClass1(Native Method)
> [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> [java] at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred
> while executing this line:
> /usr/share/cruisecontrol-bin-2.6.1/projects/qpid-M2/java/common/protocol-version.xml:35:
> Java returned: 1
>
Happens to me when say JDK 1.6 was used to compile the framing but
then 1.5 was used to build the main code base.

>From our testing we should only be using JDK 1.6 as there are a few
bugs in 1.5 that can lock up the tests.

-- 
Martin Ritchie

Reply via email to