Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] oracle status update

OK, I'm at the same point as the rest of you.  I could go through the various
schemas, but once I sleect one, I got the same java NPE as below.

Running a laptop with a localhost 10.1.0.4 instance.

Rob

On Fri, 09 Sep 2005 20:05 , Simon Greener <sgreener@xxxxxxxxxxxxxxx> sent:

>Jukka,
>
>Yes.
>
>I have downloaded the latest versions of classes12.jar and ojdbc14.jar.
>
>I have uninstalled UDig, reinstalled it with the latest download.
>
>I get to exactly the same point as you.
>
>I am running on a laptop with a localhost Oracle 10.1.0.2 instance.
>
>S.
>On Fri, 09 Sep 2005 17:24:50 +1000, Jukka Sirviö  
>Jukka.Sirvio@xxxxxxxxxxxx> wrote:
>
>> Hello!
>> Simon, now you are in the same point where I get myself when testing  
>> these
>> latest OraclePlugin -changes (see my last message 08.09.2005 with
>> oracle_npe2.txt attached), now we have exactly same NPE -errormessage.
>>
>> I assume that you get the login -dialog visible and you can also enter
>> host, username, password and database information. After these you get  
>> the
>> drop-down menu labeled as Schema, populated with database tablenames. NPE
>> strucks when you enter Next -button? Am I correct?
>>
>> Yours:
>> Jukka
>>
>>
>>
>>
>>
>>
>> "Simon Greener" sgreener@xxxxxxxxxxxxxxx>
>> Sent by: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
>> 09/09/2005 10:43
>> Please respond to User-friendly Desktop Internet GIS
>>        To:     "User-friendly Desktop Internet GIS"
>> udig-devel@xxxxxxxxxxxxxxxxxxxxx>
>>         cc:
>>         Subject:        Re: [udig-devel] oracle status update
>>
>>
>> Jesse,
>>
>> I followed all these instructions and...... nearly got it to work!
>>
>> I discovered that the Oracle jar files could not "go anywhere". I got
>> the login dialog to occur only when I put them in:
>>
>> C:\Program Files\uDig\eclipse\jre\lib\ext
>>
>> I tried combinations of classes12.jar and/or ojdbc14.jar in this and  
>> other
>> directories and can't get past this (to me, gobblegook):
>>
>> java.lang.NullPointerException
>>                  at
>>
net.refractions.udig.catalog.internal.oracle.ui.OracleSpatialWizardPage.getResources(OracleSpatialWizardPage.java:368)
>>                  at
>>
net.refractions.udig.catalog.internal.ui.ConnectionPage.getResources(ConnectionPage.java:71)
>>                  at
>>
net.refractions.udig.catalog.internal.ui.ConnectionPage$1.run(ConnectionPage.java:126)
>>                  at
>> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
>>                  at
>> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
>>                  at
>> org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
>>                  at
>>
net.refractions.udig.catalog.internal.ui.ConnectionPage.getNextPage(ConnectionPage.java:146)
>>                  at
>> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:747)
>>                  at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
>>                  at
>> org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
>>                  at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
>>                  at
>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>>                  at
>> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
>>                  at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
>>                  at
>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
>>                  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:28)
>>                  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(Unknown
>> Source)
>>                  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>                  at java.lang.reflect.Method.invoke(Unknown Source)
>>                  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)
>>
>> Any suggestions?
>>
>> S.
>>
>>> The oracle jar can go anywhere.  I have added a page that will allow you
>>
>>> to "show" udig the jars.  (Right now we are requiring the classes12.jar
>>> as well because it might be needed, we don't know as of now).  The
>>> problem seems to be how you are installing the zip file I made up for
>>> you.  Since you are a windows user I will give the instructions that
>>> worked for me:
>>>
>>> 1- download and install udig1.0.1.exe
>>> 2 - download http://udig.refractions.net/downloads/oracle.zip
>>> 3. Open a file explorer
>>> 4. Delete:
>>>     c:\Program
>>> Files\uDig\eclipse\plugins\net.refractions.udig.libs_1.0.1 (this is a
>>> directory)
>>> 5 Unzip oracle.zip
>>> 6 Copy net.refractions.udig.libs_1.0.1(directory) to c:\Program
>>> Files\uDig\eclipse\plugins\
>>> 7 Copy net.refractions.udig.libs.oracle_1.0.0(directory) to c:\Program
>>> Files\uDig\eclipse\plugins\
>>> 8 Copy net.refractions.udig.catalog.oracle_1.0.1.jar (file) to
>>> c:\Program Files\uDig\eclipse\plugins\
>>> 9 Make sure all three are in the c:\Program Files\uDig\eclipse\plugins\
>>> directory.
>>> 10 Run uDig
>>> 11 Layer > Add...
>>>      Oracle should be there!
>>> 13 Select oracle and follow directions.
>>>
>>> Like I said before I will try to create the patch as soon as I can and
>>> put it on the update site.
>>>
>>> Jesse
>>>
>>>
>>> Simon Greener wrote:
>>>
>>>> Jesse,
>>>>
>>>> I am greatly appreciative of all that you have done :-) , and I am sure
>>
>>>> it  is working for you,
>>>> but not for myself and, by the look of it, others as well :-(
>>>>
>>>> Perhaps this is because your version of UDig is on a machine with all
>>>> the  development code,
>>>> JDKs etc etc.  I installed UDig onto a clean laptop and only added the
>>
>>>> JREs that the UDig site
>>>> referenced. I downloaded the oracle 10g jdbc driver but I am still not
>>
>>>> sure where it is supposed to
>>>> go (it doesn't display as a straight .jar file in Windows XP explorer.
>>>> I  downloaded and installed the
>>>> stuff you built yesterday and installed it as you said. When I try and
>>>> Add  a new Layer now Oracle option
>>>> appears for me.  I can only conclude that UDig is not configured
>>>> properly  and I don't know why.
>>>>
>>>> Any thoughts?
>>>>
>>>> S.
>>>> On Fri, 09 Sep 2005 01:00:15 +1000, Jesse Eichar
>>>> jeichar@xxxxxxxxxxxxxxx>  wrote:
>>>>
>>>>> I'm trying it at home and the icon shows up.  make sure that the
>>>>> plugins
>>>>> are in the correct directory.
>>>>>
>>>>>
>>>>> As for the other's problems... I'm not sure I just tried it at home
>> (on
>>>>> a linux box) and it works perfectly.  Maybe the setup is not working
>>>>> for
>>>>> you guys.  I'll try it on windows and if that works then I will create
>>
>>>>> a
>>>>> new feature for you to download from the update site.
>>>>>
>>>>> Jesse
>>>>>
>>>>> On Thu, 2005-09-08 at 09:39 +1000, Simon Greener wrote:
>>>>>
>>>>>> Jesse etc,
>>>>>>
>>>>>> THanks
>>>>>>
>>>>>> > I've exported the oracle jars again for you to try.  I tried it and
>>
>>>>>> it
>>>>>> > worked, here is what I did:
>>>>>> >
>>>>>> > 1.  Delete old net.refractions.udig.libs_1.0.1 directory
>>>>>> > 2.  Delete net.refractions.udig.catalog.oracle_1.0.1.jar
>>>>>> > 3.  Unzip the oracle.zip
>>>>>> > (http://udig.refractions.net/downloads/oracle.zip\) into plugins
>>>>>> > directory (double check that they are all there).
>>>>>> > 4.  Run udig
>>>>>>
>>>>>> I tried all this but I don't get any Oracle connection icon appearing
>>
>>>>>> in
>>>>>> the Add Layers dialog box.
>>>>>> Something must still not be configured properly. I also downloaded
>> the
>>>>>> Oracle jdbc jar file from TechNet
>>>>>> where do I put it (it seesm to be some sort of a jar/zip file)?
>>>>>>
>>>>>> S.
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>>>
>>
>>
>>
>
>
>
>-- 
>Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>_______________________________________________
>User-friendly Desktop Internet GIS (uDig)
>http://udig.refractions.net
>http://lists.refractions.net/mailman/listinfo/udig-devel



---- Message sent via Totalise Webmail - http://www.totalise.co.uk/ MAX Broadband 2Mb now just £17.99 a month plus 2 months free!


Back to the top