-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Reading comment comments after Root Element closed sometimes throws NullPointerException
#58
Comments
430016_NG0405_20180720_V01.zip Exception in thread "main" java.lang.NullPointerException |
Please fix this bug, Thank you! |
@GuoHuiChen Thank you for reporting the problem. I tried simplest code I can do that creates |
Thank you for your response. @cowtowncoder (url) Put the 430016_NG0405_20180720_V01.xml in C:\temp directory. Exception in thread "main" java.lang.NullPointerException |
Please fix this bug! |
@GuoHuiChen At this point I will not have much time to work on OSS, and when I do, I will have to think carefully what to work on. Comments asking for speedy work will not help, and sometimes may even put the issue on bottom of the stack. |
I am able to reproduce the issue, hope to solve today -- thank you for reporting this. |
NullPointerException
Fixed, will release |
TextBuffer.recycle()
206 char[] buf = mCurrentSegment;
207 mCurrentSegment = null;
this.mHasSegments = false; //MUST set false
208 mConfig.freeMediumCBuffer(buf);
284 if (mHasSegments) {
clearSegments();
1050 char[] curr = mCurrentSegment;
1051 int max = curr.length - mCurrentSize; //NPE
The text was updated successfully, but these errors were encountered: