Q7

NPE while test execution

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.17
  • Fix Version/s: 1.2.19
  • Component/s: Runtime
  • Labels:
  • Environment:
    Q7-D12-781
  • Test Mode:
    Manual

Description

   java.lang.NullPointerException
                                      at org.eclipse.ui.navigator.CommonNavigator.isDirty(CommonNavigator.java:653)
                                      at org.eclipse.ui.internal.WorkbenchPartReference.isDirty(WorkbenchPartReference.java:643)
                                      at com.xored.tesla.internal.ui.processors.SWTUIProcessor.processView(SWTUIProcessor.java:2824)
                                      at com.xored.tesla.internal.ui.processors.SWTUIProcessor.processChildren(SWTUIProcessor.java:2785)
                                      at com.xored.tesla.internal.ui.processors.SWTUIProcessor.collectInformation(SWTUIProcessor.java:2751)
                                      at com.xored.tesla.internal.core.AbstractTeslaClient.getAdvancedInformation(AbstractTeslaClient.java:495)
                                      at com.xored.tesla.internal.core.AbstractTeslaClient.handleFailedResponse(AbstractTeslaClient.java:482)
                                      at com.xored.tesla.internal.core.AbstractTeslaClient.execute(AbstractTeslaClient.java:366)
                                      at com.xored.tesla.internal.core.AbstractTeslaClient.doOneCommand(AbstractTeslaClient.java:307)
                                      at com.xored.tesla.internal.core.AbstractTeslaClient.processNext(AbstractTeslaClient.java:186)
                                      at com.xored.tesla.ecl.impl.TeslaBridge$2.doProcessing(TeslaBridge.java:77)
                                      at com.xored.tesla.swt.events.TeslaEventManager.doProcessing(TeslaEventManager.java:94)
                                      at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$1$e269b158(DisplayAspect.aj:71)
                                      at org.eclipse.swt.widgets.Display.sleep(Display.java:4650)
                                      at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
                                      at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:917)
                                      at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:459)
                                      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1026)
                                      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
                                      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
                                      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
                                      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
                                      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
                                      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
                                      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                                      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
                                      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(null:-2)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
                                      at java.lang.reflect.Method.invoke(null:-1)
                                      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)
                                      at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Activity

Hide
komaz added a comment - 17/Apr/13 11:20 AM

I have no idea how this could happen, but added a fix – now SWTUIProcessor aware that isDirty can throw NPE

Show
komaz added a comment - 17/Apr/13 11:20 AM I have no idea how this could happen, but added a fix – now SWTUIProcessor aware that isDirty can throw NPE

People

Vote (0)
Watch (0)

Dates

  • Created:
    25/Feb/13 12:55 PM
    Updated:
    17/Apr/13 11:20 AM
    Resolved:
    17/Apr/13 11:20 AM