Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3414

Occasional NPE when starting Titanium Studio

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.5
    • Fix Version/s: Aptana Studio 3.0.7
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                ayeung Allen Yeung
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code