Project: appceleratorstudio
Issue TISTUD-8458: Ran in to a NPE while trying to run Studio
Here's a bunch of stack traces from my session this morning: {code} !STACK 0 Unexpected character (() at position 0. org.json.simple.parser.Yylex.yylex(Yylex.java:611) org.json.simple.parser.JSONParser.nextToken(JSONParser.java:270) org.json.simple.parser.JSONParser.parse(JSONParser.java:119) org.json.simple.parser.JSONParser.parse(JSONParser.java:82) org.json.simple.parser.JSONParser.parse(JSONParser.java:76) com.appcelerator.titanium.android.core.AndroidSDKLocator.loadTiInfo(AndroidSDKLocator.java:848) com.appcelerator.titanium.android.core.AndroidSDKLocator.updateTiInfo(AndroidSDKLocator.java:226) com.appcelerator.titanium.android.core.AndroidSDKLocator.access$0(AndroidSDKLocator.java:224) com.appcelerator.titanium.android.core.AndroidSDKLocator$1.run(AndroidSDKLocator.java:244) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.core.jobs 4 2 2016-04-11 10:06:43.547 !MESSAGE An internal error occurred during: "Configuring SDK". !STACK 0 java.lang.NullPointerException com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doConfigure(IOSSDKConfigurer.java:108) com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44) com.appcelerator.titanium.ui.mobile.PlatformsInstallManager$3.run(PlatformsInstallManager.java:171) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.core.jobs 2 2 2016-04-11 10:06:55.243 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.appcelerator.titanium.android.core.AndroidSDKLocator$1 !SESSION 2016-04-11 10:07:53.414 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_25 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/rickblalock/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/rickblalock/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.net 1 0 2016-04-11 10:07:57.674 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences !ENTRY com.appcelerator.titanium.rcp 4 0 2016-04-11 10:08:01.493 !MESSAGE (Build 4.5.0.1446607552) [ERROR] Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@39e32ce2; line: 1802, column: 1559] !STACK 0 com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@39e32ce2; line: 1802, column: 1559] com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1238) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$4(TitaniumSplashHandler.java:1215) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:303) !ENTRY com.appcelerator.titanium.rcp 4 0 2016-04-11 10:08:27.312 !MESSAGE (Build 4.5.0.1446607552) [ERROR] Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@277c8784; line: 1802, column: 1559] !STACK 0 com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@277c8784; line: 1802, column: 1559] com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1238) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.rebuild(TitaniumSplashHandler.java:1252) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$5(TitaniumSplashHandler.java:1242) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:311) !ENTRY com.aptana.scripting 4 0 2016-04-11 10:08:28.600 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to load bundle /Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.core_3.1.2.1455193238/bundles/titanium_mobile.ruble !STACK 0 Can't construct a java object for !ruby/object:Ruble::Bundle; exception=Invalid tag: !ruby/object:Ruble::Bundle in "", line 1, column 5: --- !ruby/object:Ruble::Bundle ^ org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:325) org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:181) org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:140) org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:126) org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:296) org.yaml.snakeyaml.Yaml.load(Yaml.java:290) com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:328) com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:286) com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:110) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.yaml.snakeyaml.error.YAMLException: Invalid tag: !ruby/object:Ruble::Bundle org.yaml.snakeyaml.nodes.Tag.getClassName(Tag.java:108) org.yaml.snakeyaml.constructor.Constructor.getClassForNode(Constructor.java:620) org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:313) org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:323)	... 9 more !ENTRY com.aptana.js.debug.core 4 0 2016-04-11 10:08:31.586 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Reading {0} fails !STACK 0 java.io.FileNotFoundException: /Users/rickblalock/Library/Application Support/Firefox/Profiles/vq9c71nj.default/prefs.js (No such file or directory) java.io.FileInputStream.open(Native Method) java.io.FileInputStream.(FileInputStream.java:138) com.aptana.js.debug.core.internal.browsers.FirebugUtil.registerEditor(FirebugUtil.java:67) com.aptana.js.debug.ui.JSDebugUIPlugin.registerAsFirebugEditor(JSDebugUIPlugin.java:170) com.aptana.js.debug.ui.JSDebugUIPlugin.start(JSDebugUIPlugin.java:106) org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771) org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) java.security.AccessController.doPrivileged(Native Method) org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764) org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721) org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936) org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319) org.eclipse.osgi.container.Module.doStart(Module.java:571) org.eclipse.osgi.container.Module.start(Module.java:439) org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454) org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107) org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531) org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324) org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320) org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395) org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) java.lang.ClassLoader.loadClass(ClassLoader.java:357) org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:294) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52) org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:289) org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:125) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.runtime.Platform.run(Platform.java:867) org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120) org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:255) org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:83) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:367) org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:349) org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:372) org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:332) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.core 4 0 2016-04-11 10:08:34.548 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Location to be watched doesn't exist: /Library/Application Support/Titanium/modules !ENTRY com.appcelerator.titanium.core 4 0 2016-04-11 10:08:43.311 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] !STACK 1 org.eclipse.core.runtime.CoreException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] com.appcelerator.titanium.core.user.TitaniumUser.doGetOrganizations(TitaniumUser.java:392) com.appcelerator.titanium.core.user.TitaniumUser.getOrganizations(TitaniumUser.java:294) com.appcelerator.titanium.core.user.TitaniumUser.getOrganizationById(TitaniumUser.java:419) com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.isDeveloperAccount(DeveloperAccountListener.java:55) com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.loggedIn(DeveloperAccountListener.java:25) com.appcelerator.titanium.core.user.TitaniumUserManager.addUserListener(TitaniumUserManager.java:628) com.appcelerator.titanium360.ui.Titanium360UIPlugin$1.run(Titanium360UIPlugin.java:65) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) com.appcelerator.titanium.core.user.TitaniumUser.doGetOrganizations(TitaniumUser.java:385)	... 7 more !SUBENTRY 1 com.appcelerator.titanium.core 4 0 2016-04-11 10:08:43.312 !MESSAGE Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] !STACK 0 com.fasterxml.jackson.core.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value at [Source: java.io.StringReader@47b0b491; line: 1802, column: 1559] com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(ParserMinimalBase.java:455) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString2(ReaderBasedJsonParser.java:1598) com.fasterxml.jackson.core.json.ReaderBasedJsonParser._finishString(ReaderBasedJsonParser.java:1585) com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getText(ReaderBasedJsonParser.java:233) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:230) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:224) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:62) com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:14) com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560) com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) com.appcelerator.titanium.core.user.TitaniumUser.doGetOrganizations(TitaniumUser.java:385) com.appcelerator.titanium.core.user.TitaniumUser.getOrganizations(TitaniumUser.java:294) com.appcelerator.titanium.core.user.TitaniumUser.getOrganizationById(TitaniumUser.java:419) com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.isDeveloperAccount(DeveloperAccountListener.java:55) com.appcelerator.titanium360.internal.ui.launch.DeveloperAccountListener.loggedIn(DeveloperAccountListener.java:25) com.appcelerator.titanium.core.user.TitaniumUserManager.addUserListener(TitaniumUserManager.java:628) com.appcelerator.titanium360.ui.Titanium360UIPlugin$1.run(Titanium360UIPlugin.java:65) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.aptana.js.core 4 0 2016-04-11 10:09:09.995 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to determine installed version of package 'appcelerator': null !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2016-04-11 10:09:10.174 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to add Alloy project templates !STACK 1 org.eclipse.core.runtime.CoreException: Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/rickblalock/.appcelerator/install/5.2.2/package is invalid for version 5.2.2 [com.appcelerator.install.binary.missing] com.appcelerator.titanium.alloy.internal.core.AlloyManager.getElementsOfType(AlloyManager.java:291) com.appcelerator.titanium.alloy.internal.core.AlloyManager.getTemplates(AlloyManager.java:221) com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.addAlloyTemplates(AlloyTemplateInstaller.java:68) com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(AlloyTemplateInstaller.java:102) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.aptana.core 4 1 2016-04-11 10:09:10.174 !MESSAGE Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy. This likely means the install package at /Users/rickblalock/.appcelerator/install/5.2.2/package is invalid for version 5.2.2 [com.appcelerator.install.binary.missing] !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2016-04-11 10:09:10.349 !MESSAGE (Build 4.5.0.201602170831) [ERROR] Failed to add Alloy project templates !STACK 1 org.eclipse.core.runtime.CoreException: Cannot find expected binary at /Users/rickblalock/.appcelerator/install/5.2.2/package/node_modules/...
Story points: 3