4 Replies Latest reply on Aug 1, 2013 2:31 PM by Evgeny_Trefilov

    EB2.1 CS5 AI extension w/ HostAdapter throws error

    Evgeny_Trefilov Level 1

      Extension targetted at CS5 Illustrator with the use of HostAdapter throws rather cryptic error when I try to build it using Extension Builder 2.1

       

      Screen Shot 2013-08-01 at 12.36.09 PM.png

       

       

      Any ideas?

       

      (It's just a test, created from the scratch with wizard)

        • 1. Re: EB2.1 CS5 AI extension w/ HostAdapter throws error
          xujieadobe

          Was your extension created by Extension Builder 2.1? I tried create an Illustrator extension with host adapter targetted at CS5 using EB2.1 without error. If you created with CS6 or CC as target and changed back to CS5 in Bundle Manifest Editor there will be compile error due to auto generated AS code not compatible.

          • 2. Re: EB2.1 CS5 AI extension w/ HostAdapter throws error
            Evgeny_Trefilov Level 1

            Yes, created with EB2.1, and target CS5 from the start.

            If I don't include Illustrator host adapter, it builds just fine

             

            I'm on mac, Flash Builder 4.5 (Tried 4.6 yesterday - same effect)

            • 3. Re: EB2.1 CS5 AI extension w/ HostAdapter throws error
              Evgeny_Trefilov Level 1

              I also have this strange warning

              Screen Shot 2013-08-01 at 3.18.35 PM.png

              • 4. Re: EB2.1 CS5 AI extension w/ HostAdapter throws error
                Evgeny_Trefilov Level 1

                and here's excerpt from error log

                 

                !MESSAGE Errors running builder 'Adobe Extension Builder' on project 'ha'.

                !STACK 0

                java.lang.ArrayIndexOutOfBoundsException: 3

                          at com.adobe.cside.libsinstaller.hostadapter.HostAdapter.getFilePathForAdapter(Unknown Source)

                          at com.adobe.cside.libsinstaller.hostadapter.HostAdapter.getExtBuilderLibInstallerPath(Unkno wn Source)

                          at com.adobe.cside.libsinstaller.hostadapter.HostAdapter.getPluginLocationInExtBuilder(Unkno wn Source)

                          at com.adobe.cside.project.APEBuilder.checkHostAdapterPlugins(Unknown Source)

                          at com.adobe.cside.project.APEBuilder.build(Unknown Source)

                          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.basicBuild(BuildManager.java:220)

                          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)

                          at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)

                          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)

                          at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)

                          at org.eclipse.core.internal.resources.Project.build(Project.java:115)

                          at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:222)

                          at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)

                          at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)

                          at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38 )

                          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)