[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [mat-dev] NoSuchMethodError: org.eclipse.core.runtime.Status.<init>

Hi Brad,

it looks like we are a little bit too lax with our bundle dependencies:

The constructor method says...
	/**
	 * @since org.eclipse.equinox.common 3.3
	 */
which, not surprisingly, leads to the no such method error.


We will
(i) update our dependencies with the correct version (the update manager
will warn you)
(ii) check if we can support 3.2.2 by using another constructor (but
this could require more)

I have taken the liberty to create this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=234428


In the mean time, I can only suggest to either update your Eclipse
installation to version 3.3.2 (latest stable) or use our linux download
provided (http://www.eclipse.org/mat/downloads.php). Both options,
however, do not involve Debian packages though. Sorry.


This bug has some kind of history: up to now, we usually distributed the
stand-alone version. As the Memory Analyzer is often used inside Support
Organizations, we never really had the need to run as feature only.


Kind regards,

  - Andreas.





-----Original Message-----
From: mat-dev-bounces@xxxxxxxxxxx [mailto:mat-dev-bounces@xxxxxxxxxxx]
On Behalf Of Brad Johnson
Sent: Mittwoch, 28. Mai 2008 18:34
To: mat-dev@xxxxxxxxxxx
Subject: [mat-dev] NoSuchMethodError:
org.eclipse.core.runtime.Status.<init>


Hello Everyone,

I'm running Eclipse SDK version 3.2.2 included with Ubuntu 8.04. I
installed MAT from the Update Site at:
http://download.eclipse.org/technology/mat/0.7/update-site/ . It seemed
to install okay and I restarted Eclipse and used File/Open to open a
heap dump I had saved using jmap. It started to load the heap file and
there was a progress bar. In a second or two it had advanced to about
25% and then in the window it said there had been an internal error. I
looked in the .metadata/.log and found the following exception:

!ENTRY org.eclipse.core.jobs 4 2 2008-05-28 11:16:52.586
!MESSAGE An internal error occurred during: "Parsing heap dump from
'/home/jjohnson/HeapDump.hprof'".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.core.runtime.Status.<init>(ILjava/lang/String;Ljava/lang/Str
ing;Ljava/lang/Throwable;)V
        at
org.eclipse.mat.ui.util.ProgressMonitorWrapper.doSendUserMessage(Progres
sMonitorWrapper.java:106)
        at
org.eclipse.mat.ui.util.ProgressMonitorWrapper.sendUserMessage(ProgressM
onitorWrapper.java:88)
        at
org.eclipse.mat.hprof.HprofParserHandlerImpl.beforePass2(HprofParserHand
lerImpl.java:93)
        at
org.eclipse.mat.hprof.HprofIndexBuilder.fill(HprofIndexBuilder.java:76)
        at
org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(SnapshotFactor
yImpl.java:183)
        at
org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(Snapsho
tFactoryImpl.java:101)
        at
org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.ja
va:77)
        at
org.eclipse.mat.ui.internal.ParseHeapDumpJob.run(ParseHeapDumpJob.java:5
2)

Any ideas?

thanks,
Brad
_______________________________________________
mat-dev mailing list
mat-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mat-dev