Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC 2.0 client wont come up any more

Was messing with a project trying to get eclipse to rebuild it. Doing a combination of Refresh, Clean, Build. Restarted the UI and now it hangs coming up.

java.lang.NullPointerException
at org.eclipse.jdt.internal.core.JavaModelManager$CompilationParticipant
s.getRegisteredParticipants(JavaModelManager.java:295)
at org.eclipse.jdt.internal.core.JavaModelManager$CompilationParticipant
s.getCompilationParticipants(JavaModelManager.java:247)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.notifyPar
ticipants(ReconcileWorkingCopyOperation.java:238)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOp
eration(ReconcileWorkingCopyOperation.java:94)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperati
on.java:716)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaMod
elOperation.java:777)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUn
it.java:1230)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconci
le(JavaReconcilingStrategy.java:124)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$
0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(J
avaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconci
le(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initial
Reconcile(JavaReconcilingStrategy.java:176)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initial
Reconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.ini
tialReconcile(JavaCompositeReconcilingStrategy.java:133)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoR
econciler.java:105)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaRe
conciler.java:388)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:173)
Exception in thread "org.eclipse.jdt.internal.ui.text.JavaReconciler" java.lang.
IllegalStateException: Workspace is closed.
at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlug
in.java:339)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.<init>(TextFileD
ocumentProvider.java:400)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.<init>(TextFileD
ocumentProvider.java:385)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvide
r.<init>(CompilationUnitDocumentProvider.java:903)
at org.eclipse.jdt.internal.ui.JavaPlugin.getCompilationUnitDocumentProv
ider(JavaPlugin.java:635)
at org.eclipse.jdt.internal.ui.JavaPlugin.getWorkingCopyManager(JavaPlug
in.java:660)
at org.eclipse.jdt.ui.JavaUI.getEditorInputTypeRoot(JavaUI.java:768)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.getEditorInputJa
vaElement(EditorUtility.java:397)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.getInputJavaElement
(JavaEditor.java:3506)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.reconcil
ed(CompilationUnitEditor.java:1620)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconci
led(JavaReconcilingStrategy.java:210)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.rec
onciled(JavaCompositeReconcilingStrategy.java:161)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.ini
tialReconcile(JavaCompositeReconcilingStrategy.java:141)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoR
econciler.java:105)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaRe
conciler.java:388) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:173)

0 votes



9 answers

Permanent link
One thing you could always try is using a different workspace. I have seen infrequent in the past that sometimes the workspace gets corrupted and some of the memento data causes eclipse to fail launching.

if a new workspace works you would still have the data on the server.

0 votes


Permanent link
The exception does not occur with a new workspace, but the symptom is the same. The rtc client does not start. After the spash screen there is a blank grey dialog box popped up and the client is hung.

0 votes


Permanent link
The exception does not occur with a new workspace, but the symptom is the same. The rtc client does not start. After the spash screen there is a blank grey dialog box popped up and the client is hung.


Hi Paul

It does sound like your workspace is broken. If you start a new workspace, then create a new repo workspace and point to the original stream - that should reload your repo and local workspace and you should be able to continue as before (and rebuild the project).

regards

anthony

0 votes


Permanent link
I cant get the client to come up to do any of that. I renamed my workspace directory and the client still hangs after the spash screen.

0 votes


Permanent link
I cant get the client to come up to do any of that. I renamed my workspace directory and the client still hangs after the spash screen.


Paul,

that is really mysterious. I have never seen Eclipse just dying. with a completely new workspace it does not have any active connection to RTC so it is a local issue. I am not sure what could have caused that.

You could try to launch the client with the -clean option to reread the bundles.

You could try to use a zipped version of the client to test if there is a general issue with your machine. Policies, file corruption,.....

0 votes


Permanent link
As an afterthought you could look into the workspaces .metadata folder for logs. You might have to kill the hanging process.

0 votes


Permanent link
Googled around and found my solution.

http://ubuntuforums.org/showthread.php?t=920649&page=2

The solution was to add "-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner"

to eclipse.ini. Why I all of a sudden needed this is still a mystery...

0 votes


Permanent link
Googled around and found my solution.

http://ubuntuforums.org/showthread.php?t=920649&page=2

The solution was to add "-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner"

to eclipse.ini. Why I all of a sudden needed this is still a mystery...


Good you found the solution. Are you using Ubuntu? That could have been an important information and sped up the case. We have seen the XULRunner issue several times.

0 votes


Permanent link


Good you found the solution. Are you using Ubuntu? That could have been an important information and sped up the case. We have seen the XULRunner issue several times.


No, i am using OpenClient. I've been using this image for more than a year. Not sure why XULRunner just now crapped out. I havent done yum update in a long time.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 26 '11, 7:41 p.m.

Question was seen: 5,605 times

Last updated: Sep 26 '11, 7:41 p.m.

Confirmation Cancel Confirm