[udig-devel] Editing the coordinate of a feature

Jesse Eichar jeichar at refractions.net
Thu May 4 12:04:40 PDT 2006


Seems you caught us out.  This is a legitimate bug that I'm working  
on fixing right now.  By tomorrow morning the nightly build will have  
the fixes applied.

Jesse

On 30-Apr-06, at 6:56 PM, Jonathan Magtalas wrote:

> Hi,
>
> Here is the error log when I try to edit the coordinate of a point  
> feature using the Default Feature Editor. Any help on this would
> be appreciated. Thanks.
>
>
> !ENTRY org.eclipse.jface 4 2 2006-05-01 11:48:50.849
> !MESSAGE Problems occurred when invoking code from plug-in:  
> "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
>  at  
> net.refractions.udig.project.ui.internal.properties.GeomPropertySource 
> .getPropertyValue(GeomPropertySource.java:131)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues 
> (PropertySheetEntry.java:593)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries 
> (PropertySheetEntry.java:551)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.setValues 
> (PropertySheetEntry.java:735)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues 
> (PropertySheetEntry.java:597)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries 
> (PropertySheetEntry.java:551)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.refreshFromRoot 
> (PropertySheetEntry.java:574)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.refreshFromRoot 
> (PropertySheetEntry.java:576)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.refreshFromRoot 
> (PropertySheetEntry.java:576)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.refreshFromRoot 
> (PropertySheetEntry.java:576)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.setValue 
> (PropertySheetEntry.java:703)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.applyEditorValue 
> (PropertySheetEntry.java:146)
>  at org.eclipse.ui.views.properties.PropertySheetEntry 
> $1.applyEditorValue(PropertySheetEntry.java:106)
>  at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:304)
>  at org.eclipse.core.internal.runtime.InternalPlatform.run 
> (InternalPlatform.java:1044)
>  at org.eclipse.core.runtime.Platform.run(Platform.java:783)
>  at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
>  at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
>  at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue 
> (CellEditor.java:302)
>  at org.eclipse.jface.viewers.TextCellEditor.handleDefaultSelection 
> (TextCellEditor.java:291)
>  at org.eclipse.jface.viewers.TextCellEditor$1.widgetDefaultSelected 
> (TextCellEditor.java:147)
>  at org.eclipse.swt.widgets.TypedListener.handleEvent 
> (TypedListener.java:97)
>  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
>  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 
> 2867)
>  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
>  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 
> 1699)
>  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
>  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench 
> (Workbench.java:367)
>  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 
> 143)
>  at net.refractions.udig.internal.ui.UDIGApplication.run 
> (UDIGApplication.java:57)
>  at org.eclipse.core.internal.runtime.PlatformActivator$1.run 
> (PlatformActivator.java:226)
>  at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
> (EclipseStarter.java:376)
>  at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
> (EclipseStarter.java:163)
>  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.core.launcher.Main.invokeFramework(Main.java:334)
>  at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>  at org.eclipse.core.launcher.Main.run(Main.java:973)
>  at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> !ENTRY org.eclipse.jface 4 2 2006-05-01 11:48:50.901
> !MESSAGE Problems occurred when invoking code from plug-in:  
> "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
>  at  
> net.refractions.udig.project.ui.internal.properties.GeomPropertySource 
> .setPropertyValue(GeomPropertySource.java:165)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.valueChanged 
> (PropertySheetEntry.java:757)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.valueChanged 
> (PropertySheetEntry.java:763)
>  at org.eclipse.ui.views.properties.PropertySheetEntry.setValue 
> (PropertySheetEntry.java:700)
>  at  
> org.eclipse.ui.views.properties.PropertySheetEntry.applyEditorValue 
> (PropertySheetEntry.java:146)
>  at org.eclipse.ui.views.properties.PropertySheetEntry 
> $1.applyEditorValue(PropertySheetEntry.java:106)
>  at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:304)
>  at org.eclipse.core.internal.runtime.InternalPlatform.run 
> (InternalPlatform.java:1044)
>  at org.eclipse.core.runtime.Platform.run(Platform.java:783)
>  at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
>  at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
>  at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue 
> (CellEditor.java:302)
>  at org.eclipse.jface.viewers.CellEditor.focusLost(CellEditor.java: 
> 676)
>  at org.eclipse.jface.viewers.TextCellEditor$5.focusLost 
> (TextCellEditor.java:184)
>  at org.eclipse.swt.widgets.TypedListener.handleEvent 
> (TypedListener.java:109)
>  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026)
>  at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2423)
>  at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:1884)
>  at org.eclipse.swt.widgets.Text.gtk_event_after(Text.java:1041)
>  at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1360)
>  at org.eclipse.swt.widgets.Display.windowProc(Display.java:3442)
>  at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
>  at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:4777)
>  at org.eclipse.swt.widgets.Display.eventProc(Display.java:1067)
>  at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration 
> (Native Method)
>  at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration 
> (OS.java:1158)
>  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2570)
>  at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
>  at org.eclipse.jface.window.Window.open(Window.java:787)
>  at org.eclipse.jface.dialogs.MessageDialog.openError 
> (MessageDialog.java:319)
>  at org.eclipse.jface.util.SafeRunnable.handleException 
> (SafeRunnable.java:59)
>  at  
> org.eclipse.core.internal.runtime.InternalPlatform.handleException 
> (InternalPlatform.java:715)
>  at org.eclipse.core.internal.runtime.InternalPlatform.run 
> (InternalPlatform.java:1046)
>  at org.eclipse.core.runtime.Platform.run(Platform.java:783)
>  at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
>  at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
>  at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue 
> (CellEditor.java:302)
>  at org.eclipse.jface.viewers.TextCellEditor.handleDefaultSelection 
> (TextCellEditor.java:291)
>  at org.eclipse.jface.viewers.TextCellEditor$1.widgetDefaultSelected 
> (TextCellEditor.java:147)
>  at org.eclipse.swt.widgets.TypedListener.handleEvent 
> (TypedListener.java:97)
>  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
>  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 
> 2867)
>  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
>  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 
> 1699)
>  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
>  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench 
> (Workbench.java:367)
>  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 
> 143)
>  at net.refractions.udig.internal.ui.UDIGApplication.run 
> (UDIGApplication.java:57)
>  at org.eclipse.core.internal.runtime.PlatformActivator$1.run 
> (PlatformActivator.java:226)
>  at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
> (EclipseStarter.java:376)
>  at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
> (EclipseStarter.java:163)
>  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.core.launcher.Main.invokeFramework(Main.java:334)
>  at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>  at org.eclipse.core.launcher.Main.run(Main.java:973)
>  at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> From: udig-devel-bounces at lists.refractions.net [mailto:udig-devel- 
> bounces at lists.refractions.net] On Behalf Of Jesse Eichar
> Sent: Thursday, 27 April 2006 4:24 AM
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] Editing the coordinate of a feature
>
> Hi,
>
> The log file is in Help>About uDig.  Configuration Details>Show  
> Log.  If you could attach the log and email it to me I can look at  
> it and try to determine what is going wrong.
>
>
> On 25-Apr-06, at 5:29 PM, Jonathan Magtalas wrote:
>
>> Hi,
>>
>> I'm currently using uDig 1.1M7. I am trying to change the location  
>> of a feature using the Feature Editor.
>> I've tried selecting the feature and then using the Default  
>> Feature Editor to edit the coordinate values of
>> the feature (under Default Geometry). In doing this, two dialogs  
>> come up saying an error has occured.
>> It says to check the error log but I don't know where that is. In  
>> the console it prints several of these messages:
>>
>> Unhandled event loop exception
>> Reason:
>> java.lang.NullPointerException
>>
>> Can anyone help with this? Thanks.
>>
>> Regards,
>> Jonathan Magtalas
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20060504/b1247667/attachment.html


More information about the udig-devel mailing list