It's all about the answers!

Ask a question

Exception in RTC classes using ShellEd

Chris Barlock (18814337) | asked Jul 14 '17, 4:50 p.m.

I'm using Eclipse Neon.3 Java EE with RTC 6.0.2 and ShellEd 5.x.  Since accepting the latest updates to all installed components, the Outline view of scripts opened in ShellEd (part of the DLTK) no longer works.  All I see is the white 'C' icon in a green circle and the name of the script -- but none of the function names or other items in the script that normally appear in the outline.  I note the following in the error log: Resource '/ /' does not exist. at at at org.eclipse.core.internal.expressions.Property.test( at org.eclipse.core.internal.expressions.TestExpression.evaluate( at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd( at org.eclipse.core.internal.expressions.EnablementExpression.evaluate( at org.eclipse.ui.internal.ObjectActionContributor$ObjectContribution.isApplicableTo( at org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo( at org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo( at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions( at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions( at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow( at org.eclipse.jface.action.MenuManager.fireAboutToShow( at org.eclipse.jface.action.MenuManager.handleAboutToShow( at org.eclipse.jface.action.MenuManager.access$1( at org.eclipse.jface.action.MenuManager$2.menuShown( at org.eclipse.swt.widgets.TypedListener.handleEvent( at org.eclipse.swt.widgets.EventTable.sendEvent( at org.eclipse.swt.widgets.Display.sendEvent( at org.eclipse.swt.widgets.Widget.sendEvent( at org.eclipse.swt.widgets.Widget.sendEvent( at org.eclipse.swt.widgets.Widget.sendEvent( at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP( at org.eclipse.swt.widgets.Control.windowProc( at org.eclipse.swt.widgets.Canvas.windowProc( at org.eclipse.swt.widgets.Decorations.windowProc( at org.eclipse.swt.widgets.Shell.windowProc( at org.eclipse.swt.widgets.Display.windowProc( at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible( at org.eclipse.swt.widgets.Display.runPopups( at org.eclipse.swt.widgets.Display.readAndDispatch( at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$ at org.eclipse.core.databinding.observable.Realm.runWithDefault( at at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI( at org.eclipse.ui.internal.Workbench$ at org.eclipse.core.databinding.observable.Realm.runWithDefault( at org.eclipse.ui.internal.Workbench.createAndRunWorkbench( at org.eclipse.ui.PlatformUI.createAndRunWorkbench( at org.eclipse.ui.internal.ide.application.IDEApplication.start( at at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start( at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.eclipse.equinox.launcher.Main.invokeFramework( at org.eclipse.equinox.launcher.Main.basicRun( at at org.eclipse.equinox.launcher.Main.main( Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/ /' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists( at org.eclipse.core.internal.resources.Resource.checkAccessible( at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal( at org.eclipse.core.internal.resources.Resource.getPersistentProperty( at ... 53 more

where, in this case, is the name of the script. I opened a bug report against ShellEd, but ShellEd installed into a fresh Eclipse without RTC works just fine.  Also, I uninstalled ShellEd 5.8 and reverted to 5.6 in my Eclipse/RTC environment and it has the same Outline failure as 5.8.  Also, since this Exception is in the classes, this looks more and more like an RTC bug.  Is "Open a Service Ticket" the right way to get this addressed?

Chris Barlock commented Aug 10 '17, 1:26 p.m.

  I just installed the Eclipse Oxygen Java EE bundle and added RTC and ShellEd to it.  Same problem.  What is the current mechanism for opening RTC bug reports?  Is it "Open a Service Ticket?"

Ian Wark commented Aug 10 '17, 9:22 p.m.

If you have entitlement to raise a PMR via SR or otherwise, that is a good method to investigate. You can also raise a Defect type workitem in directly, but there is no guarantee the issue would get attention.

There is an issue with some duplicate bundles in RTC media that has affected some clients with third party Eclipse plugins. Are you installing RTC via p2? If not, I would suggest you should definitely try that, as it works around the duplicate bundle issue.

Chris Barlock commented Aug 11 '17, 9:21 a.m.

Yes, I installed via p2.

Be the first one to answer this question!

Register or to post your answer.