Bug 85228

Summary: [ GCJ ] Bugs in gcj compiled eclipse
Product: [Retired] Red Hat Developer Suite Reporter: Need Real Name <ahussain>
Component: eclipseAssignee: eclipse-bugs
Status: CLOSED CURRENTRELEASE QA Contact: eclipse-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-22 19:28:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2003-02-26 20:26:24 UTC
1 - Create new make C project - stalled/hung had to kill after 13 minutes
    -> Expected results : Project created in workspace directory
                          C/C++ perspective opened
    -> Actual results : stalled on Create Project Dialog - after name of  
                        project,selecting default location and hitting Next.

2 - Open C/C++ perspective by selecting "Open perspective" icon from LHS toolbar
    -> Expected results: C/C++ perspective opened
    -> Actual results: Crashed with Error:

JVM terminated. Exit code=1
/home/tromey/Eclipse/build/gcjlauncher
-cp /home/tromey/Eclipse/build/startup.jar org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /home/tromey/Eclipse/build/eclipse -showsplash 600
-debug

3 - Importing an existing project into the workspace
(Tried importing a C project)

stalled for 15 minutes on a disabled import dialog. Had to close.
closed with error
JVM terminated. Exit code=1
/home/tromey/Eclipse/build/gcjlauncher
-cp /home/tromey/Eclipse/build/startup.jar org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /home/tromey/Eclipse/build/eclipse -showsplash 600
-debug

4-  Open a C file
in C editor:
Fails -
console has error message:
Unhandled exception caught in event loop.
Reason:
java.lang.NullPointerException

crashes with error:
JVM terminated. Exit code=1
/home/tromey/Eclipse/build/gcjlauncher
-cp /home/tromey/Eclipse/build/startup.jar org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /home/tromey/Eclipse/build/eclipse -showsplash 600

5 - Open Debug perspective

Error while loading perspective:

Unable to create part: Debug

Results: perspective fails to load. Eclipse hangs.

6 - convert simple project to C/C++

after selecting the simple project in the dialog, nothing happens upon hitting
Finish
and message on console:
Unhandled exception caught in event loop.
Reason:
java.lang.NullPointerException


7 - open C/C++ projects view in Resource perspective

hung - killed after 30 minutes

______________________________________________________________________________

Basically, I've found that anything that is related to the CDT doesn't work at
all. Eg: Creating simple, java projects succeeds whereas creating / converting
to C/C++ projects fails; opening other perspectives succeeds but the C/C++ or
debug perspective dont; Opening views from the C/C++ or Debug perspective fails
but others (eg: Bookmarks) doesn't.

Comment 1 Tom Tromey 2003-03-25 20:11:43 UTC
I've checked in a fix for the "new project" hang.
This might fix other hangs as well, though I haven't tested that.


Comment 2 Tom Tromey 2003-04-22 19:28:49 UTC
I went through all of these, and they all work
with the current gcj-eclipse.