You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Paul Hastings <pa...@sustainableGIS.com> on 2013/01/11 01:02:14 UTC

Uncaught exception in compiler

i've been able to successfully compile one of our bread & butter apps using 
4.9.0 RC versions (last one that worked was build 1425567). i just installed the 
release version & have been seeing a whole wheelbarrow full of "Uncaught 
exception in compiler" errors. my particulars

FB 4.6 (eclipse version: 3.7.2, Build id: M20120208-0800)
OS: windows 7

the release & RC versions were installed using the installer (d/l binary).

any help appreciated. thanks.


java.lang.NullPointerException
	at flex2.compiler.CompilerAPI.getMessagingClasses(CompilerAPI.java:1730)
	at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1538)
	at flex2.tools.oem.Application.compile(Application.java:1357)
	at flex2.tools.oem.Application.recompile(Application.java:1295)
	at flex2.tools.oem.Application.compile(Application.java:894)
	at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:367)
	at 
com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:319)
	at 
com.adobe.flexbuilder.multisdk.compiler.internal.ModuleBuilder.build(ModuleBuilder.java:141)
	at 
com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
	at 
com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:70)
	at 
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:607)
	at 
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildModules(FlexProjectBuilder.java:506)
	at 
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:395)
	at 
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
	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.resources.Workspace.buildInternal(Workspace.java:513)
	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
	at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Re: Uncaught exception in compiler

Posted by Avi Kessner <ak...@gmail.com>.
it looks like that jar is only installed if you choose blazeds

brought to you by the letters A, V, and I
and the number 47


On Fri, Jan 11, 2013 at 5:22 AM, Paul Hastings <pa...@sustainablegis.com>wrote:

> On 1/11/2013 9:35 AM, Cyrill Zadra wrote:
>
>> Hey Paul
>>
>> Maybe the comments of the JIRA task
>>
>
> and maybe i should look there first instead of bothering folks ;-)
>
>
>  (https://issues.apache.org/**jira/browse/FLEX-33083<https://issues.apache.org/jira/browse/FLEX-33083>)
>> helps you. It seems
>> that this error is thrown if there's no flex-messaging-common.jar  in
>> your installed flex-sdk und you use RemoteObject in your project.
>>
>
> yes that seems to be the case. is that file part of the blazeDS bits?
>
> many thanks.
>
>
>

Re: Uncaught exception in compiler

Posted by Paul Hastings <pa...@sustainableGIS.com>.
On 1/11/2013 9:35 AM, Cyrill Zadra wrote:
> Hey Paul
>
> Maybe the comments of the JIRA task

and maybe i should look there first instead of bothering folks ;-)

> (https://issues.apache.org/jira/browse/FLEX-33083) helps you. It seems
> that this error is thrown if there's no flex-messaging-common.jar  in
> your installed flex-sdk und you use RemoteObject in your project.

yes that seems to be the case. is that file part of the blazeDS bits?

many thanks.



Re: Uncaught exception in compiler

Posted by Cyrill Zadra <cy...@gmail.com>.
Hey Paul

Maybe the comments of the JIRA task
(https://issues.apache.org/jira/browse/FLEX-33083) helps you. It seems
that this error is thrown if there's no flex-messaging-common.jar  in
your installed flex-sdk und you use RemoteObject in your project.

Cyrill

On Thu, Jan 10, 2013 at 4:02 PM, Paul Hastings <pa...@sustainablegis.com> wrote:
> i've been able to successfully compile one of our bread & butter apps using
> 4.9.0 RC versions (last one that worked was build 1425567). i just installed
> the release version & have been seeing a whole wheelbarrow full of "Uncaught
> exception in compiler" errors. my particulars
>
> FB 4.6 (eclipse version: 3.7.2, Build id: M20120208-0800)
> OS: windows 7
>
> the release & RC versions were installed using the installer (d/l binary).
>
> any help appreciated. thanks.
>
>
> java.lang.NullPointerException
>         at
> flex2.compiler.CompilerAPI.getMessagingClasses(CompilerAPI.java:1730)
>         at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1538)
>         at flex2.tools.oem.Application.compile(Application.java:1357)
>         at flex2.tools.oem.Application.recompile(Application.java:1295)
>         at flex2.tools.oem.Application.compile(Application.java:894)
>         at
> flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:367)
>         at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:319)
>         at
> com.adobe.flexbuilder.multisdk.compiler.internal.ModuleBuilder.build(ModuleBuilder.java:141)
>         at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
>         at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:70)
>         at
> com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:607)
>         at
> com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildModules(FlexProjectBuilder.java:506)
>         at
> com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:395)
>         at
> com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
>         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.resources.Workspace.buildInternal(Workspace.java:513)
>         at
> org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
>         at
> org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>