You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/08/18 03:41:10 UTC

[GitHub] kennylerma commented on issue #47: GoogleDepsWriter NullPointerException

kennylerma commented on issue #47: GoogleDepsWriter NullPointerException
URL: https://github.com/apache/royale-compiler/issues/47#issuecomment-414029549
 
 
   I corrected the issue in my code, but this may be a problem overall.  I found instantiating a new class instance from a class in a SWC on a static variable was causing the issue.  So, I moved the instance creation inside a method to correct the error.  The CreateJS.swc I created is an as3 api only and doesn't include javascript in the swc, so perhaps that's the reason?
   
   Below is what caused my error.
   
   `private static var _dispatchObject:EventDispatcher = new EventDispatcher();`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services