AW: [Gvsig_english] Error on point label features

michael gould gould at lsi.uji.es
Mon Sep 11 17:45:58 CEST 2006


Is it an issue of utf-8 versus utf-16 support?

 

-------

Michael Gould

Dept. Information Systems (Lenguajes y Sistemas Informaticos), Universitat
Jaume I, 12071 Castellón, Spain

e-mail: gould (at) lsi.uji.es

e-mail2: mgould (at) opengeospatial.org

research group   <http://www.geoinfo.uji.es> www.geoinfo.uji.es

personal  www.mgould.com

III Jornadas IDEE:  http://jidee06.uji.es

AGILE: www.agile-online.org

 

 

 

 

  _____  

From: gvsig_internacional-bounces at runas.cap.gva.es
[mailto:gvsig_internacional-bounces at runas.cap.gva.es] On Behalf Of Francisco
José
Sent: lunes, 11 de septiembre de 2006 17:25
To: Users and Developers mailing list
Subject: Re: AW: [Gvsig_english] Error on point label features

 

Hi Johannes.

Well, after discussing with my coleagues what's the meaning of umlaut (my
English is some how limited ;-), we think it depends.

We can consider this a bug if the layer supports special characters in its
field names. We think PostgreSQL will not allow this kind of field names,
and
dbf.... we are not sure about this, but anyway, it is not advisable.

In any case, thanks for playing with gvSIG.

Cheers.

Johannes Metzler escribió: 

Sorry Francisco,
 
I checked again and found that it was a bloody german umlaut in an
attribute name...
 
I dont know whether you consider this as a bug 
 
hannes
 
-----Ursprüngliche Nachricht-----
Von: gvsig_internacional-bounces at runas.cap.gva.es
[mailto:gvsig_internacional-bounces at runas.cap.gva.es] Im Auftrag von
Francisco José
Gesendet: Montag, 11. September 2006 16:26
An: Users and Developers mailing list
Betreff: Re: [Gvsig_english] Error on point label features
 
 
Hi.
 
It seems there is a Null Value in height field. Line 182 from FLyrText:
 
                            NumericValue height = (NumericValue) 
ds.getFieldValue(i, idFieldHeightText);
 
May be we shoud catch this kind of exceptions in the future.
 
Until then, you can check your point data and make sure that the height 
text field has rigth values.
 
Thanks for the appointment!!.
 
Have fun.
 
 
 
Johannes Metzler escribió:
  

Hi,
 
The following error occours on labelling point features with a 
textheigth from attribute:
 
java.lang.ClassCastException: 
com.hardcode.gdbms.engine.values.NullValue
 
java.lang.ClassCastException
java.lang.ClassCastException: null
 
com.iver.cit.gvsig.fmap.layers.FLyrText.createLabels(FLyrText.java:182
)
 
com.iver.cit.gvsig.fmap.layers.FLyrVect.createLabelLayer(FLyrVect.java
:4
07)
 
    

com.iver.cit.gvsig.fmap.layers.FLyrVect.setLegend(FLyrVect.java:672)
  

 
com.iver.cit.gvsig.gui.thememanager.FThemeManagerWindow.btnApply_actio
nP
erformed(FThemeManagerWindow.java:306) 
 
com.iver.cit.gvsig.gui.thememanager.FThemeManagerWindow.access$1(FThem
eM
anagerWindow.java:243) 
 
com.iver.cit.gvsig.gui.thememanager.FThemeManagerWindow$ComandosListen
er
.actionPerformed(FThemeManagerWindow.java:457) 
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Window.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
 
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.jav
a:
58) 
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
    

Source)
  

    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) 
 
 
 
Greets
hannes
 
 
_______________________________________________
Gvsig_internacional mailing list Gvsig_internacional at runas.cap.gva.es
http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
  
    

 
 
  






-- 
Francisco José Peñarrubia
Equipo gvSIG
 
IVER T.I. S.A.
c/Salamanca 50
46005 Valencia
Spain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://runas.cap.gva.es/pipermail/gvsig_internacional/attachments/20060911/74734c5b/attachment-0001.htm


More information about the Gvsig_internacional mailing list