Receiving a Null Pointer Exception when running in ITR

Document ID : KB000004751
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When using ITR "Automatically execute test" option, the execution is stopped and an Error Message window is displayed. The detailed message is below: 

java.lang.NullPointerException 
at com.itko.lisa.web.jxbrowser.JxBrowser.<init>(JxBrowser.java:103) 
at com.itko.lisa.web.jxbrowser.JxBrowserUtils.getViewerBrowserWrapper(JxBrowserUtils.java:195) 
at com.itko.lisa.web.ViewHTMLResults.renderWebView(ViewHTMLResults.java:500) 
at com.itko.lisa.web.ViewHTMLResults.cleanUpViewFromITRTabSwitch(ViewHTMLResults.java:847) 
at com.itko.lisa.gui.ViewResultMasterPanel.cleanUpViewFromITRTabSwitch(ViewResultMasterPanel.java:574) 
at com.itko.lisa.editor.WalkThruPanel$4.valueChanged(WalkThruPanel.java:258) 
at javax.swing.JList.fireSelectionValueChanged(Unknown Source) 
at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source) 
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source) 
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source) 
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source) 
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source) 
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source) 
at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unknown Source) 
at javax.swing.DefaultListSelectionModel.clearSelection(Unknown Source) 
at javax.swing.JList.clearSelection(Unknown Source) 
at javax.swing.JList.setModel(Unknown Source) 
at javax.swing.JList.setListData(Unknown Source) 
at com.itko.lisa.editor.NodeListPanel.updateList(WalkThruPanel.java:1665) 
at com.itko.lisa.editor.WalkThruPanel.executeNextNode(WalkThruPanel.java:984) 
at com.itko.lisa.editor.WalkThruPanel$11.pulse(WalkThruPanel.java:1001) 
at com.itko.util.Pulse$3$1.run(Pulse.java:337) 
at java.awt.event.InvocationEvent.dispatch(Unknown Source) 
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) 
at java.awt.EventQueue.access$500(Unknown Source) 
at java.awt.EventQueue$3.run(Unknown Source) 
at java.awt.EventQueue$3.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) 
at java.awt.EventQueue.dispatchEvent(Unknown Source) 
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
at java.awt.EventDispatchThread.run(Unknown Source)

Environment:
All supported DevTest versions
Cause:

This error is caused by the internal jxbrowser conflicting with user's environment

Resolution:

Set lisa.internal.browser.on=false in local.properties file

Additional Information:

None