flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christofer Dutz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35050) NullPointerException in compiler.jx
Date Sat, 19 Mar 2016 09:37:33 GMT
Christofer Dutz created FLEX-35050:

             Summary: NullPointerException in compiler.jx
                 Key: FLEX-35050
                 URL: https://issues.apache.org/jira/browse/FLEX-35050
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
    Affects Versions: Apache FalconJX 0.6.0
            Reporter: Christofer Dutz

I am getting NullPointerExceptions in org.apache.flex.compiler.clients.ExternCConfiguration.isExcluded
(Line 343)
because in org.apache.flex.compiler.internal.codegen.externals.reference.ClassReference in
getInterfaces() in line 482 no check is performed, if the result of getModel().getClassReference(interfaceName)
is not null. This adds "null" to the list of interfaces and when accessed in org.apache.flex.compiler.clients.ExternCConfiguration.isExcluded
I the the NPE. It also makes it impossible to find out why the thing is blowing up.

This message was sent by Atlassian JIRA

View raw message