Project: appceleratorstudio
Issue TISTUD-5741: NPE found in log file on creating a Classic Mobile App
Steps Followed: 1. Create a Classic Mobile App with or without Cloud Services. Actual Result: NPE found in the log file. Please observe the attached log file for further clarification. {code} !ENTRY com.appcelerator.titanium.core 4 0 2013-11-18 15:09:50.442 !MESSAGE (Build 3.2.0.201311161724) [ERROR] null !STACK 0 java.lang.NullPointerException com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source) com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source) com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source) com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.(Unknown Source) com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source) com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source) com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source) com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384) com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286) com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350) com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306) com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268) com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330) com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115) org.eclipse.core.internal.expressions.Property.test(Property.java:58) org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53) org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287) org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717) com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136) com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130) com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122) org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239) org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257) org.eclipse.swt.widgets.Display.runPopups(Display.java:4211) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) org.eclipse.equinox.launcher.Main.run(Main.java:1450) --------------- linked to ------------------ javax.xml.xpath.XPathExpressionException com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384) com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286) com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350) com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306) com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268) com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330) com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115) org.eclipse.core.internal.expressions.Property.test(Property.java:58) org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53) org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287) org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717) com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136) com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130) com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122) org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239) org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257) org.eclipse.swt.widgets.Display.runPopups(Display.java:4211) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) org.eclipse.equinox.launcher.Main.run(Main.java:1450) Caused by: java.lang.NullPointerException com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source) com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source) com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source) com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source) com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.(Unknown Source) com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source) com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source) com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source)	... 61 more {code}
Story points: 3