• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Invocation API problem

 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We've got a C-based program that is trying to utilize the Java Invocation API to integrate to a third-party tool using its Java API.
The problem is that our JVM mysteriously vanished when we try to make the fourth or fifth method call. This is particularily annoying, because we get it up and it looks like its running, but then it goes away. There are no error messages generated.

Our JVM gracefully "goes away" (along with the rest of the application!) in a call to either one of these methods -- methods which we were able to sucessfully call earlier in the same instance of the application.
Does anybody have any experience with a situation like this?
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We've found that the problem is producing a memory dump-type file. The contents look like:

Does this mean that we cannot find the getClass method, or that there is some function call in the getClass method that we are unable to load?
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it...in case anybody is reading. Our application was not handling NULL parameters properly, and that was what was causing the crash.

Thanks, all
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!