Skip to main content



      Home
Home » Newcomers » Newcomers » Re: jdk
Re: jdk [message #261046] Mon, 14 July 2008 11:59 Go to next message
Eclipse UserFriend
"tracy" <faithict@yahoo.com> wrote in message
news:a0ac4c34fd52d80a350e2862b370da5b$1@www.eclipse.org...
> When I tried to import a file from a databse, i keep on getting this error
> box and then eclipse will exit. Can anyone please advice what's wrong with
> this? thank you!
>
> C:\jdk1.6.0_10\bin\javaw.exe
> -jar C:\eclipse\startup.jar
> -data C:\eclipse_workspace
> -os win 32
> -ws win32
> -arch x86
> -launcher C:\eclipse\eclipse.exe
> -name Eclipse
> -showsplash 600
> -exitdata d1c_70
> -vm C:\jdk1.6.0_10\bin\javaw.exe
> -vmargs
> -jar C:\eclipse\startup.jar

Hmm, I'm not sure why you're posting this in the eclipse.tools.jdt
newsgroup - does it have anything to do with JDT? I'm adding
eclipse.newcomer to the newsgroups list, as that is often a good starting
point if you're not sure where to ask a question.

Anyway, to help, we'll probably need some more info. Here are a few
questions to get you started:

1. Has this ever worked in the past? If so, what has changed?

2. When you say "import a file from a database", what do you mean by that?
Can you be very specific about exactly what steps you took, what kind of
file, what kind of database, etc.?

3. What version of Eclipse are you using?

4. Do you have any third-party (non-Eclipse) plugins installed?

5. Is there anything in the error log (look in your workspace, in
..metadata/.log, or just bring up the PDE Runtime -> Error Log view)?

6. Is Eclipse otherwise working normally?

7. Have you tried any other debugging or troubleshooting, and if so, what
did you learn?

Thanks!
Re: jdk [message #261065 is a reply to message #261046] Mon, 14 July 2008 13:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faithict.yahoo.com

Hello, Thank you so much for replying me. I am sorry I posted it at the
wrong place. Do you want me to move it to the newcomer newsgroup? Thank
you! Below are the answers to your questions.




1. Has this ever worked in the past? If so, what has changed?
Yes this had worked before but after one month of not touching this
project, and when i tried to run it again, it is giving me error.



2. When you say "import a file from a database", what do you mean by that?
Can you be very specific about exactly what steps you took, what kind of
file, what kind of database, etc.?
I am importing file from Oracle



3. What version of Eclipse are you using? 3.2



4. Do you have any third-party (non-Eclipse) plugins installed?
No I do not have





5. Is there anything in the error log (look in your workspace, in
..metadata/.log, or just bring up the PDE Runtime -> Error Log view)?
I saw that there is a NullPpointerException error in it. I had attached
the error below. it.

!ENTRY org.eclipse.ui 4 0 2008-07-14 10:48:07.236
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at A.A.A.A.B.A.K.K.dispose(y:119)
at org.eclipse.jface.wizard.Wizard.dispose(Wizard.java:198)
at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog .java:728)
at org.eclipse.jface.wizard.WizardDialog.close(WizardDialog.jav a:407)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window .java:736)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:68 2)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:159)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations. java:257)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.jav a:1606)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3248 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1539)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:185 1)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:438)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1539)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:185 1)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:438)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1539)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:19 32)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2966)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.actions.ImportResourcesAction.run(ImportResou rcesAction.java:159)
at
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:168)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)





6. Is Eclipse otherwise working normally?
Yes other than this the Eclipse is working properly.



7. Have you tried any other debugging or troubleshooting, and if so, what
did you learn?
No i haven't tried any debugging or troubleshooting.



Thank you!
Re: jdk [message #261085 is a reply to message #261065] Mon, 14 July 2008 15:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

> 1. Has this ever worked in the past? If so, what has changed?
> Yes this had worked before but after one month of not touching this
> project, and when i tried to run it again, it is giving me error.

Did you install anything new? Has anyone / anything else been playing in
this workspace? Could something else have affected the workspace or project?

> 2. When you say "import a file from a database", what do you mean by
> that? Can you be very specific about exactly what steps you took, what
> kind of file, what kind of database, etc.?
> I am importing file from Oracle

How? What kind of file? Using what wizard? To what format? Please
provide more information. Steps to reproduce your problem would be ideal.

> 3. What version of Eclipse are you using? 3.2

Can you upgrade to 3.3 or 3.4? 3.2 is so two years ago. :)

> 4. Do you have any third-party (non-Eclipse) plugins installed? No I do
> not have

What about the plugin(s) providing an importer for Oracle? Is that open
source / EPL'd? Doesn't sound like something available at eclipse.org,
unless DTP (Data Tools Project) provides connectors for Oracle.

> 5. Is there anything in the error log (look in your workspace, in
> .metadata/.log, or just bring up the PDE Runtime -> Error Log view)?
> I saw that there is a NullPpointerException error in it. I had attached
> the error below. it.

> !ENTRY org.eclipse.ui 4 0 2008-07-14 10:48:07.236
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at A.A.A.A.B.A.K.K.dispose(y:119)
> at org.eclipse.jface.wizard.Wizard.dispose(Wizard.java:198)
> at
> org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog .java:728)
> at org.eclipse.jface.wizard.WizardDialog.close(WizardDialog.jav a:407)
> at
> org.eclipse.jface.window.Window.handleShellCloseEvent(Window .java:736)
> at org.eclipse.jface.window.Window$3.shellClosed(Window.java:68 2)

That error is most likely related to graphics (jface, swt), not data,
but I'm curious -- what were you doing right before this error happened?

Was there anything else in the log? If you clear the log (either using
the Error Log view or by shutting down Eclipse and deleting
workspace/.metadata/.log), then restart Eclipse and try to import again,
do you get this, or any other, logged errors?

You could also try starting Eclipse with the following flags:

-debug (more verbose output)
-consolelog (.log content also appears in the console where you ran
Eclipse, unless you just double-clicked eclipse.exe)
-console (open OSGi console for additional information


--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: jdk [message #261097 is a reply to message #261065] Mon, 14 July 2008 23:38 Go to previous messageGo to next message
Eclipse UserFriend
"tracy" <faithict@yahoo.com> wrote in message
news:4e4e1878599f103a6150c453651acc5e$1@www.eclipse.org...
> Hello, Thank you so much for replying me. I am sorry I posted it at the
> wrong place. Do you want me to move it to the newcomer newsgroup?

Hi, Tracy. I included eclipse.newcomer in my reply to you. I see that Nick
Boldt has already responded in that newsgroup, so you should make sure to
read his response. Yes, it is probably best to continue the discussion in
that newsgroup. Thanks!
Re: jdk [message #261152 is a reply to message #261085] Tue, 15 July 2008 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faithict.yahoo.com

Hello, Thank you for the reply. I am not sure what has gone wrong and so i
decided to reinstall eclipse with the latest version and now i am getting
a different error.

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289 )
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)


Can you please advice me in this issue? Thank you so much for the help!

Tracy
Re: jdk [message #261156 is a reply to message #261152] Tue, 15 July 2008 11:32 Go to previous messageGo to next message
Eclipse UserFriend
"tracy" <faithict@yahoo.com> wrote in message
news:febc971cbe377c4b5678ddee282674fa$1@www.eclipse.org...
> Hello, Thank you for the reply. I am not sure what has gone wrong and so i
> decided to reinstall eclipse with the latest version and now i am getting
> a different error.
>
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289 )
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
>
>
> Can you please advice me in this issue? Thank you so much for the help!


I suspect that you used to have some third-party plugin, or at the very
least a plugin from one of the higher-level Eclipse components (such as
DTP), and your latest install does not include that. Or possibly it needs
some configuration in order to locate the Oracle drivers.

You've still not answered Nick Boldt's questions, though. It will be hard
to give you any useful advice without that.
Re: jdk [message #261163 is a reply to message #261156] Tue, 15 July 2008 11:46 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

So install the plugin that provides this and you should be sorted. As
Walter said, it might be part of the Data Tools project
(eclipse.org/datatools/) you need to install and configure, or it might
be something you need to get from Oracle directly.

It's further possible that you've omitted a dependency and thus the
higher-level projects aren't loading/running. On startup with the
`-consolelog -console -debug` flags, you will see errors explaining
plugins that can't load because they're missing dependencies.

Nick

Walter Harley wrote:
> "tracy" <faithict@yahoo.com> wrote in message
> news:febc971cbe377c4b5678ddee282674fa$1@www.eclipse.org...
>> Hello, Thank you for the reply. I am not sure what has gone wrong and so i
>> decided to reinstall eclipse with the latest version and now i am getting
>> a different error.
>>
>> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289 )
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:169)
>>
>>
>> Can you please advice me in this issue? Thank you so much for the help!
>
>
> I suspect that you used to have some third-party plugin, or at the very
> least a plugin from one of the higher-level Eclipse components (such as
> DTP), and your latest install does not include that. Or possibly it needs
> some configuration in order to locate the Oracle drivers.
>
> You've still not answered Nick Boldt's questions, though. It will be hard
> to give you any useful advice without that.
>
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Previous Topic:How do i change my character encoding
Next Topic:Eclipse Debug question
Goto Forum:
  


Current Time: Thu May 08 22:24:16 EDT 2025

Powered by FUDForum. Page generated in 0.09510 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top