Eclipse Won't Start: "Opening a Read Only File"

503 views
Skip to first unread message

Makonnen

unread,
Jan 26, 2010, 12:41:42 PM1/26/10
to CFEclipse Users
This has left me dead in the water. Here's what is happening:

* Eclipse (Galileo) fires up, gets to "Loading Workbench"
* A dialog box pops up saying "You are opening a read only file. You
will not be able to make or save any changes." with an OK or MAKE
WRITABLE button. No matter which I click, the dialog box closes, and
Eclipse shuts down without loading.

The logs currently say:

!SESSION 2010-01-26 11:34:02.994
-----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.ui 4 0 2010-01-26 11:35:57.057
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException

This is followed by multiple "Widget Disposed too Early" entries, and
a final entry of

!ENTRY org.eclipse.ui.workbench 4 2 2010-01-26 11:35:57.322
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
org.eclipse.swt.SWTException: Device is disposed

What I've done:

* Deleted and reinstalled Eclipse and CFEclipse from scratch. This
changed the errors from a "Access Denied" to the above.

Any suggestions?

atomi

unread,
Jan 26, 2010, 1:37:45 PM1/26/10
to cfeclip...@googlegroups.com
Are you trying to open a file on your desktop using Eclipse? Because Eclipse doesn't work like that. You need to open files that are inside project files from within your Eclipse workspace. Eclipse just isn't designed to work with Windows' "open with..." context menu.


*Also the wiki's FAQ anchor that links to this article is broken.


--
For more information on CFEclipse visit: cfeclipse.org
For support, FAQ and tips and tricks visit: trac.cfeclipse.org

You are subscribed to the Google Groups "CFEclipse Users" group.
To post send email to: cfeclip...@googlegroups.com
To unsubscribe send email to: cfeclipse-use...@googlegroups.com
For more options, visit this group online: http://groups.google.com/group/cfeclipse-users?hl=en

denstar

unread,
Jan 26, 2010, 4:28:27 PM1/26/10
to cfeclip...@googlegroups.com
You can also try the version from the nightly update site (we're
pretty close to releasing the nightly- next day or two):

http://cfeclipse.org/update-nightly

There's a fix for external files that might fix you up (might not, too).

And FWIW, you *can* open files from your OS, if you use the eclipseCall plugin.

I hacked up the eclipsecall stuff and made a cfeclipsecall deal a
while ago for OS X. It associates any cfml files with the CFE icon,
which looks pretty, but that's about all that's mac specific in it.

I then went a step further, and added the cfeclipsecall jar to my
Railo instance. This allowed me to use an error page that has
hyperlinks for the files in the stacktrace, so I can click on the
links in the browser and have CFE open it up to the correct line.

It's pretty bad-ass. No one else seems excited about it tho. :(

Regardless, it too is on it's way to the cfeclipse site, I reckon.
Faster if there's more interest, probably.

:Denny

--
The more we have the less we own.
Meister Eckhart

Peter Boughton

unread,
Jan 26, 2010, 5:23:32 PM1/26/10
to cfeclip...@googlegroups.com
> It's pretty bad-ass.  No one else seems excited about it tho.  :(

That's because you never mentioned the clicking on stacktraces and
jumping directly to the appropriate line before!

That sounds an excellent feature - especially if it'll also work for
CF; I got some horribly spaghettified code it would greatly help with!

Oh... is it OSX specific, or can it work with WinXP also?

Makonnen

unread,
Jan 27, 2010, 12:46:28 AM1/27/10
to CFEclipse Users
On Jan 26, 12:37 pm, atomi <at...@verizon.net> wrote:
> Are you trying to open a file on your desktop using Eclipse? Because Eclipse
> doesn't work like that. You need to open files that are inside project files
> from within your Eclipse workspace. Eclipse just isn't designed to work with
> Windows' "open with..." context menu.

Yes, I know that.

This happens just starting up Eclipse--not opening any file: it is
something about either the default configuration files or the default
workspace, I just can't figure out what.

Thanks for the attempt, though!

atomi

unread,
Jan 27, 2010, 1:01:23 AM1/27/10
to cfeclip...@googlegroups.com
I'm sorry to say this is probably a configuration error like you say, as I'm not able to reproduce what you describe. Have you tried a new Eclipse installation _without_ installing any plugins _and_ using a new clean workspace?
If that goes okay you can also try installing CFEclipse nightly as Denny described, it's been very stable lately.


--
Reply all
Reply to author
Forward
0 new messages