Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » IOException with (MAT+DTFJ) when reading a phd file
IOException with (MAT+DTFJ) when reading a phd file [message #9334] Fri, 06 March 2009 18:42 Go to next message
Rohit Kelapure is currently offline Rohit KelapureFriend
Messages: 11
Registered: July 2009
Junior Member
Dear All,

I am using the IBM DTFJ adapter for Eclipse Memory Analyzer Tool to read a
IBM portable headdump file in the phd format. MAT + DTFJ i.e. the
org.eclipse.mat.parser dies with the following stack trace when reading
the phd file.

Has any one seen the parse error (pasted below) before ?
I downloaded the latest Stand-alone Eclipse RCP from
http://www.eclipse.org/mat/downloads.php

--Thanks,
Rohit


!ENTRY org.eclipse.mat.parser 4 0 2009-03-06 11:29:50.688
!MESSAGE Error opening heap dump
!SUBENTRY 1 org.eclipse.mat.parser 4 0 2009-03-06 11:29:50.688
!MESSAGE Unable to read dump
C:\pmrs\79728,005,000\79728.005.000-javacore.20090226.081020 .6940\heapdump.20090226.080944.6940.phd
metafile null in DTFJ format DTFJ-PHD
!STACK 0
java.io.IOException: Unable to read dump
C:\pmrs\79728,005,000\79728.005.000-javacore.20090226.081020 .6940\heapdump.20090226.080944.6940.phd
metafile null in DTFJ format DTFJ-PHD
at
org.eclipse.mat.dtfj.DTFJIndexBuilder.getDynamicDTFJDump(DTF JIndexBuilder.java:4527)
at
org.eclipse.mat.dtfj.DTFJIndexBuilder.getUncachedDump(DTFJIn dexBuilder.java:4274)
at
org.eclipse.mat.dtfj.DTFJIndexBuilder.getDump(DTFJIndexBuild er.java:4242)
at org.eclipse.mat.dtfj.DTFJIndexBuilder.fill(DTFJIndexBuilder. java:336)
at
org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(Sn apshotFactoryImpl.java:184)
at
org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnap shot(SnapshotFactoryImpl.java:102)
at
org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(Snapsh otFactory.java:87)
at
org.eclipse.mat.ui.snapshot.ParseHeapDumpJob.run(ParseHeapDu mpJob.java:54)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: Unable to read dump
C:\pmrs\79728,005,000\79728.005.000-javacore.20090226.081020 .6940\heapdump.20090226.080944.6940.phd
in DTFJ format DTFJ-PHD
at
org.eclipse.mat.dtfj.DTFJIndexBuilder.getDynamicDTFJDump(DTF JIndexBuilder.java:4516)
... 8 more
Caused by: java.lang.NullPointerException
at com.ibm.dtfj.phd.PHDJavaClassLoader.remove(PHDJavaClassLoade r.java:360)
at com.ibm.dtfj.phd.PHDJavaRuntime.transferClass(PHDJavaRuntime .java:588)
at com.ibm.dtfj.phd.PHDJavaRuntime.findLoaders(PHDJavaRuntime.j ava:561)
at com.ibm.dtfj.phd.PHDJavaRuntime.<init>(PHDJavaRuntime.java:84)
at com.ibm.dtfj.phd.PHDImageProcess.<init>(PHDImageProcess.java:56)
at
com.ibm.dtfj.phd.PHDImageAddressSpace.<init>(PHDImageAddressSpace.java:39)
at com.ibm.dtfj.phd.PHDImage.<init>(PHDImage.java:66)
at com.ibm.dtfj.phd.PHDImage.<init>(PHDImage.java:43)
at com.ibm.dtfj.phd.PHDImageFactory.getImage(PHDImageFactory.ja va:79)
at
org.eclipse.mat.dtfj.DTFJIndexBuilder.getDynamicDTFJDump(DTF JIndexBuilder.java:4512)
... 8 more
Re: IOException with (MAT+DTFJ) when reading a phd file [message #9358 is a reply to message #9334] Mon, 09 March 2009 19:36 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
This is tracked under bug 266376.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=266376

I don't have any more news about when we can release the fix to DTFJ.

Andrew Johnson
Re: IOException with (MAT+DTFJ) when reading a phd file [message #9944 is a reply to message #9334] Sat, 04 April 2009 20:10 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Please try the new DTFJ adapter and the new DTFJ as explained in here:
http://www.eclipse.org/newsportal/article.php?id=264&gro up=eclipse.technology.memory-analyzer#264
Previous Topic:CorruptDataException with (MAT+DTFJ) when reading a jextracted core
Next Topic:Inconsistent display of HashMap-keys
Goto Forum:
  


Current Time: Thu Apr 25 13:22:27 GMT 2024

Powered by FUDForum. Page generated in 0.03586 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top