Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Can't connect to Oracle Spatial in RC-14

Thanks Justin - I have not tested with Oracle lately, but I think I have one installed around the office I can try. Can you make a bug report and attach your stacktrace please? Based on the error it looks like a programming mistake on the uDig side ... we better check PostGIS as well.

Jody

Hi I just started using uDig and am trying to connect to Oracle Spatial, but not having
any success.

I selected the jar from Window -> Preferences -> Catalog -> Oracle Spatial -> ojdbc14.jar
and restarted the application

I then go to Add Data -> Oracle Spatial -> and enter in my details. The schema drop down box populates with the schemas on the server, which I guess means it has connected successfully.

However, when I click Next, I get to the Resource Selection page and the only option is: "Unable to recognize service, choose another". If I try to check the box to choose another, I
get an error:

"An error has occurred. See error log for more details.
java.lang.String cannot be cast to net.refractions.udig.catalog.IResolve"

I have not tried connecting to PostGIS, but local shapefiles work fine.

I am using the RC-14 downloaded from the website. In the Help -> About page I
see:

Version: 1.1.0
Build id: 20080122-1+

Oracle version is 10g Enterprise, Release 10.2.0.3.0 - 64 bit
My computer is Win XP Pro SP2, 2GB RAM

Thanks for any help you can provide! Like the program, keep up the good work.
Justin

Log File Follows------------------------------------------

!SESSION 2008-04-30 11:10:12.408 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data D:\Documents and Settings\user\uDig

!ENTRY net.refractions.udig.ui 1 0 2008-04-30 11:10:15.283
!MESSAGE net.refractions.udig.ui.WorkbenchConfiguration "net.refractions.udig.internal.ui.UDIGWorkbenchConfiguration" specified but no valid extension found.
Please check that the extension exists and that it is valid.

!ENTRY net.refractions.udig.ui 1 0 2008-04-30 11:10:15.314
!MESSAGE net.refractions.udig.ui.MenuBuilder "net.refractions.udig.ui.uDigMenuBuilder" specified but no valid extension found.
Please check that the extension exists and that it is valid.

!ENTRY net.refractions.udig.ui 1 0 2008-04-30 11:10:15.674
!MESSAGE PropertyParser: Parsing PropertyValue, desired Propert: hasSelection not found. Referenced in plugin: net.refractions.udig.project.ui

!ENTRY org.eclipse.ui 4 4 2008-04-30 11:10:16.236
!MESSAGE Part already exists in page layout: net.refractions.udig.catalog.ui.CatalogView.

!ENTRY org.eclipse.ui 4 4 2008-04-30 11:10:16.236
!MESSAGE Unable to find Action Set: net.refractions.udig.printing.ui.mapGraphic.action

!ENTRY org.eclipse.ui 4 4 2008-04-30 11:10:16.236
!MESSAGE Unable to find Action Set: net.refractions.udig.tools.edit.mapGraphic.action

!ENTRY org.eclipse.jface 4 2 2008-04-30 11:10:54.597
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.ClassCastException: java.lang.String cannot be cast to net.refractions.udig.catalog.IResolve at net.refractions.udig.catalog.internal.ui.ResourceSelectionPage.syncWithUI(Unknown Source) at net.refractions.udig.catalog.internal.ui.ResourceSelectionPage$ResourceSelectionPageCheckStateListener.checkStateChanged(Unknown Source) at org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxTreeViewer.java:133)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:857)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateChanged(CheckboxTreeViewer.java:131) at org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(CheckboxTreeViewer.java:267) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227)
    at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
at net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.open(Unknown Source) at net.refractions.udig.project.ui.internal.actions.AddLayersAction.runWithEvent(Unknown Source) at net.refractions.udig.project.ui.internal.actions.AddLayersAction.run(Unknown Source) at net.refractions.udig.ui.action.NewObjectDelegate.runAction(Unknown Source) at net.refractions.udig.ui.action.NewObjectContribution$1.widgetDefaultSelected(Unknown Source) at net.refractions.udig.ui.action.NewObjectContribution$1.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at net.refractions.udig.internal.ui.UDIGApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
------------------------------------------------------------------------
Windows Live SkyDrive lets you share files with faraway friends. Start sharing. <http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008>
------------------------------------------------------------------------

_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users



Back to the top