Sequence diagram generation (tomcat, mac os x 10.5.8, java 1.5.0_19-137)

51 views
Skip to first unread message

Shalon

unread,
Sep 2, 2009, 4:20:31 AM9/2/09
to jTracert users and developers
Greetings,

I was able to connect jTracert GUI (agent listening at 7007) with my
local instance of a running tomcat server. I have a webapp
(Something.war) deployed, and can actually run my tests at
http://localhost:8080/Something

However, I don't see any out put / sequence diagram being generated in
the GUI. Not even the sdx files on the filesystem either. Has anyone
run into this problem before ? Thoughts ? Is there any jTrace specific
log that I could look into for debug / providing more info if needed.

Thanks for your help in adv.

Regards,
Shalon

Shalon

unread,
Sep 4, 2009, 1:29:52 AM9/4/09
to jTracert users and developers
Here is the stack trace I notice upon basic tests. Looks like jTracert
is having difficulty handling reflection.

java.lang.NullPointerException
at
com.google.code.jtracert.util.ClassUtils.getFullyQualifiedName
(ClassUtils.java:16)
at
com.google.code.jtracert.agent.JTracertClassFileTransformer.transform
(JTracertClassFileTransformer.java:76)
at sun.instrument.TransformerManager.transform
(TransformerManager.java:122)
at sun.instrument.InstrumentationImpl.transform
(InstrumentationImpl.java:155)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.lang.ClassLoader.defineClass(ClassLoader.java:455)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.sf.cglib.CodeGenerator.defineClass(CodeGenerator.java:
168)
at net.sf.cglib.CodeGenerator.define(CodeGenerator.java:140)
at net.sf.cglib.ConstructorProxy.createHelper
(ConstructorProxy.java:112)
at net.sf.cglib.ConstructorProxy.create(ConstructorProxy.java:
88)

On Sep 2, 4:20 am, Shalon <shalon....@gmail.com> wrote:
> Greetings,
>
> I was able to connect jTracert GUI (agent listening at 7007) with my
> local instance of a running tomcat server. I have a webapp
> (Something.war) deployed, and can actually run my tests athttp://localhost:8080/Something

bedrin

unread,
Sep 4, 2009, 2:42:23 AM9/4/09
to jTracert users and developers
Shalon,

This issue is already fixed in SVN. See Issue 16:
http://code.google.com/p/jtracert/issues/detail?id=16
You can build jTracert from SVN yourself or wait for a next release.

http://code.google.com/p/jtracert/wiki/BuildingJTracertFromSVN

Regards,
Dmitry Bedrin.
Reply all
Reply to author
Forward
0 new messages