MLV not running after update

Questions specific to Megalogviewer

Moderator: LT401Vette

Post Reply
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

MLV not running after update

Post by tshirt2k »

Hi,

I recently got an update request for MLV. I installed it, but then i had an error that said it had a jar file problem.

I updated java and managed to run and use the program fine.

Then the next day i tried to run it again, flash screen comes up, then nothing. It won't run at all.

Tried to reinstall but the same thing happens.

Im' running an xp laptop. tunerstudio update works fine but mlv has the issue.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: MLV not running after update

Post by LT401Vette »

The update to 4.0 was much larger than usual as it included the JRE.
It sounds like at least some part of the update was interrupted and didn't make it down properly.

I would try uninstalling and delete everything in the install dir:
c:\Profram Files\EFIAnalytics\MegaLogViewer\

Then run the installer for the current version from:
http://www.tunerstudio.com/index.php/downloads

Once you have a version with the JRE, future updates will be normal smaller updates .
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

I did all that.

Still no joy.

Just cant understand why it was working fine, then stopped, with no reason
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: MLV not running after update

Post by LT401Vette »

There is always a reason...

But something here wasn't done.

Part of your initial outline isn't making complete sense.
You said that it wasn't working after the update, then you updated the PC's Java and it started working.
However, the current MLV shouldn't need any Java installed if all is there properly.

You should no longer need any Java installed and it will work fine.

Do you have all service packs installed?

I had one user that was still using Windows 2000 and the bundled 1.8 JRE apparently no longer supports that. However for Windows XP we tested with the bundled JRE. It is possible that without service pack 3 the 1.8 JRE does have a problem?

Seeing that it sounds JRE related, something thing that might be good to try.
In the MegaLogViewer install dir, it you rename the runtime folder, the MLV will use the system installed JRE.


However, if you are using TunerStudio 2.6.12+, it is using the very same bundled JRE. So that would say it isn't a problem with the JRE version but perhaps the install.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

What I did was update mlv first.

After update, I had a jar file error. Which pointed to a corrupt download. Searching what could have caused it revealed it could be a Java problem.

So I updated Java. Once that was done I downloaded a fresh update. It was working but I had two installs as I found out earlier.

Then I closed laptop down for the night.

The next time I tried to run the program it didn't work.

Xp is service pack 3.

Renamed the runtime folder, uninstalled and reinstalled Java. Uninstalled and reinstalled all mlv installs.

TS runs perfect, mlv doesn't load still.

I realisd there were two installs because TS was using the old version that had the jar file error. This has now been removed. But the problem still remains.

Registry has also been checked and any entries are clear.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: MLV not running after update

Post by LT401Vette »

What version Java do you have installed?
As that is what it would be using now that the runtime folder is renamed.

In the past if you get a jar file error it was 1 of 2 things:
1 - The jar is compiled for a new version of Java than you have installed.
2 - The jar file isn't fully there and corrupt.

However, with MLV 4.0+ on Windows where the JRE is bundled, number 1 should never happen. So there never shouldn't be a need to update your Java if you do it wouldn't make a difference.

Can you post / Send your MegaLogViewerAppDebug.txt file from the dir:
[YourUserHomeDir]/.efiAnalytics/

Then I can see what JRE's it was running on when it was still running.

But basically if it was running, it can't stop on it's own. Something changed.
If reinstalling it isn't fixing it, there is something being missed.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

Hi,
thanks for the persistance. :D

I seem to have two log files 1st has code MegaLogViewerAppDebug.txt I think thats where it started playing up

Code: Select all

App Edition:MS Lite!
Jar Name:MegaLogViewer.jar
MegaLogViewer 3.4.03 started on Sun Jan 04 17:35:22 GMT 2015
JRE 1.7.0_51, Windows XP 5.1, x86
Working Dir:C:\Documents and Settings\**APPER\My Documents\MegaSquirt\megalog viewer
1/4/15 5:35:26 PM :Debug: Invalid Percent:NaN
reopening log file: C:\Documents and Settings\**APPER\My Documents\TunerStudioProjects\Russ_MS2_ABF16VT\DataLogs\2015-01-04_14.10.43.msl
1/4/15 5:35:27 PM :Debug: Auto Detect Field mapping
Begin load of C:\Documents and Settings\**APPER\My Documents\TunerStudioProjects\Russ_MS2_ABF16VT\DataLogs\2015-01-04_14.10.43.msl
1/4/15 5:35:27 PM :Debug: Setting Field mapping to: FieldMaps/MS3_1.2.properties
1/4/15 5:35:27 PM :Warning: Bad Lambda formula "[O2]*0.2+0.5", corrected to:[AFR]/14.7
No check, last update check=Fri Jan 02 16:17:09 GMT 2015
Adding table:afrTable1
Adding table:afrTable2
Adding table:advanceTable1
Adding table:advanceTable2
Adding table:advanceTable3
Adding table:veTable1
Adding table:veTable2
Adding table:veTable3
Adding table:veTable1dozen
Adding table:veTable2dozen
Adding table:veTable3dozen
1/4/15 5:35:33 PM :Debug: Dataset size: 7960
1/4/15 5:35:34 PM :Debug: Dataset size: 7960
File load time =7.015 sec.  7960 rows.
Adding table:afrTable1
Adding table:afrTable2
Adding table:advanceTable1
Adding table:advanceTable2
Adding table:advanceTable3
Adding table:veTable1
Adding table:veTable2
Adding table:veTable3
Adding table:veTable1dozen
Adding table:veTable2dozen
Adding table:veTable3dozen
App Edition:MS Lite!
Jar Name:MegaLogViewer.jar
MegaLogViewer 3.4.03 started on Tue Jan 13 00:29:11 GMT 2015
JRE 1.7.0_51, Windows XP 5.1, x86
Working Dir:C:\Documents and Settings\**APPER\My Documents\MegaSquirt\megalog viewer
1/13/15 12:29:14 AM :Debug: Invalid Percent:NaN
reopening log file: C:\Documents and Settings\**APPER\My Documents\TunerStudioProjects\Russ_MS2_ABF16VT\DataLogs\2015-01-13_00.07.45.msl
1/13/15 12:29:15 AM :Debug: Auto Detect Field mapping
Begin load of C:\Documents and Settings\**APPER\My Documents\TunerStudioProjects\Russ_MS2_ABF16VT\DataLogs\2015-01-13_00.07.45.msl
1/13/15 12:29:15 AM :Debug: Setting Field mapping to: FieldMaps/MS3_1.2.properties
1/13/15 12:29:15 AM :Warning: Bad Lambda formula "[O2]*0.2+0.5", corrected to:[AFR]/14.7
processor score: 82621
Unable to read from update server, connection to server unavailable
Adding table:afrTable1
Adding table:afrTable2
Adding table:advanceTable1
Adding table:advanceTable2
Adding table:advanceTable3
Adding table:veTable1
Adding table:veTable2
Adding table:veTable3
Adding table:veTable1dozen
Adding table:veTable2dozen
Adding table:veTable3dozen
1/13/15 12:29:21 AM :Debug: Dataset size: 14155
1/13/15 12:29:21 AM :Debug: Dataset size: 14155
File load time =6.266 sec.  14155 rows.
Adding table:afrTable1
Adding table:afrTable2
Adding table:advanceTable1
Adding table:advanceTable2
Adding table:advanceTable3
Adding table:veTable1
Adding table:veTable2
Adding table:veTable3
Adding table:veTable1dozen
Adding table:veTable2dozen
Adding table:veTable3dozen
App Edition:MS Lite!
Jar Name:MegaLogViewer.jar
MegaLogViewer 3.4.03 started on Thu Jan 22 21:55:05 GMT 2015
JRE 1.7.0_51, Windows XP 5.1, x86
Working Dir:C:\Documents and Settings\**APPER\My Documents\MegaSquirt\megalog viewer
1/22/15 9:55:08 PM :Debug: Invalid Percent:NaN
reopening log file: C:\Documents and Settings\**APPER\My Documents\Dropbox\Apps\MSDroid\2015-01-22_20-40-48.msl
1/22/15 9:55:09 PM :Debug: Auto Detect Field mapping
Begin load of C:\Documents and Settings\**APPER\My Documents\Dropbox\Apps\MSDroid\2015-01-22_20-40-48.msl
1/22/15 9:55:09 PM :Debug: Setting Field mapping to: FieldMaps/MS3_1.2.properties
1/22/15 9:55:09 PM :Warning: Bad Lambda formula "[O2]*0.2+0.5", corrected to:[AFR]/14.7
Adding table:afrTable1
Adding table:afrTable2
Adding table:advanceTable1
Adding table:advanceTable2
Adding table:advanceTable3
Adding table:veTable1
Adding table:veTable2
Adding table:veTable3
Adding table:veTable1dozen
Adding table:veTable2dozen
Adding table:veTable3dozen
processor score: 80689
1/22/15 9:55:13 PM :Debug: Dataset size: 472
1/22/15 9:55:13 PM :Debug: Dataset size: 472
File load time =4.141 sec.  472 rows.
Delete MegaLogViewer.jar FAILED, will finish on restart
Rename MegaLogViewer.jar.temp to MegaLogViewer.jar FAILED, will finish on restart
MegaLogViewer shutdown: Thu Jan 22 22:05:08 GMT 2015
##############################################################
The next log file is from MegaLogViewerMSLite!LogFile.txt It just keeps repeating where i am repeatedly trying to start program with runtime the same.

Code: Select all

App Edition:MS Lite!
Jar Name:MegaLogViewer.jar
MegaLogViewer 4.0.04 started on Sun Jan 25 11:46:42 GMT 2015
JRE 1.8.0_25, Windows XP 5.1, x86
Working Dir:C:\Program Files\EFIAnalytics\MegaLogViewer
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
Look:Nimbus, ClassName:'javax.swing.plaf.nimbus.NimbusLookAndFeel'
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
Look:Windows, ClassName:'com.sun.java.swing.plaf.windows.WindowsLookAndFeel'
Look:Windows Classic, ClassName:'com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel'
Setting Look & Feel to:com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 19, Size: 16
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.set(Unknown Source)
	at y.as.a(Unknown Source)
	at y.eA.a(Unknown Source)
	at y.au.<init>(Unknown Source)
	at y.aX.<init>(Unknown Source)
	at MegaLogViewer.main(Unknown Source)
App Edition:MS Lite!
Jar Name:MegaLogViewer.jar
MegaLogViewer 4.0.04 started on Sun Jan 25 11:47:38 GMT 2015
JRE 1.8.0_25, Windows XP 5.1, x86
Working Dir:C:\Program Files\EFIAnalytics\MegaLogViewer
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
Look:Nimbus, ClassName:'javax.swing.plaf.nimbus.NimbusLookAndFeel'
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
Look:Windows, ClassName:'com.sun.java.swing.plaf.windows.WindowsLookAndFeel'
Look:Windows Classic, ClassName:'com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel'
Setting Look & Feel to:com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 19, Size: 16
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.set(Unknown Source)
	at y.as.a(Unknown Source)
	at y.eA.a(Unknown Source)
	at y.au.<init>(Unknown Source)
	at y.aX.<init>(Unknown Source)
	at MegaLogViewer.main(Unknown Source)
Installed in original directory with runtime folder renamed

Code: Select all

App Edition:MS Lite!
Jar Name:MegaLogViewer.jar
MegaLogViewer 4.0.04 started on Sun Jan 25 16:31:14 GMT 2015
JRE 1.7.0_75, Windows XP 5.1, x86
Working Dir:C:\Documents and Settings\**APPER\My Documents\MegaSquirt\MegaLogViewer
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
Look:Nimbus, ClassName:'javax.swing.plaf.nimbus.NimbusLookAndFeel'
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
Look:Windows, ClassName:'com.sun.java.swing.plaf.windows.WindowsLookAndFeel'
Look:Windows Classic, ClassName:'com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel'
Setting Look & Feel to:com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 19, Size: 16
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.set(Unknown Source)
	at y.as.a(Unknown Source)
	at y.eA.a(Unknown Source)
	at y.au.<init>(Unknown Source)
	at y.aX.<init>(Unknown Source)
	at MegaLogViewer.main(Unknown Source)
Hope thats useful
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: MLV not running after update

Post by LT401Vette »

Yes, quite useful. That shows it does not appear to be a JRE problem, it is starting on the bundled JRE as it should, but there is some other type of issue occuring. I will not be able to backtrace it until tomorrow.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

Any news?
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: MLV not running after update

Post by LT401Vette »

I believe the problem is related to the Graph Trace Color selection.

Did you by chance change Graph Trace colors?

I bet it would come back to life if you deleted the files:
[UserDir]/mlvUser.properties
[UserDir]/.efiAnalytics/mlvUser.properties
[UserDir]/.efiAnalytics/mlvUser.properties.bak

Warning though, you won't want to do that if you have Custom fields etc... It will revert back to all default settings.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

Yes i did change graph colours.

Why would that cause an issue?

Ill give it a try
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

Looks like it has worked. A shame traces cause a problem :cry:
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: MLV not running after update

Post by LT401Vette »

tshirt2k wrote:Yes i did change graph colours.

Why would that cause an issue?

Ill give it a try
It seems to be a bug. Deleting those files is just a work around until the next release.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tshirt2k
MS/Extra Newbie
Posts: 18
Joined: Sun Oct 18, 2009 7:29 am

Re: MLV not running after update

Post by tshirt2k »

Ok thanks for the workaround.
Post Reply