Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
ivangualandri
Posts: 22
Registered: ‎09-06-2013
My Device: Developer
Accepted Solution

Momentics Ide crash after upgrade

Today i received an upgrade notice from my momentics ide. 

 

After the upgrade was installed it asked me to restart the IDE, but now it keeps crashing every time i try to launch it. 

 

Here the error message that i found in the qde logs: 

 

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-06-25 20:12:13.655
!MESSAGE Unable to load class 'com.qnx.tools.ide.ui.e4.QNXToolBar' from bundle '803'
!STACK 0
java.lang.ClassNotFoundException: com.qnx.tools.ide.ui.e4.QNXToolBar cannot be found by com.qnx.tools.ide.ui.e4_2.1.0.v201406042046
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:100)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:49)
at org.eclipse.e4.ui.workbench.renderers.swt.ToolControlRenderer.createWidget(ToolControlRenderer.java:75)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarRenderer.processContents(TrimBarRenderer.java:155)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:526)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:511)
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:604)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1042)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at com.qnx.tools.ide.bbt.application.BBTApplication.start(BBTApplication.java:57)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

 

 

Developer
BBSJdev
Posts: 6,118
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: Momentics Ide crash after upgrade

You're lucky mine doesn't even update. :-)

 

I always end up reinstalling for whatever reason each time there's an update I suggest you do the same.

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Developer
ivangualandri
Posts: 22
Registered: ‎09-06-2013
My Device: Developer

Re: Momentics Ide crash after upgrade

Ok i just downloaded latest linux version: 

 

vetinari@susan ~/Downloads $ ./momentics-2.1-201406041640.linux.x86.run
./momentics-2.1-201406041640.linux.x86.run: line 1: syntax error near unexpected token `('
./momentics-2.1-201406041640.linux.x86.run: line 1: `rk services (including wireless local area network, satellite service and Internet services) that support the BlackBerry Solution.'

 

It seems that there are problems too :smileyhappy: 

Developer
ivangualandri
Posts: 22
Registered: ‎09-06-2013
My Device: Developer

Re: Momentics Ide crash after upgrade

[ Edited ]

FInally i installed a newer version of momentics ide. But i still have cannot use it.

 

Now the log raise the following exception: 

 

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-05-25 22:01:34.554
!MESSAGE Error setting focus to : org.eclipse.e4.ui.model.application.ui.basic.impl.PartImpl Console
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Widget.error(Widget.java:480)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:417)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1374)
at com.qnx.tools.ide.bbt.debug.internal.ui.log.DeviceLogConsolePage.setFocus(DeviceLogConsolePage.java:179)
at org.eclipse.ui.part.PageBookView.setFocus(PageBookView.java:894)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.delegateSetFocus(CompatibilityPart.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:208)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:106)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:587)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:549)
at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:105)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$1.handleEvent(ContributedPartRenderer.java:61)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1281)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1582)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3631)
at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:2970)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1768)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:5116)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4377)
at org.eclipse.swt.internal.gtk.OS._gtk_widget_grab_focus(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_widget_grab_focus(OS.java:13109)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2352)
at org.eclipse.swt.widgets.Composite.forceFocus(Composite.java:534)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2345)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:4009)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1380)
at org.eclipse.ui.part.PageBookView.setFocus(PageBookView.java:890)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.delegateSetFocus(CompatibilityPart.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:208)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:106)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$2.setFocus(ContributedPartRenderer.java:101)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1378)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$9.mouseUp(StackRenderer.java:942)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3562)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3186)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at com.qnx.tools.ide.bbt.internal.ui.BBTApplication.start(BBTApplication.java:42)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

 

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-05-25 22:01:34.563
!MESSAGE Error setting focus to : org.eclipse.e4.ui.model.application.ui.basic.impl.PartImpl Console
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)

 

 

Then now i'm unable to develop any blackberry application :smileysad: 

Developer
MagnumOpus
Posts: 158
Registered: ‎01-03-2013
My Device: n/a

Re: Momentics Ide crash after upgrade

Are you using KDE?

 

If so, It usually has to do with the fact that eclipse uses gtk+ and there seems to be some problem with the gtk themes used by momentics. The only workaround I found was to select another theme instead of oxygen-gtk. In my case clearlooks theme hit the nail on the head.

 

 

Regards.

If my answer has been useful to you, please, click the button
BlackBerry Development Advisor
russellandrade
Posts: 19
Registered: ‎03-18-2012
My Device: Blackberry Z10

Re: Momentics Ide crash after upgrade

[ Edited ]

Hi folks,

     In order to use the 10.3 API level, you need to make sure to update your Momentics version to 2.1.  If you tried to install the API level prior to upgrading your version of Momentics, your IDE will get into a wierd state and to recover you will need to uninstall it and reinstall Momentics 2.1 from the developer site.

 

In theory you should be able to upgrade to Momentics 2.1 from 2.0, but I have also been hearing reports that there might be intermittent problems when doing this.  Our test team is verifying this scenario currently.

 

To be safe, for those developers who want to use either 10.3, or Momentics 2.1 I suggest you do the following :

 

1.  Uninstall your current version of Momentics

2.  Install Momentics 2.1

3.  Update to the 10.3 API level

 

I will confirm in the next day or so, if you can upgrade Momentics 2.1 from the 2.0 IDE directly.  For now I suggest you do not try this.

 

 

Russell

 

 

Russell Andrade
Senior Product Manager, Native SDK
Twitter : @russell_andrade
Developer
ivangualandri
Posts: 22
Registered: ‎09-06-2013
My Device: Developer

Re: Momentics Ide crash after upgrade

I tried to reinstall momentics, but i have the error posted above. 

 

It load ide but it crash after 3 seconds.

 

And @

BlackBerry Development Advisor
russellandrade
Posts: 19
Registered: ‎03-18-2012
My Device: Blackberry Z10

Re: Momentics Ide crash after upgrade

So you uninstalled the existing Momentics and reinstalled Momentics 2.1 and it still crashed ?  Just want to clarify that you did do the uninstall ?

Russell Andrade
Senior Product Manager, Native SDK
Twitter : @russell_andrade
Developer
ivangualandri
Posts: 22
Registered: ‎09-06-2013
My Device: Developer

Re: Momentics Ide crash after upgrade

I'm using linux and from what i know with momentics, and every eclipse based ide, you just need to delete the bbndk folder, to uninstall momentics.

 

So my answer is yes! I uninstalled momentics. 

BlackBerry Development Advisor
russellandrade
Posts: 19
Registered: ‎03-18-2012
My Device: Blackberry Z10

Re: Momentics Ide crash after upgrade

Try installing using the following command on terminal :

 

sh momentics-2.1-201406041640.linux.x86.run

Russell Andrade
Senior Product Manager, Native SDK
Twitter : @russell_andrade