Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For confidential or other support please email.
The time now is Mon Oct 13, 2008 8:20 pm
 <b>Register</b> (required to post and download)Register (required to post and download)
 Username:    Password:   Remember login       
 FAQFAQ   SearchSearch   DigestsDigests 
5.0.2 error MarvinView on startup
To watch this topic for replies  Register (enables digests) or give email address:
Reply to topic    Home -> Forums -> Support -> Structure editing, viewing and file formats -> 5.0.2 error MarvinView on startup

Display posts from previous:        View previous topic :: View next topic    
Author Message
darcy
Joined: 24 Jun 2006
Posts: 23


View user's profile

Visit poster's website

Back to top
Post subject: 5.0.2 error MarvinView on startup
Link to postPosted: Wed Mar 19, 2008 8:04 pm  Reply with quote

Installed the new 5.0.2 over 5.0. Got the following error when I tried to start Marvin View. 5.0 worked without errors.
Window xP. Java 1.6


java.lang.ArrayIndexOutOfBoundsException: 4
at chemaxon.marvin.common.swing.action.ViewRecentFileActions.updateDelegates(Unknown Source)
at chemaxon.marvin.common.swing.action.ViewRecentFileActions.getActions(Unknown Source)
at chemaxon.marvin.view.swing.ViewPanel.makeRecentFileListMenu(Unknown Source)
at chemaxon.marvin.beans.MViewPane.makeRecentFileListMenu(Unknown Source)
at chemaxon.marvin.View.<init>(Unknown Source)
at chemaxon.marvin.View.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Darcy



 Filename: MarvinError.JPG    Filesize: 55.75 KB    Viewed: 965 Time(s)
 Description:  Snapshot of error.
MarvinError.JPG
ifajth
Joined: 03 Dec 2007
Posts: 5
ChemAxon personnel

View user's profile



Back to top
Post subject:
Link to postPosted: Wed Mar 19, 2008 10:54 pm  Reply with quote

Thank you for the bug report; we apologize for the inconveniences caused by MarvinView 5.0.2. We are going to fix this bug, and release a new Marvin version ASAP. Until that please do the following workaround:

1. Search for the "marvin.properties" file in your user's home directory (on linux: /home/username/.chemaxon/marvin.properties, on windows: c:\Documents and Settings\username\chemaxon\marvin.properties, on mac: /Users/username/chemaxon/marvin.properties).

2. There is a property in this file stored in the line starting with "viewRecentFileList", which is responsible for the exception. Please delete this line; the proper version of it will be created again after restarting MarvinView

3. Start MarvinView: the exception does not appear again.

The source of the bug: In the 5.0.1 release we introduced the recent file list feature in MarvinSketch. The functionality was not available in MarvinView, but the recent file history was already stored. This storage was not handled properly though, and unfortunately interacted with the storage feature in 5.0.2, which resulted in a mess in the corresponding row of the "marvin.properties" file. The deletion of this line solves the problem.
Display posts from previous:   
Reply to topic    Home -> Forums -> Structure editing, viewing and file formats -> 5.0.2 error MarvinView on startup All times are GMT + 1 Hour
Page 1 of 1
To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum