1 Reply Latest reply on Jun 11, 2007 12:37 PM by AaffordableWeb

    Weird Java Error when Compiling

    AaffordableWeb Level 1
      I am trying to compile my application. When I do, I get this message:
      (fcsh) compile 1
      Loading configuration file /Developer/SDKs/flex_sdk_2/frameworks/flex-config.xml
      Initial setup: 14ms
      Loaded 11 SWCs: 29ms
      Updated: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/assets/hand_editor.css
      Updated: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/hand_editor.as
      Recompile: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/hand_editor.mxml
      Reason: The source file wasn't fully compiled.
      Updated: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/displayCard.as
      Recompile: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/DisplayCard.mxml
      Reason: The source file wasn't fully compiled.
      Updated: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/editDeal.as
      Recompile: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/EditDeal.mxml
      Reason: The source file wasn't fully compiled.
      Updated: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/displayBoard.as
      Recompile: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/DisplayBoard.mxml
      Reason: The source file wasn't fully compiled.
      Updated: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/displaySeat.as
      Recompile: /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/DisplaySeat.mxml
      Reason: The source file wasn't fully compiled.
      Files changed: 0 Files affected: 5
      /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/DisplaySeat.mxml: Files: 713 Time: 768ms
      Error: null

      java.lang.ArrayIndexOutOfBoundsException
      at flex2.compiler.as3.reflect.MetaData.getValue(MetaData.java:69)
      at flex2.compiler.mxml.reflect.TypeTable$EventListHelper.<init>(TypeTable.java:623)
      at flex2.compiler.mxml.reflect.TypeTable$EventListHelper.<init>(TypeTable.java:593)
      at flex2.compiler.mxml.reflect.TypeTable$TypeHelper.getEvent(TypeTable.java:311)
      at flex2.compiler.mxml.lang.DeclarationHandler.invoke(DeclarationHandler.java:55)
      at flex2.compiler.mxml.lang.AttributeHandler.invoke(AttributeHandler.java:49)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1353)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1323)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.analyze(InterfaceCompiler.java:1 230)
      at flex2.compiler.mxml.dom.Node.analyze(Node.java:36)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer$ChildNodeDependencyScanner.scanC hild(InterfaceCompiler.java:1448)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer$ChildNodeDependencyScanner.neste dDeclaration(InterfaceCompiler.java:1506)
      at flex2.compiler.mxml.lang.ChildNodeHandler.unknown(ChildNodeHandler.java:159)
      at flex2.compiler.mxml.lang.ChildNodeHandler.invoke(ChildNodeHandler.java:131)
      at flex2.compiler.mxml.lang.ChildNodeHandler.scanChildNodes(ChildNodeHandler.java:64)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1357)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1323)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.analyze(InterfaceCompiler.java:1 230)
      at flex2.compiler.mxml.dom.Node.analyze(Node.java:36)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer$ChildNodeDependencyScanner.scanC hild(InterfaceCompiler.java:1448)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer$ChildNodeDependencyScanner.neste dDeclaration(InterfaceCompiler.java:1506)
      at flex2.compiler.mxml.lang.ChildNodeHandler.unknown(ChildNodeHandler.java:159)
      at flex2.compiler.mxml.lang.ChildNodeHandler.invoke(ChildNodeHandler.java:131)
      at flex2.compiler.mxml.lang.ChildNodeHandler.scanChildNodes(ChildNodeHandler.java:64)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1357)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1323)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.analyze(InterfaceCompiler.java:1 230)
      at flex2.compiler.mxml.dom.Node.analyze(Node.java:36)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer$ChildNodeDependencyScanner.scanC hild(InterfaceCompiler.java:1448)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer$ChildNodeDependencyScanner.neste dDeclaration(InterfaceCompiler.java:1506)
      at flex2.compiler.mxml.lang.ChildNodeHandler.unknown(ChildNodeHandler.java:159)
      at flex2.compiler.mxml.lang.ChildNodeHandler.invoke(ChildNodeHandler.java:131)
      at flex2.compiler.mxml.lang.ChildNodeHandler.scanChildNodes(ChildNodeHandler.java:64)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1357)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.registerDependencies(InterfaceCo mpiler.java:1323)
      at flex2.compiler.mxml.InterfaceCompiler$DependencyAnalyzer.analyze(InterfaceCompiler.java:1 230)
      at flex2.compiler.mxml.dom.Node.analyze(Node.java:36)
      at flex2.compiler.mxml.InterfaceCompiler.postprocess(InterfaceCompiler.java:443)
      at flex2.compiler.mxml.Compiler.postprocess(Compiler.java:155)
      at flex2.compiler.API.postprocess(API.java:3244)
      at flex2.compiler.API.postprocess(API.java:3211)
      at flex2.compiler.API.batch2(API.java:376)
      at flex2.compiler.API.batch(API.java:1025)
      at flex2.compiler.API.compile(API.java:1211)
      at flex2.tools.SimpleShell.compile_mxmlc(SimpleShell.java:511)
      at flex2.tools.SimpleShell.compile(SimpleShell.java:268)
      at flex2.tools.SimpleShell.process(SimpleShell.java:167)
      at flex2.tools.SimpleShell.main(SimpleShell.java:63)
      /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/DisplaySeat.mxml: Total time: 821ms
      /Volumes/PROJECTS_BU/PROJECTS/src/handreplayer/flex_v2/cp/components/DisplaySeat.mxml: Peak memory usage: 157 MB (Heap: 124, Non-Heap: 33)
      (fcsh)

      I have tried commenting out portions of the source, but now the whole thing is commented out, and I am still getting the error. Any help would be greatly appreciated.