This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Segmentation Violation & Stack Overflow error... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Segmentation Violation & Stack Overflow error..." Watch "Segmentation Violation & Stack Overflow error..." New topic
Author

Segmentation Violation & Stack Overflow error...

ums sum
Greenhorn

Joined: Oct 22, 2002
Posts: 1
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

Joined: Sep 29, 2000
Posts: 8521
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.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
jQuery in Action, 2nd edition
 
subject: Segmentation Violation & Stack Overflow error...
 
Similar Threads
Why cant i call main method from another class having main block
segmentation violation in loadjava
StackOverflowError
WAS3.5 AIX Segmentation Fault Problem
Java core dump