question-circle Can't run after install on Win7 64bit with java 1.7 - IllegalStateException not same as #814

8 years 4 months ago - 8 years 4 months ago #1555 by SharmanJ
Copied content of Zip file to C:\Program Files\modelio and attempted to run by double clicking modelio.exe. Following log file content produced.

Should have a proper install process to register the program with Windows.

Log file:

!SESSION 2013-03-13 12:52:13.234
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_NZ
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2013-03-13 12:52:15.106
!MESSAGE Application error
java.lang.IllegalStateException: The platform metadata area could not be written: C:\Program Files\modelio\workspace\.metadata. By default the platform writes its content
under the current working directory when the platform is launched. Use the -data parameter to
specify a different content area for the platform.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(
at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(
at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(
at org.eclipse.core.internal.preferences.InstancePreferences.<init>(
at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(
at org.eclipse.core.internal.preferences.EclipsePreferences.create(
at org.eclipse.core.internal.preferences.EclipsePreferences.create(
at org.eclipse.core.internal.preferences.PreferencesService.createNode(
at org.eclipse.core.internal.preferences.RootPreferences.getChild(
at org.eclipse.core.internal.preferences.RootPreferences.getNode(
at org.eclipse.core.internal.preferences.RootPreferences.node(
at org.eclipse.core.internal.preferences.AbstractScope.getNode(
at org.eclipse.core.runtime.preferences.InstanceScope.getNode(
at org.eclipse.ui.preferences.ScopedPreferenceStore.getStorePreferences(
at org.eclipse.ui.preferences.ScopedPreferenceStore.<init>(
at org.eclipse.ui.plugin.AbstractUIPlugin.getPreferenceStore(
at org.eclipse.ui.internal.UISynchronizer.<init>(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(

Please Log in or Create an account to join the conversation.

8 years 4 months ago #1556 by pan
Can you write any file in the C:\Program Files\modelio\workspace\ ?

Please Log in or Create an account to join the conversation.

8 years 4 months ago - 8 years 4 months ago #1560 by SharmanJ
Answer: write access only with granted (elevated) Admin rights. e.g. copy, create by paste, delete. User has no rights to do anything of a modify/create nature. NB User is an Administrator, UAC is default.
So, taking the hint, I granted myself full access to the modelio directory and low and behold, I can use Modelio!

NB I have an SSD C: drive, so I would dearly like all apps to have any temporary files, etc., on my second drive - not an SSD - to reduce writes to the SSD. I only raise this as the first thing Modelio did was to create and populate the 'workspace' sub-directory. If that is the only time Modelio writes to this area it's fine.

Please Log in or Create an account to join the conversation.

8 years 4 months ago #1569 by cde
Hi SharmanJ,

Modelio saves some parameters in this directory (workspace), mainly when opening/closing the application...

There is a way to create this directory on another disk... Just create a short-cut for modelio.exe, edit its properties and set the 'Start in' value with a directory on your second drive...

Best regards,

Please Log in or Create an account to join the conversation.

Moderators: cde
Time to create page: 0.043 seconds
^ Back to Top