Runtime Exception java.lang.reflect.InvocationTargetException

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

Post Reply
Hendrik
Posts: 1
Joined: Fri May 15, 2020 9:31 am

Runtime Exception java.lang.reflect.InvocationTargetException

Post by Hendrik » Fri May 15, 2020 9:39 am

Hello there,

I use LogMX v7.12.0 to read Apache access logs using a custom RegEx parser. At first, this worked fine, but I did not get an absolute date. Then I entered a pattern for the timestamp (d/MMM/yyyy:H:m:s Z) and set the timestamp locale to "English [En]". Now parsing my log file stops with the following error message: [RuntimeException] - java.lang.reflect.InvocationTargetException.

Thanks for advice on how to solve this.

Best regards,
Hendrik

admin
Site Admin
Posts: 529
Joined: Sun Dec 17, 2006 10:30 pm

Re: Runtime Exception java.lang.reflect.InvocationTargetException

Post by admin » Sun May 17, 2020 7:26 pm

Hello,

I tried to reproduce this error with LogMX v7.12.0 but I didn't manage to. I tried with a Regex parser using the date format you mentioned, and the date "17/May/2020:8:00:00 -0400" in the logs, but it worked fine. Could you please post here a few lines from your logs as well as the compete Regex you used?
Also, could you send us an automated bug report using the app? To do so, reproduced the issue then go to the menu "Help", then item "Report bug or enhancement" and click "Send bug" (you can just say you're Hendrik in the "description" - and email is optional), this will help us understand what happened.

Thank you
Xavier

Post Reply