You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases the code getUserData("lineNumber") is returning null and throwing NullPointerException as toString() is called like below idElement.getUserData("lineNumber").toString();
I have fixed it in by replacing it by type casting like below (String)codeElement.getUserData("lineNumber")
Also looking forward to contribute in this Repo. let me know if it is possible
Thanks for finding the NPE. There's no reason why you can't make a PR, and then one of use can reproduce the issue, and decide if the solution is appropriate, and merge. So in effect you can certainly contribute. Since this particular project is not updated often, I wouldn't expect even large ideas to have conflicts. At the same time though, I can't guarantee things will be implemented/merged quickly.
We only have one branch on this project, so forking master, making the update, and making a PR from your master to ours would be all that is required.
In some cases the code getUserData("lineNumber") is returning null and throwing NullPointerException as toString() is called like below
idElement.getUserData("lineNumber").toString();
I have fixed it in by replacing it by type casting like below
(String)codeElement.getUserData("lineNumber")
Also looking forward to contribute in this Repo. let me know if it is possible
Please refer the permalink below:
ccda-parser/src/main/java/org/sitenv/ccdaparsing/util/ApplicationUtil.java
Line 59 in 97e0fce
The text was updated successfully, but these errors were encountered: