Bug 1038832 - hangs while creating new class
Summary: hangs while creating new class
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 22:51 UTC by Przemek Klosowski
Modified: 2014-09-01 05:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-01 05:37:11 UTC
Type: Bug


Attachments (Terms of Use)

Description Przemek Klosowski 2013-12-05 22:51:41 UTC
Description of problem:

can't create new class in a new project. Basically doing a java 'Hello World' project: using ~/workspace File->new->project using Java perspective. In the project view, New Java Class, filling out the Name, selecting  "public static void main(String[] args)" and clicking Finish doesn't do anything: there is no error message, but nothing happens.

I can click Cancel which closes the New Java Class window. 


Version-Release number of selected component (if applicable):
java-1.7.0-openjdk-devel-1.7.0.60-2.4.3.0.fc19.x86_64
eclipse-platform-4.3.1-5.fc19.x86_64


How reproducible: every time


Steps to Reproduce: see above

Actual results:


Expected results: new class window closes, new class is created


Additional info:

Comment 1 Przemek Klosowski 2014-04-25 15:52:48 UTC
Just confirmed that it does the same thing in Eclipse 4.3.2 under Fedora 20.

Comment 2 Przemek Klosowski 2014-04-25 15:55:35 UTC
I can work around this issue by right-clicking the src folder in Projects pane, and selecting New/File. In the file editor, I just manually entered the simpple class template:

class MyClass
{
	static public void main(String[] args)
	{
		System.out.println("hello world");
	}
}

which then allowed me to Run/Run As/Java Application.

Comment 3 Przemek Klosowski 2014-08-30 09:37:20 UTC
Re-checked in eclipse-platform-4.3.2-3.fc20.x86_64 (Build id: 3fc20)

The problem appears to have been fixed; I believe it's appropriate to close it with CURRENTRELEASE, but I am not sure of the workflow so I leave it up to the maintainers.

Comment 4 Alexander Kurtakov 2014-09-01 05:37:11 UTC
Closing as per reporter testing.


Note You need to log in before you can comment on or make changes to this bug.