1 Reply Latest reply on Mar 24, 2016 9:13 AM by Gaius Coffey

    Flash builder compile bug; what do I do here?

    Gaius Coffey Level 2

      Hi,

      I have recently done a clean install of Windows and, consequently, Flash Builder.

      Now, whenever I try to compile _FOR_RELEASE_ against a known-good project, I get the error shown below.

      No errors are shown when debugging.

      The project is good and from a long established codebase that I have been working with for several years.

      HOW DO I GET IT TO COMPILE?

      Thanks,

      G

       

      Description Resource Path Location Type

      com.google.common.collect.ComputationException: java.lang.NullPointerException

      at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingCo ncurrentHashMap.java:167)

      at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingCo ncurrentHashMap.java:116)

      at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.jav a:67)

      at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

      at com.adobe.flash.compiler.internal.projects.CompilerProject.getCacheForScope(CompilerProje ct.java:701)

      at com.adobe.flash.compiler.internal.definitions.InterfaceDefinition.resolveExtendedInterfac es(InterfaceDefinition.java:123)

      at com.adobe.flash.compiler.internal.definitions.InterfaceDefinition$InterfaceIterator.analy ze(InterfaceDefinition.java:343)

      at com.adobe.flash.compiler.internal.definitions.InterfaceDefinition$InterfaceIterator.initF romInterface(InterfaceDefinition.java:325)

      at com.adobe.flash.compiler.internal.definitions.InterfaceDefinition$InterfaceIterator.<init >(InterfaceDefinition.java:293)

      at com.adobe.flash.compiler.internal.definitions.ClassDefinitionBase.interfaceIterator(Class DefinitionBase.java:399)

      at com.adobe.flash.compiler.internal.definitions.ClassDefinitionBase.isInstanceOf(ClassDefin itionBase.java:429)

      at com.adobe.flash.compiler.internal.semantics.SemanticUtils.isInstanceOf(SemanticUtils.java :565)

      at com.adobe.flash.compiler.internal.semantics.SemanticUtils.isValidTypeConversion(SemanticU tils.java:220)

      at com.adobe.flash.compiler.internal.semantics.SemanticUtils.isValidTypeConversion(SemanticU tils.java:342)

      at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkImplicitConver sion(MethodBodySemanticChecker.java:560)

      at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkImplicitConver sion(MethodBodySemanticChecker.java:372)

      at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkAssignment(Met hodBodySemanticChecker.java:244)

      at com.adobe.flash.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_assignToNameExpr _to_void_expression(ABCGeneratingReducer.java:3026)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.action_238(CmcEmitter.java:4509)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction(CmcEmitter.java:81 61)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39704)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction(CmcEmitter.java:95 07)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39704)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 732)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 723)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)

      at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.burm(CmcEmitter.java:39983)

      at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateInstructions(ABCGenerat or.java:232)

      at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction(A BCGenerator.java:397)

      at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction(A BCGenerator.java:351)

      at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateFunction(ABCGenerator.j ava:266)

      at com.adobe.flash.compiler.internal.as.codegen.ClassDirectiveProcessor.finishClassDefinitio n(ClassDirectiveProcessor.java:468)

      at com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareClass(Global DirectiveProcessor.java:424)

      at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:207)

      at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)

      at com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declarePackage(Glob alDirectiveProcessor.java:449)

      at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:224)

      at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)

      at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:126)

      at com.adobe.flash.compiler.internal.units.ASCompilationUnit.handleABCBytesRequest(ASCompila tionUnit.java:374)

      at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(Compil ationUnitBase.java:870)

      at com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBas e.java:107)

      at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase. java:309)

      at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase. java:305)

      at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:22 8)

      at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:22 2)

      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

      at java.util.concurrent.FutureTask.run(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.NullPointerException

      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)

      at com.google.common.collect.CustomConcurrentHashMap.hash(CustomConcurrentHashMap.java:1432)

      at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.jav a:66)

      at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

      at com.adobe.flash.compiler.internal.scopes.ASProjectScope.addScopeToCompilationUnitScopeLis t(ASProjectScope.java:1306)

      at com.adobe.flash.compiler.internal.projects.CompilerProject$ScopeMakerFunction.apply(Compi lerProject.java:106)

      at com.adobe.flash.compiler.internal.projects.CompilerProject$ScopeMakerFunction.apply(Compi lerProject.java:95)

      at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingCo ncurrentHashMap.java:155)

      ... 54 more PlayerSprite.as /RTE_OSMF_Player/src line 37 Flex Problem