java.lang.NullPointerException

Appcelerator JIRA | Clayton Headley | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When starting Titanium Studio in Windows 7, I am given the following webpage error: Line: 1 Error: '$H' is undefined This is created in the log at about the same time and may be related.: {noformat} !ENTRY com.appcelerator.titanium.core 4 0 2012-06-04 08:22:22.053 !MESSAGE (Build 2.0.2.201205311912) [ERROR] com.appcelerator.titanium.core/debug null !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.core.JVMInfo.hasJavac(JVMInfo.java:265) at com.appcelerator.titanium.core.JVMInfo.hasJavac6432(JVMInfo.java:224) at com.appcelerator.titanium.core.JVMInfo.parseJavaVersion(JVMInfo.java:204) at com.appcelerator.titanium.core.JVMInfo.load(JVMInfo.java:122) at com.appcelerator.titanium.core.JVMInfo.<init>(JVMInfo.java:61) at com.appcelerator.titanium.core.JVMInfo.getInstance(JVMInfo.java:46) at com.appcelerator.titanium.mobile.portal.processor.MobileSDKConfigurationHelper.getVersionInfo(MobileSDKConfigurationHelper.java:141) at com.appcelerator.titanium.mobile.ui.portal.processor.MobileSDKConfigurationProcessor.computeStatus(MobileSDKConfigurationProcessor.java:99) at com.aptana.configurations.processor.AbstractConfigurationProcessor.getStatus(AbstractConfigurationProcessor.java:154) at com.appcelerator.titanium.mobile.ui.portal.actionController.MobileSDKActionController$1.run(MobileSDKActionController.java:124) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat} This is a regression bug, this did not occur in earlier builds of the dashboard (last tested 5/30/2012). Steps to reproduce: 1. Launch Titanium Studio. Expected result: Titanium Studio should start without error. Actual result: Titanium Studio throws the given error and creates the entry in the log file.

    Appcelerator JIRA | 5 years ago | Clayton Headley
    java.lang.NullPointerException
  2. 0

    When starting Titanium Studio in Windows 7, I am given the following webpage error: Line: 1 Error: '$H' is undefined This is created in the log at about the same time and may be related.: {noformat} !ENTRY com.appcelerator.titanium.core 4 0 2012-06-04 08:22:22.053 !MESSAGE (Build 2.0.2.201205311912) [ERROR] com.appcelerator.titanium.core/debug null !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.core.JVMInfo.hasJavac(JVMInfo.java:265) at com.appcelerator.titanium.core.JVMInfo.hasJavac6432(JVMInfo.java:224) at com.appcelerator.titanium.core.JVMInfo.parseJavaVersion(JVMInfo.java:204) at com.appcelerator.titanium.core.JVMInfo.load(JVMInfo.java:122) at com.appcelerator.titanium.core.JVMInfo.<init>(JVMInfo.java:61) at com.appcelerator.titanium.core.JVMInfo.getInstance(JVMInfo.java:46) at com.appcelerator.titanium.mobile.portal.processor.MobileSDKConfigurationHelper.getVersionInfo(MobileSDKConfigurationHelper.java:141) at com.appcelerator.titanium.mobile.ui.portal.processor.MobileSDKConfigurationProcessor.computeStatus(MobileSDKConfigurationProcessor.java:99) at com.aptana.configurations.processor.AbstractConfigurationProcessor.getStatus(AbstractConfigurationProcessor.java:154) at com.appcelerator.titanium.mobile.ui.portal.actionController.MobileSDKActionController$1.run(MobileSDKActionController.java:124) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat} This is a regression bug, this did not occur in earlier builds of the dashboard (last tested 5/30/2012). Steps to reproduce: 1. Launch Titanium Studio. Expected result: Titanium Studio should start without error. Actual result: Titanium Studio throws the given error and creates the entry in the log file.

    Appcelerator JIRA | 5 years ago | Clayton Headley
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.appcelerator.titanium.core.JVMInfo.hasJavac()
    2. com.appcelerator.titanium
      MobileSDKConfigurationProcessor.computeStatus
      1. com.appcelerator.titanium.core.JVMInfo.hasJavac(JVMInfo.java:265)
      2. com.appcelerator.titanium.core.JVMInfo.hasJavac6432(JVMInfo.java:224)
      3. com.appcelerator.titanium.core.JVMInfo.parseJavaVersion(JVMInfo.java:204)
      4. com.appcelerator.titanium.core.JVMInfo.load(JVMInfo.java:122)
      5. com.appcelerator.titanium.core.JVMInfo.<init>(JVMInfo.java:61)
      6. com.appcelerator.titanium.core.JVMInfo.getInstance(JVMInfo.java:46)
      7. com.appcelerator.titanium.mobile.portal.processor.MobileSDKConfigurationHelper.getVersionInfo(MobileSDKConfigurationHelper.java:141)
      8. com.appcelerator.titanium.mobile.ui.portal.processor.MobileSDKConfigurationProcessor.computeStatus(MobileSDKConfigurationProcessor.java:99)
      8 frames
    3. com.aptana.configurations
      AbstractConfigurationProcessor.getStatus
      1. com.aptana.configurations.processor.AbstractConfigurationProcessor.getStatus(AbstractConfigurationProcessor.java:154)
      1 frame
    4. com.appcelerator.titanium
      MobileSDKActionController$1.run
      1. com.appcelerator.titanium.mobile.ui.portal.actionController.MobileSDKActionController$1.run(MobileSDKActionController.java:124)
      1 frame
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame