New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NullPointerException: NAME goog 12 #3484
Comments
Same error occurred for
Am I missing something here?
|
Created Google internal http://b/142964491 |
We suspect that using @export triggers a reference to |
I could not find an easy way to include goog.base. To include goog.require('goog.base') i need to have goog already defined. Changing as
for files
and compiling gives me
Reading at https://developers.google.com/closure/library/docs/gettingstarted I am missing something fundamental here, but probably that's a discussion for another place. |
Just copy pasted the content of closure/goog/base on top of my file. It is compiling and I can continue my learning from here. Thanks |
On the '@export' documentation it is written that base should be included
|
On the export documentation It is written that base should be included
So I suppose it is not an error really. |
Just a guess, but I think you can include base.js as an additional input to your compilation, without modifying this file. |
I'm experiencing the same crash. For me this happens in a slightly different setting, but seems to have the same root cause.
Debugging into the compiler revealed that the Compiler version is v20191111. |
Playing around with '@implements' and an error occurred when the method 'getSpecial' has an '@export'
GCC version is: closure-compiler-v20190819.jar
Running with
Error is:
Example is:
The text was updated successfully, but these errors were encountered: