Hi Stuart,<br><br>I don&#39;t know if are related problems ... This same problem happens with me, when I trying to build a extension for Tcl without a little patch.<br><br>After the patch, the method getBytes then works fine for me...see:<br>

<br><a href="http://trac.osgeo.org/mapserver/ticket/1533">http://trac.osgeo.org/mapserver/ticket/1533</a><br><br>Good lucky!<br><br>Thiago Tiedtke dos Reis<br><br><br><br><div class="gmail_quote">2011/8/18  <span dir="ltr">&lt;<a href="mailto:Stuart.Harlan@modot.mo.gov">Stuart.Harlan@modot.mo.gov</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font face="sans-serif" size="2">I compiled MapServer 6.0.1 on Windows,
with threads, and removed the components marked &quot;unsafe&quot;.  I
also built the Java Mapscript component, targeting the 1.5 JVM.  I
can generate a map image, and save it to a file using the Java method &quot;imageObj.save(filename,
map)&quot;.  However, when I try to call &quot;imageObj.getBytes&quot;,
the JVM crashes.  Any ideas?  Thanks.</font>
<br><font face="sans-serif" size="2"><br>
Stuart Harlan</font><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>