Skip to content
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

Throwing ArrayIndexOutOfBoundsException when pass invalid type of parameter. #39

Closed
hurelhuyag opened this issue Dec 29, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hurelhuyag
Copy link

java.lang.ArrayIndexOutOfBoundsException: Index 12 out of bounds for length 10
    at gg.jte.internal.TemplateLoader.resolveLineNumber (TemplateLoader.java:53)
    at gg.jte.internal.TemplateLoader.resolveDebugInfo (TemplateLoader.java:41)
    at gg.jte.TemplateEngine.handleRenderException (TemplateEngine.java:243)
    at gg.jte.TemplateEngine.render (TemplateEngine.java:192)
    at pp.Main.main (Main.java:23)
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
    at java.lang.Thread.run (Thread.java:834)
@hurelhuyag
Copy link
Author

@casid casid self-assigned this Dec 29, 2020
@casid casid added the bug Something isn't working label Dec 29, 2020
@casid
Copy link
Owner

casid commented Dec 29, 2020

Thanks for reporting @hurelhuyag!

Fixed with 8b77e7c.

@casid casid closed this as completed Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants