I'm trying the below code to retrieve an Eclipse project named "Sample_project" from my current workspace.
I am getting an IllegalStateException for the method getWorkspace() stating that the Workspace is closed.
I am not sure what I am doing wrong here.
Any help asap will be appreciated.