[mapserver-users] Mapscript java exceptions
Pedro Duarte
pduarte at ambisig.com
Mon Jul 1 02:47:20 PDT 2002
Hi,
Can someone help me to catch exceptions in java that occours outside
the java VM (in the mapscript library). I think that it's necessary to
change swig interface to catch the exceptions. Can someone help me?
thanks.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x49eaf699
Function name=Java_edu_umn_gis_mapscript_mapscript_get_1rectObj_1minx
Library=/usr/local/lib/libmapscript.so
Current Java thread:
at edu.umn.gis.mapscript.mapscript.get_rectObj_minx(Native Method)
at edu.umn.gis.mapscript.rectObj.getMinx(rectObj.java:42)
at testems.contextoMapa.setExtent(contextoMapa.java:45)
at testems.mapa.IniciaSessao2(mapa.java:284)
at testems.mapa.processaPedido(mapa.java:71)
at frameset._0002fframeset_0002fmapa_0002ejspmapa_jsp_0._jspService(_0002fframeset_0002fmapa_0002ejspmapa_jsp_0.java:91)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Dynamic libraries:
08048000-0804c000 r-xp 00000000 03:06 327920 /usr/local/JBuilder6/jdk1.3.1/bin/i386/native_threads/java
0804c000-0804d000 rw-p 00003000 03:06 327920 /usr/local/JBuilder6/jdk1.3.1/bin/i386/native_threads/java
40000000-40014000 r-xp 00000000 03:01 47908 /lib/ld-2.2.4.so
40014000-40015000 rw-p 00013000 03:01 47908 /lib/ld-2.2.4.so
40026000-40027000 r--p 00000000 03:06 97753 /usr/share/locale/en_US/LC_IDENTIFICATION
40027000-40028000 r--p 00000000 03:06 97752 /usr/share/locale/en_US/LC_MEASUREMENT
40028000-40036000 r-xp 00000000 03:01 47953 /lib/libpthread-0.9.so
40036000-4003e000 rw-p 0000d000 03:01 47953 /lib/libpthread-0.9.so
4003e000-40047000 r-xp 00000000 03:06 279061 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
40047000-40048000 rw-p 00008000 03:06 279061 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
40049000-402b0000 r-xp 00000000 03:06 1012021 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/client/libjvm.so
402b0000-40416000 rw-p 00266000 03:06 1012021 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/client/libjvm.so
4042d000-4042f000 r-xp 00000000 03:01 47921 /lib/libdl-2.2.4.so
4042f000-40430000 rw-p 00001000 03:01 47921 /lib/libdl-2.2.4.so
40430000-40562000 r-xp 00000000 03:01 47917 /lib/libc-2.2.4.so
40562000-40568000 rw-p 00131000 03:01 47917 /lib/libc-2.2.4.so
4056c000-4057e000 r-xp 00000000 03:01 47926 /lib/libnsl-2.2.4.so
4057e000-40580000 rw-p 00011000 03:01 47926 /lib/libnsl-2.2.4.so
40582000-405a3000 r-xp 00000000 03:01 47923 /lib/libm-2.2.4.so
405a3000-405a4000 rw-p 00020000 03:01 47923 /lib/libm-2.2.4.so
405a4000-405dd000 r-xp 00000000 03:06 244413 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
405dd000-405ee000 rw-p 00038000 03:06 244413 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
405f2000-40603000 r-xp 00000000 03:06 441958 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libverify.so
40603000-40605000 rw-p 00010000 03:06 441958 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libverify.so
40605000-40626000 r-xp 00000000 03:06 441948 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libjava.so
40626000-40628000 rw-p 00020000 03:06 441948 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libjava.so
40629000-4063d000 r-xp 00000000 03:06 441959 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libzip.so
4063d000-40640000 rw-p 00013000 03:06 441959 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libzip.so
40640000-41359000 r--s 00000000 03:06 816576 /usr/local/JBuilder6/jdk1.3.1/jre/lib/rt.jar
41386000-4162b000 r--s 00000000 03:06 816569 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i18n.jar
4162b000-41641000 r--s 00000000 03:06 816577 /usr/local/JBuilder6/jdk1.3.1/jre/lib/sunrsasign.jar
436e9000-436ea000 r--p 00000000 03:06 97748 /usr/share/locale/en_US/LC_TELEPHONE
436ea000-436eb000 r--p 00000000 03:06 97754 /usr/share/locale/en_US/LC_ADDRESS
436eb000-436ec000 r--p 00000000 03:06 97750 /usr/share/locale/en_US/LC_NAME
436ec000-436ed000 r--p 00000000 03:06 97749 /usr/share/locale/en_US/LC_PAPER
436ed000-436ee000 r--p 00000000 03:06 488652 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
436ee000-436ef000 r--p 00000000 03:06 97751 /usr/share/locale/en_US/LC_MONETARY
436ef000-436f0000 r--p 00000000 03:06 97747 /usr/share/locale/en_US/LC_TIME
4973f000-4976a000 r--p 00000000 03:06 1123876 /usr/share/locale/ISO-8859-1/LC_CTYPE
4976a000-49770000 r--p 00000000 03:06 1123875 /usr/share/locale/ISO-8859-1/LC_COLLATE
49770000-49771000 r--p 00000000 03:06 765555 /usr/share/locale/en_US/LC_NUMERIC
49771000-49774000 r-xp 00000000 03:06 1270692 /usr/local/JBuilder6/jdk1.3.1/lib/i386/libdt_socket.so
49774000-49775000 rw-p 00002000 03:06 1270692 /usr/local/JBuilder6/jdk1.3.1/lib/i386/libdt_socket.so
49775000-49777000 r--s 00000000 03:06 897951 /usr/local/JBuilder6/jakarta-tomcat-3.2.3/lib/jaxp.jar
49777000-49781000 r--s 00000000 03:06 897953 /usr/local/JBuilder6/jakarta-tomcat-3.2.3/lib/servlet.jar
49783000-4978c000 r-xp 00000000 03:01 47942 /lib/libnss_files-2.2.4.so
4978c000-4978d000 rw-p 00008000 03:01 47942 /lib/libnss_files-2.2.4.so
4978d000-497b6000 r-xp 00000000 03:06 1270693 /usr/local/JBuilder6/jdk1.3.1/lib/i386/libjdwp.so
497b6000-497b7000 ---p 00029000 03:06 1270693 /usr/local/JBuilder6/jdk1.3.1/lib/i386/libjdwp.so
497b7000-497b8000 rw-p 00029000 03:06 1270693 /usr/local/JBuilder6/jdk1.3.1/lib/i386/libjdwp.so
497bb000-49825000 r--s 00000000 03:06 897954 /usr/local/JBuilder6/jakarta-tomcat-3.2.3/lib/webserver.jar
49891000-498c7000 r--s 00000000 03:06 897950 /usr/local/JBuilder6/jakarta-tomcat-3.2.3/lib/jasper.jar
498c7000-498e9000 r--s 00000000 03:06 897952 /usr/local/JBuilder6/jakarta-tomcat-3.2.3/lib/parser.jar
498e9000-4994c000 r--s 00000000 03:06 1270552 /usr/local/JBuilder6/jdk1.3.1/demo/jfc/Java2D/Java2Demo.jar
4994c000-499a6000 r--s 00000000 03:06 816570 /usr/local/JBuilder6/jdk1.3.1/jre/lib/javaplugin.jar
499a6000-499c6000 r--s 00000000 03:06 1270689 /usr/local/JBuilder6/jdk1.3.1/lib/dt.jar
499c6000-499f6000 r--s 00000000 03:06 1270690 /usr/local/JBuilder6/jdk1.3.1/lib/htmlconverter.jar
499f6000-49e75000 r--s 00000000 03:06 1270696 /usr/local/JBuilder6/jdk1.3.1/lib/tools.jar
49e75000-49e7e000 r-xp 00000000 03:06 441956 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libnet.so
49e7e000-49e7f000 rw-p 00008000 03:06 441956 /usr/local/JBuilder6/jdk1.3.1/jre/lib/i386/libnet.so
49e7f000-49f11000 r-xp 00000000 03:06 1060948 /usr/local/lib/libmapscript.so
49f11000-49f16000 rw-p 00091000 03:06 1060948 /usr/local/lib/libmapscript.so
49f28000-49f3b000 r-xp 00000000 03:06 245084 /usr/lib/libgd.so.1.8.4
49f3b000-49f5b000 rw-p 00012000 03:06 245084 /usr/lib/libgd.so.1.8.4
49f5f000-49f7f000 r-xp 00000000 03:06 244417 /usr/lib/libjpeg.so.62.0.0
49f7f000-49f80000 rw-p 0001f000 03:06 244417 /usr/lib/libjpeg.so.62.0.0
49f80000-49fc2000 r-xp 00000000 03:06 1060950 /usr/local/lib/libfreetype.so.6.3.1
49fc2000-49fc7000 rw-p 00041000 03:06 1060950 /usr/local/lib/libfreetype.so.6.3.1
49fc7000-49ff4000 r-xp 00000000 03:06 1060944 /usr/local/lib/libpng.so.3.1.2.1
49ff4000-49ff6000 rw-p 0002c000 03:06 1060944 /usr/local/lib/libpng.so.3.1.2.1
49ff6000-4a003000 r-xp 00000000 03:01 47968 /lib/libz.so.1.1.3
4a003000-4a005000 rw-p 0000c000 03:01 47968 /lib/libz.so.1.1.3
4a005000-4a045000 r-xp 00000000 03:06 1060924 /usr/local/lib/libtiff.so.3.5.7
4a045000-4a047000 rw-p 0003f000 03:06 1060924 /usr/local/lib/libtiff.so.3.5.7
4a047000-4a205000 r-xp 00000000 03:06 1060940 /usr/local/lib/libgdal.1.1.so
4a205000-4a26b000 rw-p 001bd000 03:06 1060940 /usr/local/lib/libgdal.1.1.so
4a281000-4a292000 r-xp 00000000 03:06 245105 /usr/lib/libpq.so.2.2
4a292000-4a294000 rw-p 00010000 03:06 245105 /usr/lib/libpq.so.2.2
4a294000-4a2be000 r-xp 00000000 03:06 244410 /usr/lib/libttf.so.2.2.0
4a2be000-4a2c0000 rw-p 00029000 03:06 244410 /usr/lib/libttf.so.2.2.0
4a2c0000-4a2cf000 r-xp 00000000 03:06 847121 /usr/X11R6/lib/libXpm.so.4.11
4a2cf000-4a2d0000 rw-p 0000e000 03:06 847121 /usr/X11R6/lib/libXpm.so.4.11
4a2d0000-4a394000 r-xp 00000000 03:06 847131 /usr/X11R6/lib/libX11.so.6.2
4a394000-4a397000 rw-p 000c3000 03:06 847131 /usr/X11R6/lib/libX11.so.6.2
4a397000-4a39e000 r-xp 00000000 03:06 244441 /usr/lib/libungif.so.4.1.0
4a39e000-4a39f000 rw-p 00006000 03:06 244441 /usr/lib/libungif.so.4.1.0
4a39f000-4a3a4000 r-xp 00000000 03:01 47919 /lib/libcrypt-2.2.4.so
4a3a4000-4a3a5000 rw-p 00004000 03:01 47919 /lib/libcrypt-2.2.4.so
4a3cc000-4a3da000 r-xp 00000000 03:01 47955 /lib/libresolv-2.2.4.so
4a3da000-4a3dc000 rw-p 0000d000 03:01 47955 /lib/libresolv-2.2.4.so
Local Time = Wed Jun 26 21:50:20 2002
Elapsed Time = 249
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 interpreted mode)
#
--
Best regards,
Pedro mailto:pduarte at ambisig.com
More information about the MapServer-users
mailing list