Jukka:

That is really weird. I can see the error is being thrown by the
FeatureSchema class. Can you tell us what "Tunnistamaton
ominaisuustiedon nimi" means? It is part of the stack trace.

Landon

On Thu, Feb 14, 2013 at 1:50 AM, Giuseppe Aruta <giuseppe_ar...@yahoo.it> wrote:
> That's really weird! A language revenge?
>
> 2013/2/14 Rahkonen Jukka <jukka.rahko...@mmmtike.fi>
>>
>> Hi,
>>
>> I have a weird error when trying to split one dataset into new layers by
>> an attribute value.  The reason seems to be that I have an attribute named
>> as "teksti" and somehow OpenJUMP is translating it to "TEXT" on-the-fly.  If
>> I rename the column the splitting succeeds.  A minimal sample with two
>> features is attached but I guess that OJ must be started with Finnish locale
>> for repeating the error. The error description on the first line means:
>> Unknown attribute name: TEXT.
>>
>>
>> java.lang.IllegalArgumentException: Tunnistamaton ominaisuustiedon nimi:
>> TEXT
>>         at
>> com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:90)
>>         at
>> com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)
>>         at
>> org.openjump.core.ui.plugin.layer.ExtractLayersByAttribute.extractLayers(ExtractLayersByAttribute.java:216)
>>         at
>> org.openjump.core.ui.plugin.layer.ExtractLayersByAttribute.execute(ExtractLayersByAttribute.java:135)
>>         at
>> com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130)
>>         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>>         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
>> Source)
>>         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
>> Source)
>>         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>>         at javax.swing.AbstractButton.doClick(Unknown Source)
>>         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
>>         at
>> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
>>         at java.awt.Component.processMouseEvent(Unknown Source)
>>         at javax.swing.JComponent.processMouseEvent(Unknown Source)
>>         at java.awt.Component.processEvent(Unknown Source)
>>         at java.awt.Container.processEvent(Unknown Source)
>>         at java.awt.Component.dispatchEventImpl(Unknown Source)
>>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>>         at java.awt.Component.dispatchEvent(Unknown Source)
>>         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
>> Source)
>>         at java.awt.LightweightDispatcher.processMouseEvent(Unknown
>> Source)
>>         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>>         at java.awt.Window.dispatchEventImpl(Unknown Source)
>>         at java.awt.Component.dispatchEvent(Unknown Source)
>>         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>>         at java.awt.EventQueue.access$000(Unknown Source)
>>         at java.awt.EventQueue$1.run(Unknown Source)
>>         at java.awt.EventQueue$1.run(Unknown Source)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at
>> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>>         at
>> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>>         at java.awt.EventQueue$2.run(Unknown Source)
>>         at java.awt.EventQueue$2.run(Unknown Source)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at
>> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>> Source)
>>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>> Source)
>>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>         at java.awt.EventDispatchThread.run(Unknown Source)
>>
>> -Jukka Rahkonen-
>>
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to