[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: Problem loading classes from external jars

Thanks Curt for responding.

As highlighted in the bug it looks like the problems is compatibility with Eclipse 3.1.
I have tried to run it as an external program, it runs and I can attach to it, but it requires so many resources (both CPU and memory), that evan my Pentium 4 3Gz with 512Mb of memory cannot handle it, and eventually the profiled application crashes (out of resources?).
So I think it is time for me to remove Hyades from my system and wait when it is more stable and part of the Eclipse IDE (or somebody writes JFluid plugin ;-).


Thanks, Lubos

Curtis d'Entremont wrote:


Hi Lubos,

Yes, I remember seeing (and fixing) this problem in 3.0, but apparently it's back. I reopened the bug it was tracked under and it will be fixed in 3.2 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=55310).

In the meantime, the workaround is to run it normally in Run mode, and add the VM argument "-XrunpiAgent:server=controlled". Nothing will happen immediately - it's waiting for you to attach the profiler. To do this, create a new "Attach - Java Process" launch configuration and find the agent with the corresponding process ID.

Thank you for reporting this. If you like, you can add yourself to the CC list and get notified of any bug activity.

Thanks,
Curt

Lubos Pochman wrote:

I have problem profiling applications from Eclipse using Hyades plugin.
When I run application, that doesn't reference any external jars it runs OK.

When I start Profiling an application which references classes I am getting NoClassDefFoundError, but when I check the application properties, the jar in question is listed in classpath.

java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
at



com.insightful.infact.ontology.util.OntologyLookup.main(OntologyLookup.java:92)
Exception in thread "main"

Note that I am using for profiling same Run/Debug eclipse profile which works OK otherwise.
I also tried creating standalone java application result, but get the same result.

I use Eclipse 3.1, Haydes 3.2.0, (had same problems with Haydes 3.1).
Java 1.4.2_03.
Platform is Windows XP.

Anybody encountered similar problem?