Cannot profile application running with JDK 1.4.2 [message #116980] |
Fri, 02 November 2007 04:19  |
Eclipse User |
|
|
|
Originally posted by: joerg.schaible.elsag-solutions.com
Hi,
it seems that profiling applications running with a JDK 1.4.2 runtime is
broken (using TPTP 4.4.0.3). Eclipse itself is running with JDK 1.6.0 and
the IAC starts successfully. I select the "Exeution Time Analysis" filter
from the "Java Profiling - pre JRE 1.5" group and start the profile action.
Eclipse switches into the "Profile and Logging" perspective and starts to
collect data, but fails quite immediately after the start with:
============ %< =============
java.lang.UnsupportedClassVersionError: org/eclipse/emf/ecore/EObject
(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274 )
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274 )
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
at
org.eclipse.hyades.logging.commons.FileLoggerFactory.getInst ance(FileLoggerFactory.java:271)
at
org.eclipse.hyades.logging.commons.FileLoggerFactory.getInst ance(FileLoggerFactory.java:226)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :645)
at
ip.report.provider.definition.AbstractIPReportProvider.<clinit >(AbstractIPReportProvider.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:2 74)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at
com.elsagsolutions.commons.lang.reflect.GeneralFactory.creat eInjectedInstance(GeneralFactory.java:487)
at integration.ReportProviderTest.<init>(ReportProviderTest.java:59)
at integration.ReportProviderTest.main(ReportProviderTest.java: 87)
Exception in thread "main"
============ %< =============
My application does not use any Eclipse classes, so the EObject.class must
be triggered by TPTP. For some reason the classpath seems to get mixed up
for the loggers.
Yes, I can profile JDK 1.5 applications. No, that application cannot run on
JDK 1.5. So I am stuck. Any suggestions?
- J
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05910 seconds