Hi Andrew,
how did you install the dtfj update site? Via the “classic”
update manager? Or did you unzip the site into the MAT directory? The latter
could explain this error. Also: the RCP is now bundled with Eclipse 3.5 (I believe
RC4 of the platform).
Andreas.
From: mat-dev-bounces@xxxxxxxxxxx
[mailto:mat-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Johnson
Sent: Dienstag, 16. Juni 2009 11:29
To: Memory Analyzer Dev list
Subject: RE: [mat-dev] Latest builds
I've tried the
latest build MemoryAnalyzer-Incubation-0.8.0.20090615-win32.win32.x86.zip
and got the
following error after installing the DTFJ dtfj-updatesite.zip available from
IBM developerWorks.
The error went
away when I restarted MAT with MemoryAnalyzer -clean
I don't know
what caused the problem.
!SESSION 2009-06-16
10:05:16.453 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10
java.vendor=Sun
Microsystems Inc.
BootLoader constants:
OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line
arguments: -os win32 -ws win32 -arch x86
!ENTRY
org.eclipse.mat.ui 4 0 2009-06-16 10:05:39.625
!MESSAGE Error while
creating IObjectReader 'null'
!STACK 1
org.eclipse.core.runtime.CoreException:
Plug-in "org.eclipse.mat.dtfj" was unable to instantiate class
"org.eclipse.mat.dtfj.DTFJHeapObjectReader".
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.mat.parser.internal.util.ParserRegistry$Parser.create(ParserRegistry.java:72)
at
org.eclipse.mat.parser.internal.SnapshotImpl.readFromFile(SnapshotImpl.java:108)
at
org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:87)
at
org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:114)
at
org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:94)
at org.eclipse.mat.ui.snapshot.ParseHeapDumpJob.run(ParseHeapDumpJob.java:54)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by:
java.lang.NoClassDefFoundError: com/ibm/dtfj/image/MemoryAccessException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
... 10 more
Caused by:
java.lang.ClassNotFoundException: com.ibm.dtfj.image.MemoryAccessException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 16 more
Andrew Johnson
Unless
stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU