File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes InvocationException from Java Debug Interface in Bodgitt & Scarper 2.2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "InvocationException from Java Debug Interface in Bodgitt & Scarper 2.2.3" Watch "InvocationException from Java Debug Interface in Bodgitt & Scarper 2.2.3" New topic
Author

InvocationException from Java Debug Interface in Bodgitt & Scarper 2.2.3

satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi,

This question may seem to be not related to SCJD but I found this exception while testing my SCJD assignment. When retrieving my data from the database file, I am getting this exception in my TransferObject
com.sun.jdi.InvocationException occurred invoking method..

Please let me know any of you getting similar exception.


sat
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5535
    
  13

No stacktrace at all? Just this exception?

According to javadoc
Thrown to indicate an exception occurred in an invoked method within the target VM.

something is wrong in your code, but without more information it's hard to help you.

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi Roel,

No stack trace. This is happening only in debug mode. Thats why I am not able to provide more information.

sat
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi,

Any information on this issue? I would like to hear some solution.

sat
Matheus Mendes
Ranch Hand

Joined: May 15, 2007
Posts: 66
When exacly this exception appears ??? are you trying to inspect any variable or have any watch points around the code ?

I already saw this exception occurs when you try to invoke the toString() method....

The Death of one is a tragedy, but the Death of a million is just a statistic. Joseph Stalin

SCJP 6.0, SCJD
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi,

I am trying to inspect the value of my ValueObject and this exception occurs only in debug mode. You are exactly correct, this exception
may occur in toString method.

any idea>?

sat
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5535
    
  13

If I use google, it came up with a similar problem.

Kind regards,
Roel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InvocationException from Java Debug Interface in Bodgitt & Scarper 2.2.3