Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Segmentation Violation & Stack Overflow error...

 
ums sum
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having some Bean components that access Native C++ code.
This applet runs fine on a browser.
I am using Java 1.3 PlugIn.
However when I run it standalone, I get Segmentation Violation error or it gives a Dialog �Unhandled Exception in java.exe - OXC00000FD Stack Overflow�. I am using Java1.3_01 version.
The exception seems to be coming from a library that makes a Recursive Call to a method.
Please let me know if there is any solution to this problem.
Thanks.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From ERROR CHECKING WITH JNI
There are several interesting aspects of the C++ function worth mentioning. One is that C++ doesn't automatically check for null pointers (references) in the way that the Java language does. If you pass a null string to the function and don't check for it, you'll probably get a "Segmentation violation" error.

Sounds like you are not passing some parameter in your JNI call.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic