When validating the service run script created by Eclipse plug-in, it may generate following error in 64 bit Linux machine (Red Hat Enterprise 2.6, Java 1.5).
What could be causing this error?Code:Service script is not valid due to following error: terminate called after throwing an instance of 'std::bad_alloc' what():
Any way to resolve this?
Some may ask why C error is thrown from Java service. It's because Java API wraps C implementation of code SDK through JNI. C library is loaded to JVM, so it is possible to through C errors. If there was a coredump, reviewing the call stack could help see the root cause of such problem.


LinkBack URL
About LinkBacks
Reply With Quote
