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
Plugin Error: AndroidXmlSorter threw an uncaught NullPointerException #21
Comments
👀 Thanks! I will confirm it. |
@roana0229 I got this stacktrace, if it can help:
|
👀 Thanks. Sorry I'm late. |
I also encountered this issue. The problem was a random string outside the tags. After removal, the issue was resolved. |
@Thames1990 Thank you! I confirm this problem. If this xml content, an error will occur. <?xml version="1.0" encoding="UTF-8"?>
<resources>
<string name="app_name">Sample</string>a
<string name="app_value_1">hoge</string>
</resources> Error
|
@MaksimDmitriev When xml more than 100 string tags, no error occurred.
Do you write string outside the tags? |
No response... If it still occurs, please reopen this. |
The error was thrown when I tried sorting my strings.xml with about 100 string resources. Unfortunately I can't share the strings.xml because it's from our commercial project at work.
OS:
macOS Sierra (Version 10.12.6)
Android Studio:
Android Studio 3.0.1
Build #AI-171.4443003, built on November 9, 2017
JRE: 1.8.0_152-release-915-b08 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
Sorter:
Version: 1.1.0
The text was updated successfully, but these errors were encountered: