Book a Demo

Author Topic: "Failed to find class" in Execution Analyzer Debug  (Read 4907 times)

imichel

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
"Failed to find class" in Execution Analyzer Debug
« on: November 15, 2012, 01:06:12 am »
Hi All,

I am trying to connect EA to my running Jboss server and after that generate sequence diagrams as I use the application.  

The instructions in the EA help docs tell me to do 2 major things:

1) Add the agent dll path to my VM args
2) Add the root of the source code to my classpath.

For #1 it is successful because I am able to connect to the process.  For #2, I am getting an error when going to "Debug" which is:

[88796323]      Failed to find class com.path.to.Class

The path which I added to me classpath for #1 points to the directory which contains the "com" folder:

c:\code\myapplication\src

Does any one know what is going on?  

I am using Jboss Developer Studio 3.0 and have added the source location in the Launch Configuration of my server by going to the "Classpath" tab and then added "c:\code\myapplication\src" as a User Entry there.  

I am on version 8.0 of EA, although the DLL that comes with the install says "75" and it is associated to the vm like this:

 -agentpath:"C:\Program Files\Sparx Systems\EA\SSJavaProfiler75"

Thanks,

Ian


imichel

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: "Failed to find class" in Execution
« Reply #1 on: November 15, 2012, 01:10:49 am »
One more thing, my console the "failed to find class" messags is nested in other errors, as below:

[88796289]      Default Directory is C:\Program Files\Java\jre6\bin
[88796291]      Unhandled exception stacktrace:
[88796292]      0  ClassLoader.loadClass
[88796293]      1  Launcher$AppClassLoader.loadClass
[88796294]      2  ClassLoader.loadClass
[88796295]      3  URLClassLoader.findClass
[88796298]      4  AccessController.doPrivileged
[88796299]      5  URLClassLoader$1.run
[88796300]      Unhandled exception stacktrace:
[88796301]      0  ClassLoader.loadClass
[88796303]      1  Launcher$AppClassLoader.loadClass
[88796304]      2  ClassLoader.loadClass
[88796306]      3  URLClassLoader.findClass
[88796307]      Failed to find class com.path.to.Class
[88796308]      Unhandled exception stacktrace:
[88796310]      0  ClassLoader.loadClass
[88796311]      1  Launcher$AppClassLoader.loadClass
[88796312]      2  ClassLoader.loadClass
[88796313]      3  URLClassLoader.findClass
[88796314]      4  AccessController.doPrivileged
[88796316]      5  URLClassLoader$1.run
[88796317]      Unhandled exception stacktrace:
[88796318]      0  ClassLoader.loadClass
[88796319]      1  Launcher$AppClassLoader.loadClass
[88796321]      2  ClassLoader.loadClass
[88796322]      3  URLClassLoader.findClass
[88796405]      debug starts for C:\Program Files\Java\jre6\bin\javaw.exe
[88796410]      Failed to set breakpoint in file c:\code\myapplication\src\path.to.Class.java at line 24
« Last Edit: November 15, 2012, 01:12:02 am by imichel »