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)
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)
9 answers
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
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,.....
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.
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.