flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35140) uncaught exception on missing parens
Date Sun, 09 Oct 2016 17:16:20 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15560309#comment-15560309
] 

Harbs commented on FLEX-35140:
------------------------------

Here's the full stack trace:

java.lang.ClassCastException: org.apache.flex.compiler.parsing.IASToken$ASTokenKind cannot
be cast to java.lang.String
	at flex2.tools.oem.Library.convertMessages(Library.java:1151)
	at flex2.tools.oem.Library.compile(Library.java:913)
	at flex2.tools.flexbuilder.BuilderLibrary.compile(BuilderLibrary.java:354)
	at com.adobe.flexbuilder.multisdk.compiler.internal.FlexLibraryBuilder$MyLibrary.mybuild(FlexLibraryBuilder.java:314)
	at com.adobe.flexbuilder.multisdk.compiler.internal.FlexLibraryBuilder.build(FlexLibraryBuilder.java:134)
	at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:203)
	at com.adobe.flexbuilder.multisdk.compiler.internal.FlexLibraryItemBuilder.build(FlexLibraryItemBuilder.java:60)
	at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:708)
	at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:400)
	at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:171)
	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:432)
	at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


> uncaught exception on missing parens
> ------------------------------------
>
>                 Key: FLEX-35140
>                 URL: https://issues.apache.org/jira/browse/FLEX-35140
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Falcon
>    Affects Versions: Apache FalconJX 0.7.0
>            Reporter: Harbs
>
> The following code generates (correctly) generates an error (because it's missing the
parenthesis in the function definition):
> public function parseCard8:int
> {
> 	return this.parseByte();
> }
> When running compc from the command line (using ant) I get the following error:
> Syntax error: Expected PAREN_OPEN but got ':'
> When building in Flash Builder, I get the following (unhelpful) error:
> java.lang.ClassCastException: org.apache.flex.compiler.parsing.IASToken$ASTokenKind cannot
be cast to java.lang.String
> I'm assuming PAREN_OPEN needs to be converted to a string: "(".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message