Good morning, Jennehag.

1) We'll revise the use of Cyrilik characters in the query builder. As an alternative, you can use the '?' character as a wildcard for those chars. 2) The error has already been detected by other Kosmo users. You can download a patch to the Kosmo 1.1 version at:

http://www.saig.es/descargas/dloads/kosmo/kosmo_1.1.1_actu_esquemas_color.zip

Thanks for the detailed bug report.

Greetings,

PD: Jennehag, this is a spanish mailing list. We will attend you better in the english Kosmo mailing list, at http://lists.saig.es/mailman/listinfo/kosmo_int.


Jennehag Åke escribió:

Hello.

I'm a user from Sweden and I’m involved in a cadastre database project in Kyrgyzstan . Because this is a former Soviet republic there is no money or resources to buy an expensive database system (Oracle, Intergraph..) or even clients (ArcGIS, MapInfo). But there is alternatives! We are planning to use PostgreSQL+PostGIS as a database and are looking into using Kosmo as a client. I have searched around and I find that Kosmo is one of the best open source products around.

But there is some problems:

1. I have some problems using the using the search function (Query Builder). I try to enter a Kyrgys street address (in Cyrillik ) and press the "Add" button I get a "Expression not valid" error. If I just try with latin letters or numbers it's ok.

Here is the log file:

29/11/2007 10:44:02 ERROR QueryWizardDialog:647 -
org.saig.core.filter.parser.ExpressionException: Lexical error at line 1, column 16. Encountered: "\u0433" (1075), after : "", Current Token : ,
at org.saig.core.filter.ExpressionBuilder.parse(ExpressionBuilder.java:92)
at org.saig.jump.widgets.query.QueryWizardDialog$13.actionPerformed(QueryWizardDialog.java:644) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

2. I get an error (Null pointer) then I try to label a point layer.

java.lang.NullPointerException
at org.saig.core.renderer.LegendIconMaker.reallyMakeLegendIcon(LegendIconMaker.java:277) at org.saig.core.renderer.LegendIconMaker.makeLegendIcon(LegendIconMaker.java:196) at org.saig.core.renderer.LegendIconMaker.makeLegendIcon(LegendIconMaker.java:183) at org.saig.core.renderer.LegendIconMaker.makeLegendIcon(LegendIconMaker.java:173) at org.saig.core.renderer.LegendIconMaker.makeLegendIcon(LegendIconMaker.java:178) at org.saig.jump.widgets.util.RuleRenderer.getTreeCellRendererComponent(RuleRenderer.java:106) at com.vividsolutions.jump.workbench.ui.LayerTreeCellRenderer.getTreeCellRendererComponent(LayerTreeCellRenderer.java:119) at com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel$7.getTreeCellRendererComponent(TreeLayerNamePanel.java:478) at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2693) at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1478) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270) at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:966) at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:164) at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1556) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3649)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2235)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at javax.swing.JTree.makeVisible(JTree.java:1601)
at com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel$6.visit(TreeLayerNamePanel.java:438)
at com.vividsolutions.jump.workbench.ui.TreeUtil.visit(TreeUtil.java:79)
at com.vividsolutions.jump.workbench.ui.TreeUtil.visit(TreeUtil.java:83)
at com.vividsolutions.jump.workbench.ui.TreeUtil.visit(TreeUtil.java:75)
at com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel$5.treeNodesInserted(TreeLayerNamePanel.java:434) at com.vividsolutions.jump.workbench.ui.FirableTreeModelWrapper.fireTreeNodesInserted(FirableTreeModelWrapper.java:72) at com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel.layerChanged(TreeLayerNamePanel.java:778) at com.vividsolutions.jump.workbench.model.LayerManager$3.run(LayerManager.java:470) at com.vividsolutions.jump.workbench.ui.GUIUtil.invokeOnEventThread(GUIUtil.java:596) at com.vividsolutions.jump.workbench.model.LayerManager.fireLayerEvent(LayerManager.java:434) at com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:468) at com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:492) at com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:96) at com.vividsolutions.jump.workbench.model.AbstractLayerable.fireAppearanceChanged(AbstractLayerable.java:103)
at com.vividsolutions.jump.workbench.model.Layer.setStyles(Layer.java:628)
at com.vividsolutions.jump.workbench.ui.style.ChangeStylesPlugIn.execute(ChangeStylesPlugIn.java:171) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:119) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Any clues how to fix this? Is there a patch?

Regards

Åke Jennehag

National Land Survey of Sweden (Working on SIDA project in Kyrgyzstan )

------------------------------------------------------------------------

_______________________________________________
Kosmo mailing list
[email protected]
http://lists.saig.es/mailman/listinfo/kosmo

--

Sergio Baños Calvo

Jefe de desarrollos
Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.)
Tlfno. móvil: 685005960
Tlfno. fijo: (+34) 954788876

E-mail: [EMAIL PROTECTED]

_______________________________________________
Kosmo mailing list
[email protected]
http://lists.saig.es/mailman/listinfo/kosmo

Responder a