java.lang.NullPointerException

Appcelerator JIRA | Paul Dowsett | 5 years ago
  1. 0

    Ingo requested that I raise this ticket, to request that we more gracefully handle situations where TiStudio crashes and issues an exception when the app is launched while debugger is enabled. Conversation prompted by this question: [Titanium crashes on android debug|http://developer.appcelerator.com/question/127575/titanium-crashes-on-andorid-debug] Exception provided by the user. {code} java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404) at org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389) at com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137) at com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:482) at com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208) at com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87) at com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76) at com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:234) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116) at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:149) at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) at com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:71) at com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Paul Dowsett
    java.lang.NullPointerException
  2. 0

    Ingo requested that I raise this ticket, to request that we more gracefully handle situations where TiStudio crashes and issues an exception when the app is launched while debugger is enabled. Conversation prompted by this question: [Titanium crashes on android debug|http://developer.appcelerator.com/question/127575/titanium-crashes-on-andorid-debug] Exception provided by the user. {code} java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404) at org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389) at com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137) at com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:482) at com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208) at com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87) at com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76) at com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:234) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116) at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:149) at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) at com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:71) at com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Paul Dowsett
    java.lang.NullPointerException
  3. 0

    When I run in development mode, I occasionally get this during startup: !ENTRY com.aptana.editor.js 4 0 2011-09-01 15:06:17.643 !MESSAGE (Build 3.0.3.qualifier) [ERROR] null !STACK 0 java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404) at org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389) at com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137) at com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:500) at com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208) at com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87) at com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76) at com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.writeType(JSSymbolTypeInferrer.java:541) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:456) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:623) at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:545) at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:661) at com.aptana.editor.js.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:520) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:334) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:450) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:281) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:213) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116) at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:159) at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:215) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:122) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) (Build 3.0.3.qualifier) [ERROR] null java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404) at org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389) at com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137) at com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:500) at com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208) at com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87) at com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76) at com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.writeType(JSSymbolTypeInferrer.java:541) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:456) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:623) at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:545) at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:661) at com.aptana.editor.js.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:520) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:334) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:450) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:281) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:213) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116) at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:159) at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:215) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:122) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I run in development mode, I occasionally get this during startup: !ENTRY com.aptana.editor.js 4 0 2011-09-01 15:06:17.643 !MESSAGE (Build 3.0.3.qualifier) [ERROR] null !STACK 0 java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404) at org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389) at com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137) at com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:500) at com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208) at com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87) at com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76) at com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.writeType(JSSymbolTypeInferrer.java:541) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:456) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:623) at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:545) at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:661) at com.aptana.editor.js.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:520) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:334) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:450) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:281) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:213) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116) at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:159) at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:215) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:122) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) (Build 3.0.3.qualifier) [ERROR] null java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404) at org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389) at com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137) at com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:500) at com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208) at com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87) at com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76) at com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.writeType(JSSymbolTypeInferrer.java:541) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:456) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:623) at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:545) at com.aptana.editor.js.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:258) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:239) at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:661) at com.aptana.editor.js.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31) at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:520) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:334) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:450) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:337) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:370) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:281) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:213) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116) at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:159) at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:215) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:122) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.jface.resource.JFaceResources.getResources()
    2. JFace
      JFaceResources.getImage
      1. org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207)
      2. org.eclipse.jface.resource.JFaceResources.getImageRegistry(JFaceResources.java:404)
      3. org.eclipse.jface.resource.JFaceResources.getImage(JFaceResources.java:389)
      3 frames
    3. com.aptana.ui
      SWTUtils.getImage
      1. com.aptana.ui.util.SWTUtils.getImage(SWTUtils.java:137)
      1 frame
    4. com.aptana.editor
      UserAgentManager$1.processElement
      1. com.aptana.editor.common.contentassist.UserAgentManager$1.processElement(UserAgentManager.java:228)
      1 frame
    5. com.aptana.core
      EclipseUtil.processConfigurationElements
      1. com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:482)
      1 frame
    6. com.aptana.editor
      JSFileIndexingParticipant.indexFileStore
      1. com.aptana.editor.common.contentassist.UserAgentManager.loadExtension(UserAgentManager.java:208)
      2. com.aptana.editor.common.contentassist.UserAgentManager.<init>(UserAgentManager.java:87)
      3. com.aptana.editor.common.contentassist.UserAgentManager.getInstance(UserAgentManager.java:76)
      4. com.aptana.editor.js.inferencing.JSTypeUtil.addAllUserAgents(JSTypeUtil.java:82)
      5. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:234)
      6. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:116)
      6 frames
    7. com.aptana.index
      IndexFilesOfProjectJob.run
      1. com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:149)
      2. com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423)
      3. com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:71)
      3 frames
    8. com.aptana.core
      UnifiedBuilder.build
      1. com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190)
      2. com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140)
      2 frames
    9. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
      1 frame
    10. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    11. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
      3 frames
    12. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    13. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
      4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
      5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
      5 frames
    14. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame