Hello Martin,
---- Martin Desruisseaux wrote ----
> The changes that you did looks good. I noticed a little oddity, the
> geographic bounding box in the metadata tab had a North and East value
> but no South and West value (at least on the NetCDF file I used for the
> test).
In the latest commit I have fixed this problem along with a detailed commit
message explaining it's cause. I have also removed unused dependencies from
pom.
> > dm = new DefaultMetadata(datastore.getMetadata() )
> >
> > dm.isModifiable() returns true, but the actual setvalue operation
> > throws an error.
> >
> Can you send me the stack trace?
I have attached the stack trace. The mailing list will remove attachments so
check the direct message that you have received from me.
I'm preparing a report for work product submission according to gsoc
guidelines. It will replace the README file at my repo. It needs to be approved
by the mentor. I'll let you know know when that is done. Till then you can tell
me anything you want included in that.
Regards
Siddhesh Rane
cd /home/siddhesh/NetBeansProjects/Client;
SIS_DATA=/home/siddhesh/Apache/apache-sis-0.8-SNAPSHOT/data
JAVA_HOME=/usr/jdk/jdk1.8.0_60
M2_HOME=/home/siddhesh/Applications/apache-maven-3.3.9
/home/siddhesh/Applications/apache-maven-3.3.9/bin/mvn "-Dexec.args=-classpath
%classpath org.apache.sis.desktop.MainApp"
-Dexec.executable=/usr/jdk/jdk1.8.0_60/bin/java -Prelease-profile
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
Running NetBeans Compile On Save execution. Phase execution is skipped and
output directories of dependency projects (with Compile on Save turned on) will
be used instead of their jar artifacts.
Scanning for projects...
Some problems were encountered while building the effective model for
org.apache.sis.application:sis-desktop:jar:1.0-SNAPSHOT
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing.
'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-javadoc-plugin is missing.
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin
is missing.
It is highly recommended to fix these problems because they threaten the
stability of your build.
For this reason, future Maven versions might no longer support building such
malformed projects.
------------------------------------------------------------------------
Building Apache SIS desktop 1.0-SNAPSHOT
------------------------------------------------------------------------
--- exec-maven-plugin:1.2.1:exec (default-cli) @ sis-desktop ---
Aug 23, 2017 9:10:12 PM
org.apache.sis.metadata.iso.extent.DefaultTemporalExtent setBounds
WARNING: This operation requires the âsis-temporalâ module.
COLUMN
ROW
TIME
73
73
1
setting value
Exception in thread "JavaFX Application Thread"
org.apache.sis.metadata.UnmodifiableMetadataException: This metadata is not
modifiable.
at
org.apache.sis.metadata.ModifiableMetadata.checkWritePermission(ModifiableMetadata.java:253)
at
org.apache.sis.metadata.iso.identification.DefaultKeywords.setType(DefaultKeywords.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.apache.sis.metadata.PropertyAccessor.set(PropertyAccessor.java:865)
at
org.apache.sis.metadata.PropertyAccessor.set(PropertyAccessor.java:836)
at
org.apache.sis.metadata.TreeNode$Element.setUserObject(TreeNode.java:427)
at org.apache.sis.metadata.TreeNode.setValue(TreeNode.java:866)
at
org.apache.sis.desktop.MetadataView$MetadataCell.lambda$updateItem$65(MetadataView.java:557)
at
com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
at
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
at
javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)
at
javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
at
javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
at javafx.scene.control.ComboBoxBase.setValue(ComboBoxBase.java:150)
at javafx.scene.control.ComboBox.updateValue(ComboBox.java:463)
at javafx.scene.control.ComboBox.access$200(ComboBox.java:192)
at javafx.scene.control.ComboBox$3.changed(ComboBox.java:446)
at
com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
at
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
at
javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyObjectWrapper.java:176)
at
javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:142)
at
javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
at
javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
at
javafx.scene.control.SelectionModel.setSelectedItem(SelectionModel.java:102)
at
javafx.scene.control.ComboBox$ComboBoxSelectionModel.lambda$new$154(ComboBox.java:494)
at
com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:137)
at
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
at
javafx.beans.property.ReadOnlyIntegerWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:176)
at
javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:142)
at
javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)
at
javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:147)
at
javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:68)
at
javafx.scene.control.SingleSelectionModel.updateSelectedIndex(SingleSelectionModel.java:215)
at
javafx.scene.control.SingleSelectionModel.select(SingleSelectionModel.java:149)
at
com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.lambda$createListView$323(ComboBoxListViewSkin.java:484)
at
com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:349)
at
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
at
javafx.beans.property.ReadOnlyIntegerWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:176)
at
javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:142)
at
javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)
at
javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:147)
at
javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:68)
at
javafx.scene.control.MultipleSelectionModelBase.select(MultipleSelectionModelBase.java:404)
at
javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(MultipleSelectionModelBase.java:356)
at
javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearAndSelect(ListView.java:1403)
at
com.sun.javafx.scene.control.behavior.CellBehaviorBase.simpleSelect(CellBehaviorBase.java:256)
at
com.sun.javafx.scene.control.behavior.CellBehaviorBase.doSelect(CellBehaviorBase.java:220)
at
com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(CellBehaviorBase.java:150)
at
com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95)
at
com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
at
com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
at
com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at
com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$355(GlassViewEventHandler.java:388)
at
com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387)
at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at
com.sun.glass.ui.gtk.GtkApplication.lambda$null$50(GtkApplication.java:139)
at java.lang.Thread.run(Thread.java:745)