Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343183 - 'Open Project' fails with NPE, Eclipse crashes, only in one specific workspace
Summary: 'Open Project' fails with NPE, Eclipse crashes, only in one specific workspace
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 13:56 EDT by alexx CLA
Modified: 2011-04-19 02:24 EDT (History)
2 users (show)

See Also:


Attachments
log file showing stacks associated with null pointers and other errors. (243.76 KB, text/plain)
2011-04-18 13:57 EDT, alexx CLA
no flags Details
screenshot of first error (315.19 KB, image/bmp)
2011-04-18 13:59 EDT, alexx CLA
no flags Details
Screenshot of Init java tooling NPE (315.19 KB, image/bmp)
2011-04-18 14:00 EDT, alexx CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexx CLA 2011-04-18 13:56:27 EDT
Build Identifier: 3.1.6

I am not sure what caused this to suddenly start happening.  I have a workspace that I rarely use (but when I need it, I NEED it!)  All of a sudden, I cannot open the projects I have in that workspace.  Eclipse pops up a pair of errors and hangs.

Reproducible: Always

Steps to Reproduce:
1. Start eclipse using the specific workspace
2. attempt to open the closed project
3.
Comment 1 alexx CLA 2011-04-18 13:57:26 EDT
Created attachment 193507 [details]
log file showing stacks associated with null pointers and other errors.
Comment 2 alexx CLA 2011-04-18 13:59:21 EDT
Created attachment 193508 [details]
screenshot of first error
Comment 3 alexx CLA 2011-04-18 14:00:11 EDT
Created attachment 193509 [details]
Screenshot of Init java tooling NPE
Comment 4 alexx CLA 2011-04-18 14:05:45 EDT
I guess I didn't notice that these errors ALSO occur just on startup alone (I just was clicking 'open project' faster than the build could attempt to start/complete). HOWEVER - on startup, these errors do NOT CRASH Eclipse.  Eclipse ONLY crashes when attempting to open the project.
Comment 5 Dani Megert CLA 2011-04-19 02:23:22 EDT
>Build Identifier: 3.1.6
I assume you meant 3.6.1.

> org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer
>    .getClasspathEntries

The NPE is caused by a JBoss feature/plug-in that is installed. Please report your bug there.

If you install a clean Eclipse SDK from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.6.2-201102101200/index.php

You should at least be able to open the project but of course all additional JBoss features will be missing.