• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InvocationException from Java Debug Interface in Bodgitt & Scarper 2.2.3

 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 9818
101
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

sat
 
Matheus Mendes
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 9818
101
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I use google, it came up with a similar problem.

Kind regards,
Roel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic