An error has occurred. See the log file

Hi, I have an inssue with KNIME after installation process:

An error has occurred. See the log file
C:\Users\user\knime-workspace.metadata.log

Log details below:

!SESSION 2025-03-16 14:18:05.232 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.5
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2025-03-16 14:18:06.313
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start() of bundle org.eclipse.equinox.p2.reconciler.dropins.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:839)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1032)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:371)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1788)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1672)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
Caused by: java.lang.IllegalStateException: Could not create profile data area c:\Program Files\KNIME\p2\org.eclipse.equinox.p2.engine\profileRegistry\KNIMEProfile.profile.datafor: KNIMEProfile
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileDataDirectory(SimpleProfileRegistry.java:968)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.getProfileLocation(ProfilePreferences.java:228)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.load(ProfilePreferences.java:273)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:371)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:624)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:108)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:87)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getSharedPreferences(AbstractRepositoryManager.java:527)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:1034)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.basicGetRepository(AbstractRepositoryManager.java:182)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:666)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:108)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.(RepositoryListener.java:63)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.(DropinsRepositoryListener.java:85)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:515)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:175)
at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:818)
at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:810)
… 14 more
Root exception:
java.lang.IllegalStateException: Could not create profile data area c:\Program Files\KNIME\p2\org.eclipse.equinox.p2.engine\profileRegistry\KNIMEProfile.profile.datafor: KNIMEProfile
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileDataDirectory(SimpleProfileRegistry.java:968)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.getProfileLocation(ProfilePreferences.java:228)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.load(ProfilePreferences.java:273)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:371)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:624)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:108)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:87)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getSharedPreferences(AbstractRepositoryManager.java:527)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:1034)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.basicGetRepository(AbstractRepositoryManager.java:182)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:666)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:108)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.(RepositoryListener.java:63)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.(DropinsRepositoryListener.java:85)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:515)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:175)
at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:818)
at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:810)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1032)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:371)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1788)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1672)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.osgi 4 0 2025-03-16 14:18:08.638
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Could not create profile data area c:\Program Files\KNIME\p2\org.eclipse.equinox.p2.engine\profileRegistry\KNIMEProfile.profile.datafor: KNIMEProfile
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileDataDirectory(SimpleProfileRegistry.java:968)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.getProfileLocation(ProfilePreferences.java:228)
at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.load(ProfilePreferences.java:273)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:371)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:624)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:630)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:759)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:108)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:87)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getSharedPreferences(AbstractRepositoryManager.java:527)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:1034)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getKnownRepositories(AbstractRepositoryManager.java:489)
at org.knime.product.p2.RepositoryUpdater.updateArtifactRepositoryURLs(RepositoryUpdater.java:127)
at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:180)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

@markie, What kind of issue you are having? I mean it is showing the pop-up with exception instead of opening KNIME or it opens and issue with creating workflows or with some nodes?

2 Likes

The error occurs because Eclipse/KNIME cannot write to the c:\Program Files\KNIME\p2\... directory due to insufficient permissions. Here’s how to fix it (Use Step by step fix please one of these might will solve the issue):


1. Run as Administrator

  • Right-click the KNIME/Eclipse shortcut and select Run as Administrator.
  • This grants temporary write access to the restricted Program Files directory.

2. Change Installation Directory Permissions

  • Navigate to c:\Program Files\KNIME.
  • Right-click the KNIME folder → Properties → Security tab.
  • Click Edit → Select your user → Check Full Control → Apply changes.
  • Restart KNIME/Eclipse.

3. Reinstall KNIME/Eclipse in a User-Writable Location

  • Uninstall KNIME/Eclipse.
  • Reinstall it in a directory where you have write permissions (e.g., C:\Users\<YourUsername>\KNIME).
  • This avoids Windows permission restrictions in Program Files.

4. Fix Profile Registry Manually

  • Go to c:\Program Files\KNIME\p2\org.eclipse.equinox.p2.engine\profileRegistry.
  • Delete the KNIMEProfile.profile folder (backup first if needed).
  • Restart KNIME/Eclipse; it will recreate the profile with proper permissions.

5. Check Antivirus/Firewall

  • Temporarily disable antivirus/firewall software to rule out interference with file creation.

6. Use a Different Workspace

  • Launch KNIME/Eclipse with a workspace outside Program Files:
    knime.exe -data C:\Users\<YourUsername>\workspace
    

Why This Happens:
Windows restricts write access to Program Files for security. KNIME/Eclipse tries to modify files here but is blocked unless run with elevated privileges or installed elsewhere.

And yes, sorry I forgot :slight_smile: @mlauber71 provided the easy way to fix it. Use Zip install. Thanks @mlauber71 !

5 Likes

@markie welcome to the KNIME forum. You could try a fresh installation from a zip file and also try to set enough memory and try a clean start once

Also: pasting large log files directly into the forum makes the thread unreadable. Maybe try attaching a file in the future or focusing on an actual error message.

4 Likes

After the message you can only click OK button and KNIME doesn’t start. I’ll try to do that you wrote before.

1 Like

Hey @markie , thank you for providing the log, that is very helpful.

I think using “ZIP install”, i.e. downloading and unpacking the ZIP archive instead of the installer will not make a difference since the issue is about what the Eclipse framework is trying to do once the application is running.

As @prashant7526 so kindly pointed out, the problem is indeed

java.lang.IllegalStateException: Could not create profile data area c:\Program Files\KNIME\p2\org.eclipse.equinox.p2.engine\profileRegistry\KNIMEProfile.profile.datafor: KNIMEProfile

It does not say whether this is actually due to insufficient permissions or some other cause, though.

5 Likes

I will describe the interim results that were obtained. I don’t have administrator rights. Therefore, I had to find a support specialist who had administrator rights to run KNIME.

  1. KNIME starts. I can open saved projects, but if they have nodes that need to be installed from outside we can see read-only error for the installation directory.

  2. We tried to change the Read-only attribute of the KNIME directory, but my support specialist also does not have such rights. We have forwarded the problem to the internal support team. We will wait for a response.

3 Likes

@markie KNIME can be put into any local folder where you have read/write access.

3 Likes

java.lang.IllegalStateException is a standard exception in Java that signals that a method has been invoked at an illegal or inappropriate time.
Whenever this comes for file or directory normally is it because of following:
Permission, Directory not found, Concurrent Access, or Corrupt file.

Also stating: Could not create profile data area so it should be permission. It is better to install in other directory where you do not need any admin permission.

2 Likes

There is no general guarantee that this exception is only ever raised due to file access problem.

The exact point in code where this is raised is here, i.e. the condition !profileDataArea.isDirectory() && !profileDataArea.mkdir() fails. This does not provide a whole lot more information about what is in fact going wrong but my first guess would also be that there are no write permissions at said location. This issue also suggests that.

3 Likes

Yesterday I downloaded zip archive and unpacked it to the Desktop folder. Everything is working correctly. For now, this will be a temporary solution until IT support team comes up with a global solution for all users in the company.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.