[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Fwd: Re: Spatial Operations SDK
|
>Hi Mauricio,
>
> Thank you for your help! I now have the spatial operations option in uDig,
>the tabbed window comes up, however with error. It says "Could not create the
>view: javax.units.ConversionException". What does that mean/how do I fix that?
>I've included the error details below, if that helps.
>
> -Michelle
Hi Michelle,
I have a few questions,
-which version of eclipse are you using?
-before doing the tutorial, did you try launching udig+spatial operations and
test if it worked?
-are you using the udig-sdk or directly the udig-branch or other udig-copy?
This error looks like the spatial operations can't be loaded, isn't a tutorial
problem.
Try to do the next:
-Create a new workspace with eclipse 3.3.2 (Eclipse-europa)
-Load the udig-sdk
-Load the axios-sdk
-Launch udig, following the instructions of the sdk-quickstart so in the "run
configuration" it'll be created "udig.product".
-After closing udig, go to Run>Open Run Dialog. Select the check "Clear", it
will clear the workspace avoiding problems. Go to the plugins tab, select the
3 plugins that form the spatial operations sdk and click on "Add required
plugins".
Finally launch the product and test if the spatial operations work.
>
>java.lang.ClassNotFoundException: javax.units.ConversionException
> at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
> at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
> at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
> at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
es.axios.udig.spatialoperations.ui.parameters.SpatialOperationDefaultBuilder.build(SpatialOperationDefaultBuilder.java:63)
> at
es.axios.udig.spatialoperations.ui.view.SOComposite.createSpatialOperations(SOComposite.java:445)
> at
es.axios.udig.spatialoperations.ui.view.SOComposite.createOperationParamsPresenters(SOComposite.java:428)
> at
es.axios.udig.spatialoperations.ui.view.SOComposite.createCompositeSOParameters(SOComposite.java:416)
> at
es.axios.udig.spatialoperations.ui.view.SOComposite.createContent(SOComposite.java:159)
> at
es.axios.udig.spatialoperations.ui.view.SOComposite.<init>(SOComposite.java:129)
> at
es.axios.udig.spatialoperations.ui.view.SOView.createPartControl(SOView.java:79)
> at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367)
> at
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
> at
>org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
> at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2229)
> at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1067)
> at
org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3816)
> at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3813)
> at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3789)
> at
net.refractions.udig.project.ui.ApplicationGIS.getView(ApplicationGIS.java:270)
> at
>es.axios.udig.spatialoperations.ui.op.SOViewLauncher$1.run(SOViewLauncher.java:44)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
>org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
>org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
>org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
> at
>org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
>net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:136)
> at
>org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
> 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:368)
> at
>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
--
Aritz Dávila
www.axios.es