Community
Participate
Working Groups
Created attachment 174873 [details] The JSP file in error The attached JSP fragment causes a NullPointerException (caused by a ArrayIndexOutOfBounds) when using the JSP discoverer
Hi Fabien, This bug was due to a digit (1000) sticked to the ' %> ' jsp closing tag, resulting in being interpreted as a percentage ' 1000% ' The closing tag was never encountered, that's why the parser reached the end of file still looking for it. The attached patch detects the end of file while parsing a JavaScript element, and log an MoDisco Info message to inform that the end of file as been reached 1. I, Nicolas Guyomar, and others contributors listed in this bug, authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation Regards Nicolas
Created attachment 175048 [details] Patch to fix the NullPointer in JavaScript Parsing
Thank you Nicolas for your contribution. Your contribution is less than 250 lines. It has been committed into SVN. Fabien.
The patch has been successfully applied.