uDIG
  1. uDIG
  2. UDIG-844

Oracle spatial resources inactive

    Details

    • Type: Bug Bug
    • Status: Analysis Analysis
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: UDIG 1.1.RC1
    • Fix Version/s: UDIG 1.4.1
    • Component/s: database
    • Labels:
      None
    • Environment:
      Windows XP SP2, JRE 1.5, RCP 3.1.2 Oracle10

      Description

      Cannot add Oracle 10 spatial as a data source. Use of Oracle enterprise manager console confirms two
      map layers. Maps are viewable from Oracle console. Especially annoying is that the completion of the data for Oracle connection (e.g. Host, username, password, database) returns no messages like can not connect to Oracle spatial server or missing JDBC driver, etc). Resource selection screen is blank. JDBC driver installed and working.

      1. DataBaseRegistryWizardPage.java
        60 kB
        rahul kumar
      2. OracleGeoResource.java
        8 kB
        rahul kumar
      1. oracle spatial.JPG
        46 kB
      2. oracle spatial error 1.2M5.JPG
        155 kB

        Activity

        Hide
        Jody Garnett added a comment -
        bug brought forward to UDIG1.2.M4 visibility
        Show
        Jody Garnett added a comment - bug brought forward to UDIG1.2.M4 visibility
        Hide
        rahul kumar added a comment -
        The oracle spatial connection error is still in 1.2M5. First, when I enter all the fields except schema, then after clicking lookup, the schema list is not getting populated.
        Now when I enter a schema name and then connect, then the list is populated but the DB name is cleared. After reentering the DB name when I select a layer, the eroor comes that I have attached. The exception is :
        java.lang.NullPointerException
        at org.eclipse.emf.ecore.util.EcoreEList.resolveProxy(EcoreEList.java:212)
        at org.eclipse.emf.ecore.util.EcoreEList.resolve(EcoreEList.java:167)
        at org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList.resolve(EObjectWithInverseResolvingEList.java:99)
        at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:537)
        at net.refractions.udig.project.internal.impl.SynchronizedEObjectWithInverseResolvingEList.get(SynchronizedEObjectWithInverseResolvingEList.java:78)
        at org.eclipse.emf.common.util.BasicEList$EIterator.doNext(BasicEList.java:1325)
        at org.eclipse.emf.common.util.BasicEList$EIterator.next(BasicEList.java:1312)
        at net.refractions.udig.project.internal.impl.LayersList2.addDeepAdapter(LayersList2.java:67)
        at net.refractions.udig.project.internal.impl.MapImpl.addDeepAdapter(MapImpl.java:1721)
        at net.refractions.udig.project.ui.internal.RenderManagerDynamic.basicSetMapInternal(RenderManagerDynamic.java:389)
        at net.refractions.udig.project.internal.render.impl.RenderManagerImpl.eInverseAdd(RenderManagerImpl.java:488)
        at net.refractions.udig.project.internal.impl.MapImpl.setRenderManagerInternalGen(MapImpl.java:1144)
        at net.refractions.udig.project.internal.impl.MapImpl.setRenderManagerInternal(MapImpl.java:1185)
        at net.refractions.udig.project.ui.viewers.MapViewer.setMap(MapViewer.java:181)
        at net.refractions.udig.project.ui.internal.MapEditor.createPartControl(MapEditor.java:921)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
        at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
        at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
        at net.refractions.udig.project.ui.commands.OpenProjectElementCommand.openMap(OpenProjectElementCommand.java:81)
        at net.refractions.udig.project.ui.commands.OpenProjectElementCommand.access$1(OpenProjectElementCommand.java:79)
        at net.refractions.udig.project.ui.commands.OpenProjectElementCommand$1.run(OpenProjectElementCommand.java:70)
        at net.refractions.udig.ui.PlatformGIS$2.run(PlatformGIS.java:270)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:124)
        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:386)
        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:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        Show
        rahul kumar added a comment - The oracle spatial connection error is still in 1.2M5. First, when I enter all the fields except schema, then after clicking lookup, the schema list is not getting populated. Now when I enter a schema name and then connect, then the list is populated but the DB name is cleared. After reentering the DB name when I select a layer, the eroor comes that I have attached. The exception is : java.lang.NullPointerException at org.eclipse.emf.ecore.util.EcoreEList.resolveProxy(EcoreEList.java:212) at org.eclipse.emf.ecore.util.EcoreEList.resolve(EcoreEList.java:167) at org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList.resolve(EObjectWithInverseResolvingEList.java:99) at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:537) at net.refractions.udig.project.internal.impl.SynchronizedEObjectWithInverseResolvingEList.get(SynchronizedEObjectWithInverseResolvingEList.java:78) at org.eclipse.emf.common.util.BasicEList$EIterator.doNext(BasicEList.java:1325) at org.eclipse.emf.common.util.BasicEList$EIterator.next(BasicEList.java:1312) at net.refractions.udig.project.internal.impl.LayersList2.addDeepAdapter(LayersList2.java:67) at net.refractions.udig.project.internal.impl.MapImpl.addDeepAdapter(MapImpl.java:1721) at net.refractions.udig.project.ui.internal.RenderManagerDynamic.basicSetMapInternal(RenderManagerDynamic.java:389) at net.refractions.udig.project.internal.render.impl.RenderManagerImpl.eInverseAdd(RenderManagerImpl.java:488) at net.refractions.udig.project.internal.impl.MapImpl.setRenderManagerInternalGen(MapImpl.java:1144) at net.refractions.udig.project.internal.impl.MapImpl.setRenderManagerInternal(MapImpl.java:1185) at net.refractions.udig.project.ui.viewers.MapViewer.setMap(MapViewer.java:181) at net.refractions.udig.project.ui.internal.MapEditor.createPartControl(MapEditor.java:921) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) at net.refractions.udig.project.ui.commands.OpenProjectElementCommand.openMap(OpenProjectElementCommand.java:81) at net.refractions.udig.project.ui.commands.OpenProjectElementCommand.access$1(OpenProjectElementCommand.java:79) at net.refractions.udig.project.ui.commands.OpenProjectElementCommand$1.run(OpenProjectElementCommand.java:70) at net.refractions.udig.ui.PlatformGIS$2.run(PlatformGIS.java:270) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:124) 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:386) 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:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        Hide
        rahul kumar added a comment -
        I have resolved the issue. There are some changes need to be done.
        Find the attached files for the same.
        Show
        rahul kumar added a comment - I have resolved the issue. There are some changes need to be done. Find the attached files for the same.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jeffrey C Bernard
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: