> Ok, We'll do that.
<br><br>thanks
<br>&gt; If a table called TABLE_NAME has a column called GEOMETRY_COLUMN with 3D points whose Z is null, you can convert them to 2D points with:
<br><br>yes, I've made it in past projects, but this time we have to mantain
<br>our customer's original datatypes.
<br><br>giovanni
<br><br>PS: I had problems with the gvsig MLs, I couldn't neither send nor
<br>receive (I've answered you thorugh nabble2). Now I receive the digest
<br>again. Sorry for this confusion....
<br><br><div class='shrinkable-quote'><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; jldominguez wrote:
<br>&gt; &gt;
<br>&gt; &gt; Hello, Giovanni.
<br>&gt; &gt;
<br>&gt; &gt; The gtype 1003 is not for points as far as I know. Do you mean 3001?
<br>&gt; &gt;
<br>&gt; &gt; The error happens because gvSIG finds a NULL value in the Z, so maybe
<br>&gt; &gt; there is a contradiction in your data (the metadata says it is a 3D point
<br>&gt; &gt; but the Z is null). Do you have any application to access the database
<br>&gt; &gt; (for example SQLDeveloper)? If so, try to execute this:
<br>&gt; &gt;
<br>&gt; &gt; SELECT t.&lt;GEOMETRY_COLUMN&gt;.sdo_gtype, t.&lt;GEOMETRY_COLUMN&gt;.sdo_point FROM
<br>&gt; &gt; &lt;TABLE_NAME&gt; t WHERE ROWNUM &lt; 10
<br>&gt; &gt;
<br>&gt; &gt; You have to replace &lt;GEOMETRY_COLUMN&gt; and &lt;TABLE_NAME&gt; with your values.
<br>&gt; &gt; What is the result?
<br>&gt; &gt;
<br>&gt; &gt; How did you create those geometries in the Oracle Database? Did you create
<br>&gt; &gt; them with gvSIG?
<br>&gt; &gt;
<br>&gt; &gt; Regards,
<br>&gt; &gt;
<br>&gt; &gt; Juan Lucas Domínguez Rubio
<br>&gt; &gt; ---
<br>&gt; &gt; Prodevelop SL, Valencia (España)
<br>&gt; &gt; Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
<br>&gt; &gt; <a href="http://www.prodevelop.es " target="_top" rel="nofollow">http://www.prodevelop.es </a>&lt;<a href="http://www.prodevelop.es/" target="_top" rel="nofollow">http://www.prodevelop.es/</a>&gt;  &lt;<a href="http://www.prodevelop.es/" target="_top" rel="nofollow">http://www.prodevelop.es/</a>&gt;
<br>&gt; &gt; ---
<br>&gt; &gt;
<br>&gt; &gt; ________________________________
<br>&gt; &gt;
<br>&gt; &gt; De: [hidden email] en nombre de G. Allegri
<br>&gt; &gt; Enviado el: mié 13/01/2010 16:28
<br>&gt; &gt; Para: Users and Developers mailing list; Lista de Usuarios de gvSIG
<br>&gt; &gt; Asunto: [Gvsig_english] oracle plugin crashes with point layers on
<br>&gt; &gt; oracle10.2
<br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt; I have a point layer (gtype 1003) in oracle, version 10.2
<br>&gt; &gt; I'm using the ojdbc14.jar from oracle client.
<br>&gt; &gt;
<br>&gt; &gt; Linear and polygon layers load correctly, while points give
<br>&gt; &gt; NullPointerException for every point.
<br>&gt; &gt; Here is the  expection (just on of the other similar thousands!) from log:
<br>&gt; &gt;
<br>&gt; &gt; java.lang.NullPointerException
<br>&gt; &gt;         at
<br>&gt; &gt; es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialUtils.getFMapGeometrySdoPoint(OracleSpatialUtils.java:2633)
<br>&gt; &gt;         at
<br>&gt; &gt; es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialUtils.getFMapGeometryPoint(OracleSpatialUtils.java:2583)
<br>&gt; &gt;         at
<br>&gt; &gt; es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialDriver.getFMapGeometry(OracleSpatialDriver.java:587)
<br>&gt; &gt;         at
<br>&gt; &gt; es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialDriver.getGeometryUsing(OracleSpatialDriver.java:538)
<br>&gt; &gt;         at
<br>&gt; &gt; es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialFeatureIterator.next(OracleSpatialFeatureIterator.java:141)
<br>&gt; &gt;         at
<br>&gt; &gt; com.iver.cit.gvsig.fmap.drivers.featureiterators.ReprojectWrapperFeatureIterator.next(ReprojectWrapperFeatureIterator.java:92)
<br>&gt; &gt;         at
<br>&gt; &gt; com.iver.cit.gvsig.fmap.layers.FLyrVect._draw(FLyrVect.java:437)
<br>&gt; &gt;         at com.iver.cit.gvsig.fmap.layers.FLyrVect.draw(FLyrVect.java:631)
<br>&gt; &gt;         at
<br>&gt; &gt; com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:209)
<br>&gt; &gt;         at
<br>&gt; &gt; com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)
<br>&gt; &gt;         at com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)
<br>&gt; &gt;         at
<br>&gt; &gt; com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)
<br>&gt; &gt;         at
<br>&gt; &gt; com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)
<br>&gt; &gt;         at java.lang.Thread.run(Unknown Source)
<br>&gt; &gt;
<br>&gt; &gt; giovanni
<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; Gvsig_internacional mailing list
<br>&gt; &gt; [hidden email]
<br>&gt; &gt; <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_top" rel="nofollow">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; gvSIG_usuarios mailing list
<br>&gt; &gt; [hidden email]
<br>&gt; &gt;
<br>&gt; &gt; Para ver histórico de mensajes, editar sus preferencias de usuario o darse
<br>&gt; &gt; de baja en esta lista, acuda a la siguiente dirección:
<br>&gt; &gt;
<br>&gt; &gt; <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios" target="_top" rel="nofollow">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</a><br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; --
<br>&gt; View this message in context: <a href="http://n2.nabble.com/oracle-plugin-crashes-with-point-layers-on-oracle-10-2-tp4352187p4391745.html" target="_top" rel="nofollow">http://n2.nabble.com/oracle-plugin-crashes-with-point-layers-on-oracle-10-2-tp4352187p4391745.html</a><br>&gt; Sent from the gvSIG usuarios mailing list archive at Nabble.com.
<br>&gt; _______________________________________________
<br>&gt; gvSIG_usuarios mailing list
<br>&gt; [hidden email]
<br>&gt;
<br>&gt; Para ver histórico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente dirección:
<br>&gt;
<br>&gt; <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios" target="_top" rel="nofollow">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</a><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; gvSIG_usuarios mailing list
<br>&gt; [hidden email]
<br>&gt;
<br>&gt; Para ver histórico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente dirección:
<br>&gt;
<br>&gt; <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios" target="_top" rel="nofollow">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</a><br>&gt;
<br>&gt; winmail.dat (13K) Download Attachment
<br>&gt;
<br>&gt; ________________________________
<br>&gt; View message @ <a href="http://n2.nabble.com/oracle-plugin-crashes-with-point-layers-on-oracle-10-2-tp4352187p4392028.html" target="_top" rel="nofollow">http://n2.nabble.com/oracle-plugin-crashes-with-point-layers-on-oracle-10-2-tp4352187p4392028.html</a><br>&gt; To unsubscribe from Re: [Gvsig_english] oracle plugin crashes with point layers on oracle10.2, click here.
<br></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/oracle-plugin-crashes-with-point-layers-on-oracle-10-2-tp4352187p4392097.html">Re: [Gvsig_usuarios] [Gvsig_english] oracle plugin crashes with point  layers on oracle10.2</a><br>
Sent from the <a href="http://n2.nabble.com/gvSIG-usuarios-f2000052.html">gvSIG usuarios mailing list archive</a> at Nabble.com.<br>