[ https://issues.apache.org/jira/browse/FLEX-35051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202764#comment-15202764 ]
Christofer Dutz commented on FLEX-35051: ---------------------------------------- When comparing the ANT and the Maven version of the patched js files, I noticed that instead of having this: {code} /** @const */ var google = {}; /** @const */ /** @const */ var google = {}; /** @const */ /** @const */ var google = {}; /** @const */ /** @const */ var google = {}; /** @const */ google.maps = {}; {code} In the google_maps_api_v3_11.js file, I only had this: {code} google.maps = {}; {code} So "google.maps" was an assignment that didn't have a JavaDcript doc ... so I guess this was what was causing this. But it was impossible to find out from the console output or the debugger. > NullPointerException in FlexJS compiler > --------------------------------------- > > Key: FLEX-35051 > URL: https://issues.apache.org/jira/browse/FLEX-35051 > Project: Apache Flex > Issue Type: Bug > Components: FalconJX > Affects Versions: Apache FalconJX 0.6.0 > Reporter: Christofer Dutz > > org.apache.flex.compiler.internal.codegen.externals.pass.NamespaceResolutionPass.visit > (Line 90) throws a NullPointerException if comment is null. > It seems to occur if the current statement is an assignment, but the > parameter does not have some special jsdoc info ... > {code} > comment = first.getJSDocInfo(); > {code} > Unfortunately it is only possible to find out which file the problem is in > (ASSIGN 23 [source_file: [google_maps_api_v3_11]] [length: 16]) but that > doesn't help much. -- This message was sent by Atlassian JIRA (v6.3.4#6332)