Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-5741

NPE found in log file on creating a Classic Mobile App

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Not Our Bug
    • Affects Version/s: Release 3.2.0
    • Fix Version/s: 2013 Sprint 25
    • Component/s: None
    • Labels:
    • Environment:

      Windows 8
      Appcelerator Studio, build: 3.2.0.201311161724
      sdk-3.2.0.v20131117001643
      ├── acs@1.0.7
      ├── alloy@1.3.0
      ├── npm@1.3.2
      ├── titanium@3.2.0-alpha
      └── titanium-code-processor@1.1.0-alpha

    • Story Points:
      3
    • Sprint:
      2013 Sprint 25

      Description

      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.

      !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
      	at com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source)
      	at com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source)
      	at com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source)
      	at com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source)
      	at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source)
      	at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source)
      	at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268)
      	at com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330)
      	at com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115)
      	at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      	at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
      	at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
      	at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)
      	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)
      	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717)
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136)
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130)
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
      	at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627)
      	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
      	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
      	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990)
      	at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
      	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257)
      	at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      	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:138)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      	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 com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      	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)
      --------------- linked to ------------------
      javax.xml.xpath.XPathExpressionException
      	at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306)
      	at com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268)
      	at com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330)
      	at com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115)
      	at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      	at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
      	at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
      	at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
      	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      	at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)
      	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)
      	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717)
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136)
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130)
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
      	at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627)
      	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
      	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
      	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990)
      	at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
      	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257)
      	at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      	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:138)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      	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 com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      	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)
      Caused by: java.lang.NullPointerException
      	at com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source)
      	at com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source)
      	at com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source)
      	at com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source)
      	at com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source)
      	at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source)
      	at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source)
      	... 61 more
      

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              schowbey Shreya Chowbey
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: