Page 1 of 1

When opening openLCA "Open editor has encountered a problem"

Posted: 15 Sep 2014 01:43
by freeseek
I have installed the 64 bit version of openLCA on a 64bit Windows 7 machine. Whenever I open the program I am greeted by the following message:
'Open editor' has encountered a problem.
An internal error has occurred.
<< Details
An internal error has occurred.
java.lang.StackOverflowError

A window opens but in the "Welcome" tab nothing appears.

Re: When opening openLCA "Open editor has encountered a prob

Posted: 15 Sep 2014 14:49
by aciroth
Hm, "greeted"... possible reasons could be not enough memory for the application (the 64bit version takes 3GB RAM by default, according to the ini file that is contained in the install pack). Can you maybe post or send more details, e.g. the log file?
Thanks,
Andreas

- windows installation are really not complicated any more, if you for whatever reason cannot solve it you can also simply uninstall openLCA and then use the zip archive that we also provide, extract it, and start openlca.exe. Your databases folder will be preserved. Make sure to have sufficient memory though or reduce it if needed in the openlca.ini file

Re: When opening openLCA "Open editor has encountered a prob

Posted: 15 Sep 2014 15:45
by freeseek
The machine has 8GB of memory, so I doubt that is the issue. Also, the problem appears also with the 32bit version of openLCA 1.4, but not with openLCA 1.3.4. Where do I find a log file to post? Also, I noticed that both 32bit and 64bit versions of openLCA install in the C:\Program Files (x86)\openLCA directory (which seems unorthodox for the 64bit version) and if I try to install one version after the other, the second installation actually fails. I first need to uninstall the previous version of openLCA and manually remove the directory, as the uninstall program seems to fail as well.

Re: When opening openLCA "Open editor has encountered a prob

Posted: 15 Sep 2014 17:57
by aciroth
Ah I see, is it possible that you do not have full access rights to the program folder? By default, openLCA is installed in the user directory, in Windows, where a user has access rights. Can you login as admin and uninstall, and then install again into your user directory. Or, as mentioned in my previous post, use the zip archive for openLCA.
Hth,
Andreas

- the log file is in the database folder
2014-09-15 18_00_34-openLCA-data-1.4.png
2014-09-15 18_00_34-openLCA-data-1.4.png (23.13 KiB) Viewed 19631 times

Re: When opening openLCA "Open editor has encountered a prob

Posted: 15 Sep 2014 18:11
by freeseek
I definitely don't have user access to the directory. By default the directory is installed as "Read-only". I could not even modify the .ini file with notepad. However, I have now downloaded and unpacked the openLCA 1.4 zip version in a directory on the Desktop and removed the Read-only flag on the directory in C:\Program Files (x86)\openLCA but the same problem persists.

Re: When opening openLCA "Open editor has encountered a prob

Posted: 15 Sep 2014 18:32
by aciroth
I definitely don't have user access to the directory
- so that is then the issue.
I have now downloaded and unpacked the openLCA 1.4 zip version in a directory on the Desktop
: and? On your desktop, this problem should not exist.

Re: When opening openLCA "Open editor has encountered a prob

Posted: 16 Sep 2014 01:19
by freeseek
This problem still exists (even when running the program as Administrator), and it has nothing to do with file permissions. How do I get the log file? How do I debug this? My bet is that there is something the program relies on that is usually installed on Windows 7 64bit but not on my installation of Windows 7 64bit.

Re: When opening openLCA "Open editor has encountered a prob

Posted: 16 Sep 2014 12:06
by aciroth
please see above:
the log file is in the database folder

Re: When opening openLCA "Open editor has encountered a prob

Posted: 16 Sep 2014 16:39
by freeseek
There was only a 1410824789743.log file in the "C:\Users\%%USER%%\openLCA-data-1.4\" directory (see attached). I am not sure if this relates to the issue though.

Re: When opening openLCA "Open editor has encountered a prob

Posted: 24 Sep 2014 18:20
by msrocka
It seems that this problem is solved in the current beta version which is available at https://sourceforge.net/projects/openlc ... 4.1_beta4/