|
[
Permalink
| « Hide
]
Jody Garnett added a comment - 02/Sep/08 03:10 PM
Here is fine; I will have a look.
I have the problem also on macosx.
Select a layer from the loaded ones and hit layer->create: java.lang.IllegalArgumentException: null is not an existing attribute descriptor in this builder etc etc Instead if no layer is selected, the dialog opens. But, try to change the type of name to double. I get: java.lang.ClassCastException: java.lang.String at net.refractions.udig.ui.FeatureTypeEditor$AttributeCellModifier.createNewAttributeType(FeatureTypeEditor.java:680) at net.refractions.udig.ui.FeatureTypeEditor$AttributeCellModifier.modify(FeatureTypeEditor.java:659) at org.eclipse.jface.viewers.ColumnViewer$2.setValue(ColumnViewer.java:274) at org.eclipse.jface.viewers.EditingSupport.saveCellEditorValue(EditingSupport.java:109) at org.eclipse.jface.viewers.ColumnViewerEditor.saveEditorValue(ColumnViewerEditor.java:454) at org.eclipse.jface.viewers.ColumnViewerEditor.applyEditorValue(ColumnViewerEditor.java:311) at org.eclipse.jface.viewers.ColumnViewerEditor$3.focusLost(ColumnViewerEditor.java:215) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360) at org.eclipse.swt.custom.CCombo.handleFocus(CCombo.java:816) at org.eclipse.swt.custom.CCombo$3.handleEvent(CCombo.java:135) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1130) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1560) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1566) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2938) at org.eclipse.swt.widgets.Control.kEventControlSetFocusPart(Control.java:2061) at org.eclipse.swt.widgets.Composite.kEventControlSetFocusPart(Composite.java:533) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:374) at org.eclipse.swt.widgets.Display.controlProc(Display.java:862) at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method) at org.eclipse.swt.widgets.Tree.kEventMouseDown(Tree.java:2599) at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1326) at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2925) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3047) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at net.refractions.udig.ui.FeatureTypeEditorDialog.open(FeatureTypeEditorDialog.java:184) at net.refractions.udig.project.ui.internal.actions.NewLayerAction.runWithEvent(NewLayerAction.java:81) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3474) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:82) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) From email:
still have problem with the Layer -> create: - nothing will appear if it is selected an existing layer - if you have selected in the layer view a non shapefile layer the tool works except for that it has the default projection WGS84 I was able to fix the handling of java Bindings; now only the add/remove attribute buttons fail for me.
bug brought forward to UDIG1.2.M4 visibility
|
||||||||||||||||||||||||||||||||||||||||