+ Reply to Thread
Results 1 to 1 of 1

Thread: C error thrown when validating Java run script on 64 bit machine

  1. #1
    Young's Avatar
    Young is offline Junior Member
    Join Date
    March 5th, 2008
    Location
    Toronto, Canada
    Posts
    58
    Blog Entries
    1
    Downloads
    7
    Uploads
    0

    Default C error thrown when validating Java run script on 64 bit machine

    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).

    Code:
    Service script is not valid due to following error: terminate called 
    after throwing an instance of 'std::bad_alloc'  what():
    
    What could be causing this error?
    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.
    Last edited by Young; March 28th, 2008 at 07:12 PM.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts