Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


john steed
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I can't seem to convert the jstring I return from my java code to a c++ string.

I get a core when I call GetStringUTFChars.

Here's my code:

and the error:

Unexpected Signal : 11 occurred at PC=0xff1131a4
Function name=JVM_MonitorWait

Current Java thread:

Dynamic libraries:
0x10000 a.out
0xff350000 /usr/j2se/jre/lib/sparc/
0xff000000 /usr/j2se/jre/lib/sparc/
0xfefd0000 /usr/lib/
0xfef00000 /usr/lib/
0xfeed0000 /usr/j2se/jre/lib/sparc/
0xfeeb0000 /usr/lib/
0xfee00000 /usr/lib/
0xff390000 /usr/lib/
0xfedc0000 /usr/lib/
0xfed70000 /usr/lib/
0xfed50000 /usr/lib/
0xfedf0000 /usr/lib/
0xfed30000 /usr/platform/SUNW,Ultra-1/lib/
0xfecc0000 /usr/j2se/jre/lib/sparc/native_threads/
0xfec90000 /usr/j2se/jre/lib/sparc/
0xfe3a0000 /usr/lib/locale/en_IE.ISO8859-1/
0xfe2e0000 /usr/lib/
0xfe2c0000 /usr/lib/

Local Time = Tue Feb 1 11:42:09 2005
Elapsed Time = 1
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002C4 01
# Please report this error at
# Java VM: Java HotSpot(TM) Client VM (1.3.1_01 interpreted mode)
# An error report file has been saved as hs_err_pid14507.log.
# Please refer to the file for further information.
Abort (core dumped)

If anybody has any suggestions it would be appreciated?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic