Skip to main content



      Home
Home » Newcomers » Newcomers » Error opening files from eclipse navigator
Error opening files from eclipse navigator [message #107830] Thu, 06 October 2005 21:49 Go to next message
Eclipse UserFriend
A beginner question here...
I am playing with eclipse for the first time. Created a simple project in
the resource perspective and created a few text files, saved them, and
closed the editor tabs. When I try to reopen them by double clicking in
the navigator, I get the error message: "An error has occurred. See error
log for more details."

In spite of the error, there is an editor tab opened for the file that was
double clicked, but it isn't highlighted. I have to select it to see the
file contents.

Here is the message from the entry in the error log:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".

Here is the start of the stack trace:
java.lang.NullPointerException
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java(Compiled
Code))
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2325)

I'm on Windows XP, and am using the JRE that came with the ThinkPad.
Version 1.4.1.

Any thoughts on what the problem might be?

Thanks.
Re: Error opening files from eclipse navigator [message #107877 is a reply to message #107830] Fri, 07 October 2005 02:44 Go to previous message
Eclipse UserFriend
Hello Joe,

> A beginner question here... I am playing with eclipse for the first
> time. Created a simple project in the resource perspective and
> created a few text files, saved them, and closed the editor tabs. When
> I try to reopen them by double clicking in the navigator, I get the
> error message: "An error has occurred. See error log for more
> details."
>
> In spite of the error, there is an editor tab opened for the file that
> was double clicked, but it isn't highlighted. I have to select it to
> see the file contents.
>
> Here is the message from the entry in the error log: Problems occurred
> when invoking code from plug-in: "org.eclipse.jface".
>
> Here is the start of the stack trace:
> java.lang.NullPointerException
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartRe
> ference.java(Compiled
> Code))
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java
> :214)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchP
> age.java:2325)
> I'm on Windows XP, and am using the JRE that came with the ThinkPad.
> Version 1.4.1.
>
> Any thoughts on what the problem might be?
>
> Thanks.
>

Upgrade Java to at least 1.4.2 (on java.sun.com site you'll find J2SE v 1.4.2_09),

or even to Java 5.0 (1.5.0_05).
Moreover, switch to JDK, not JRE. JRE contains only Runtime Environment,
so it's smaller, but you won't get the source code and it would be hard to
debug
apps. With JDK you get the source code needed.

Grzegorz Zieliński
g_zielinski<at>intechion.pl
Previous Topic:Re: VerifyListener in a TextCellEditor... bug?
Next Topic:plz help me!!!!!!!!!!!!!!!!
Goto Forum:
  


Current Time: Sat Jul 05 09:59:52 EDT 2025

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

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

Back to the top