Bugs item #1707715, was opened at 2007-04-25 14:21
Message generated for change (Comment added) made by michaudm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=1707715&group_id=118054
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Toolbox and Buttons
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: problem when saving with Save Dataset as File and GML 2.0
Initial Comment:
Hi!
I created a layer, put a single point, tryed to save as GML file and
received the following error:
java.lang.RuntimeException:
com.vividsolutions.jts.util.AssertionFailedException: Nenhum arquivo foi
especificado.
at
com.vividsolutions.jump.workbench.datasource.LoadSaveDatasetFileMixin.showDialog(LoadSaveDatasetFileMixin.java:37)
at
com.vividsolutions.jump.workbench.datasource.SaveDatasetAsFilePlugIn.showDialog(SaveDatasetAsFilePlugIn.java:24)
at
com.vividsolutions.jump.workbench.datasource.AbstractLoadSaveDatasetPlugIn.execute(AbstractLoadSaveDatasetPlugIn.java:37)
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.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
Caused by: com.vividsolutions.jts.util.AssertionFailedException: Nenhum
arquivo foi especificado.
at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
at
com.vividsolutions.jump.workbench.ui.FileNamePanel.getSelectedFile(FileNamePanel.java:184)
at
com.vividsolutions.jump.workbench.datasource.GMLDataSourceQueryChooserInstaller$2.toProperties(GMLDataSourceQueryChooserInstaller.java:134)
at
com.vividsolutions.jump.workbench.datasource.FileDataSourceQueryChooser.toDataSourceQuery(FileDataSourceQueryChooser.java:177)
at
com.vividsolutions.jump.workbench.datasource.LoadSaveDatasetFileMixin$1.yield(LoadSaveDatasetFileMixin.java:96)
at
com.vividsolutions.jump.util.CollectionUtil.collect(CollectionUtil.java:298)
at
com.vividsolutions.jump.workbench.datasource.LoadSaveDatasetFileMixin.showDialogProper(LoadSaveDatasetFileMixin.java:89)
at
com.vividsolutions.jump.workbench.datasource.LoadSaveDatasetFileMixin.showDialog(LoadSaveDatasetFileMixin.java:34)
... 29 more
Anybody had the same problem?
Thanks,
Hamlet
----------------------------------------------------------------------
>Comment By: michael michaud (michaudm)
Date: 2013-04-07 04:54
Message:
Jukka is right, the same dialog is used in both case and it asks for a
template
----------------------------------------------------------------------
Comment By: Jukka Rahkonen (jratike80)
Date: 2012-09-05 02:43
Message:
I think that with the current menus the output template is always asked and
this very old bug can be closed.
----------------------------------------------------------------------
Comment By: michael michaud (michaudm)
Date: 2007-06-02 04:10
Message:
Logged In: YES
user_id=632630
Originator: NO
It seems that GML 2.0 needs an output template.
It happens that "Save dataset as file..." doesn't ask for a template.
The other menu item "Save dataset as..." asks for a template
I can't remember why OpenJUMP needs two Save Dataset as menu items
Michaƫl
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=1707715&group_id=118054
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel