Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Bad call to getCoolBarManager()
Bad call to getCoolBarManager() [message #1744599] Wed, 28 September 2016 18:20 Go to next message
Tirtho De is currently offline Tirtho DeFriend
Messages: 1
Registered: September 2016
Junior Member
When trying to use RCPTT, the launch window starts and fails with the following exception stack:

!MESSAGE Tesla server started on port 7002
java.lang.Exception: Bad call to getCoolBarManager()
at org.eclipse.ui.internal.WorkbenchWindow.getCoolBarManager(WorkbenchWindow.java:2875)
at org.eclipse.rcptt.tesla.ui.Q7KeyFormatter.installQ7Formatter(Q7KeyFormatter.java:66)
at org.eclipse.rcptt.tesla.ui.SWTTeslaStartup.earlyStartup(SWTTeslaStartup.java:18)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Eclipse IDE version: Version: Neon (4.6) Build id: I20160606-1100
RCPTT: 2.1.0.201510050740


Any suggestion will be highly appreciated. Thanks !
Re: Bad call to getCoolBarManager() [message #1745521 is a reply to message #1744599] Wed, 12 October 2016 03:10 Go to previous messageGo to next message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 75
Registered: February 2015
Member
Hi,

Could you please attache a full log. This exception is just logged and could not cause real issues.

Following code are taken from org.eclipse.ui.internal.WorkbenchWindow
public CoolBarManager getCoolBarManager() {
		new Exception("Bad call to getCoolBarManager()").printStackTrace(); //$NON-NLS-1$
		return oldCBM;
	}


Thanks.
Re: Bad call to getCoolBarManager() [message #1799055 is a reply to message #1745521] Thu, 29 November 2018 12:49 Go to previous message
Marco Descher is currently offline Marco DescherFriend
Messages: 198
Registered: October 2010
Location: Austria
Senior Member
Just facing this same problem with Version: 2.3.0 on MAC OS X

java.lang.Exception: Bad call to getCoolBarManager()
	at org.eclipse.ui.internal.WorkbenchWindow.getCoolBarManager(WorkbenchWindow.java:2883) [org.eclipse.ui.workbench_3.110.1.v20170704-1208.jar:na]
	at org.eclipse.rcptt.tesla.ui.Q7KeyFormatter.installQ7Formatter(Q7KeyFormatter.java:67) [org.eclipse.rcptt.tesla.swt_2.3.0.201803200901.jar:na]
	at org.eclipse.rcptt.tesla.ui.SWTTeslaStartup.earlyStartup(SWTTeslaStartup.java:18) [org.eclipse.rcptt.tesla.swt_2.3.0.201803200901.jar:na]
	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77) [org.eclipse.ui.workbench_3.110.1.v20170704-1208.jar:na]
	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53) [org.eclipse.ui.workbench_3.110.1.v20170704-1208.jar:na]
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [org.eclipse.equinox.common_3.9.0.v20170207-1454.jar:na]
	at org.eclipse.ui.internal.Workbench$40.run(Workbench.java:2747) [org.eclipse.ui.workbench_3.110.1.v20170704-1208.jar:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) [org.eclipse.core.jobs_3.9.3.v20180115-1757.jar:na]
13:46:31.010 [ch.elexis.core.logging.osgi.OsgiSl4fjLoggingAdapter@3e105ad6] ERROR OSGI - [org.eclipse.ui.workbench] Bad call to getCoolBarManager()
java.lang.Exception: Bad call to getCoolBarManager()
	at org.eclipse.ui.internal.WorkbenchWindow.getCoolBarManager(WorkbenchWindow.java:2883) ~[na:na]
	at org.eclipse.rcptt.tesla.ui.Q7KeyFormatter.installQ7Formatter(Q7KeyFormatter.java:67) ~[na:na]
	at org.eclipse.rcptt.tesla.ui.SWTTeslaStartup.earlyStartup(SWTTeslaStartup.java:18) ~[na:na]
	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77) ~[na:na]
	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53) ~[na:na]
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ~[na:na]
	at org.eclipse.ui.internal.Workbench$40.run(Workbench.java:2747) ~[na:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) ~[na:na]
Previous Topic:Could not launch AUT while recording
Next Topic:NoClassDefFoundError: org/eclipse/core/resources/IResourceChangeListener
Goto Forum:
  


Current Time: Thu Dec 26 14:14:13 GMT 2024

Powered by FUDForum. Page generated in 0.03260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top