annoying bug

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

Moderator: admin

Post Reply
shemesh
Posts: 4
Joined: Thu Jun 10, 2010 2:36 pm

annoying bug

Post by shemesh »

hi,
i get this annoying bug that happens without any obvious reason.
every once in a while i get this message error:

Error while reading file "some\file\logger.log"
[ArrayIndexOutOfBoundsException] -16


and it wont go away! EVER!
once i get it, i keep getting it when trying to load ANY file with ANY parser.
even with the LogMX sample parser & file.
the only way to get rid of this is to delete the whole LogMX folder and re-unzip from the original.

what m i doing wrong?
shemesh
Posts: 4
Joined: Thu Jun 10, 2010 2:36 pm

Re: annoying bug

Post by shemesh »

i suspect this is got to do with columns settings (hiding, saving, etc..)
could be?
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: annoying bug

Post by admin »

Hello,

If you start LogMX with "logmx.sh" (Linux) or "LogMX.bat" (Windows), and see this in the console:

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: 16
        at mt.a(Unknown Source)
        at mM.a(Unknown Source)
        at kL.run(Unknown Source)
It's indeed a known bug dealing with user-defined fields columns (appeared in v2.0.1): LogMX can't handle columns size preferences for these fields.
Sorry for the inconvenience.
Here is a workaround:
Go to menu "Tools" > "Options" > Tab "Display" > button "Entries table columns...". In the dialog box, click the button "Reset to default settings", then OK.

LogMX v2.0.2 will fix this (should be available soon, I will post a message in this thread to let you know).

Xavier.
shemesh
Posts: 4
Joined: Thu Jun 10, 2010 2:36 pm

Re: annoying bug

Post by shemesh »

yep, exactly the problem.
good to know it is being handled.
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: annoying bug

Post by admin »

Hello,

LogMX v2.0.2 is now available and fixed this bug.

Xavier.
AndreTheHunter
Posts: 1
Joined: Wed Jan 11, 2012 1:52 am

Re: annoying bug

Post by AndreTheHunter »

It appears this error has appeared again in LogMX 3.0.2.

When loading a particular file, a series of errors appear for each parser.

Code: Select all

Error while parsing line 1 with parser [PARSER INFO HERE]:

[ArrayIndexOutOfBoundsException] - 0
Another file that matches a Simple Parser works fine.

The output when running LogMX.bat is:

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: 0
        at com.lightysoft.logmx.mgr.i.a(Unknown Source)
        at com.lightysoft.logmx.mgr.i.a(Unknown Source)
        at dc.b(Unknown Source)
        at di.run(Unknown Source)
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: annoying bug

Post by admin »

Hello,

According to the output you give here, it doesn't seem to be the same error (not a GUI column bug but a file parsing bug).
Do you get this error with an empty file ? If this is not the case, could you please send us this log file (in Private Message if you prefer).

I didn't manage to get this error with v3.0.2 using several log files (empty or not) and several Parsers.

Looking forward to hearing from you.
Xavier.
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: annoying bug

Post by admin »

Hello,

Do you still have this error?

Xavier.
Post Reply