java.lang.Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • -open STS -create new spring roo project -project created with only one text file named "log.roo" : // Spring Roo 1.2.4.RELEASE [rev 75337cf] log opened at 2013-09-16 13:08:50 // [failed] project --topLevelPackage e --projectName e --java 7 --packaging JAR // Spring Roo 1.2.4.RELEASE [rev 75337cf] log closed at 2013-09-16 13:08:50 -in the error log, there is a "Failed to start the Felix framework" error : Stack Trace : org.osgi.framework.BundleException: Error creating bundle cache. at org.apache.felix.framework.Felix.init(Felix.java:634) at org.springframework.roo.shell.eclipse.Main.start(Main.java:251) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164) at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176) at org.apache.felix.framework.Felix.init(Felix.java:629) ... 4 more Root exception: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176) at org.apache.felix.framework.Felix.init(Felix.java:629) at org.springframework.roo.shell.eclipse.Main.start(Main.java:251) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164) at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    via by Emre Tetik,
  • -open STS -create new spring roo project -project created with only one text file named "log.roo" : // Spring Roo 1.2.4.RELEASE [rev 75337cf] log opened at 2013-09-16 13:08:50 // [failed] project --topLevelPackage e --projectName e --java 7 --packaging JAR // Spring Roo 1.2.4.RELEASE [rev 75337cf] log closed at 2013-09-16 13:08:50 -in the error log, there is a "Failed to start the Felix framework" error : Stack Trace : org.osgi.framework.BundleException: Error creating bundle cache. at org.apache.felix.framework.Felix.init(Felix.java:634) at org.springframework.roo.shell.eclipse.Main.start(Main.java:251) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164) at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176) at org.apache.felix.framework.Felix.init(Felix.java:629) ... 4 more Root exception: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176) at org.apache.felix.framework.Felix.init(Felix.java:629) at org.springframework.roo.shell.eclipse.Main.start(Main.java:251) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164) at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    via by Emre Tetik,
  • 3 times in 4 STS will NOT create proper Roo project. Roo console is not usable (or do not see project at all, and hint advise to create one!) Otherwise there is no other idication that something got wrong. This is what a get in terminal when it happens. przemoli@darkstar:~$ ./springsource/sts-2.9.1.RELEASE/STS (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed [Fatal Error] :1:1: Premature end of file. 2012-04-01 16:24:25 org.springframework.roo.shell.eclipse.EclipseShell init INFO: ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723] 2012-04-01 16:24:25 org.springframework.roo.shell.eclipse.EclipseShell init INFO: Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER. 2012-04-01 16:24:25 org.springframework.roo.shell.eclipse.EclipseShell init INFO: roo> 2012-04-01 16:24:27 org.springframework.roo.shell.eclipse.EclipseShell executeCommand INFO: roo> ERROR: Error creating bundle cache. (java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException) java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:152) at org.apache.felix.framework.Felix.init(Felix.java:599) at org.springframework.roo.shell.eclipse.Main.start(Main.java:244) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:424) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Could not create framework: org.osgi.framework.BundleException: Error creating bundle cache. org.osgi.framework.BundleException: Error creating bundle cache. at org.apache.felix.framework.Felix.init(Felix.java:604) at org.springframework.roo.shell.eclipse.Main.start(Main.java:244) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:424) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:152) at org.apache.felix.framework.Felix.init(Felix.java:599) ... 4 more [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize
    via by Przemysław Lib,
  • 3 times in 4 STS will NOT create proper Roo project. Roo console is not usable (or do not see project at all, and hint advise to create one!) Otherwise there is no other idication that something got wrong. This is what a get in terminal when it happens. przemoli@darkstar:~$ ./springsource/sts-2.9.1.RELEASE/STS (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (STS:5251): Gtk-WARNING **: Nie można odnaleźć modułu obsługującego motyw w module_path: "pixmap", (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (SpringSource Tool Suite:5251): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed [Fatal Error] :1:1: Premature end of file. 2012-04-01 16:24:25 org.springframework.roo.shell.eclipse.EclipseShell init INFO: ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723] 2012-04-01 16:24:25 org.springframework.roo.shell.eclipse.EclipseShell init INFO: Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER. 2012-04-01 16:24:25 org.springframework.roo.shell.eclipse.EclipseShell init INFO: roo> 2012-04-01 16:24:27 org.springframework.roo.shell.eclipse.EclipseShell executeCommand INFO: roo> ERROR: Error creating bundle cache. (java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException) java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:152) at org.apache.felix.framework.Felix.init(Felix.java:599) at org.springframework.roo.shell.eclipse.Main.start(Main.java:244) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:424) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Could not create framework: org.osgi.framework.BundleException: Error creating bundle cache. org.osgi.framework.BundleException: Error creating bundle cache. at org.apache.felix.framework.Felix.init(Felix.java:604) at org.springframework.roo.shell.eclipse.Main.start(Main.java:244) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:424) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:152) at org.apache.felix.framework.Felix.init(Felix.java:599) ... 4 more [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize [debug] execute contextualize
    via by Przemysław Lib,
  • Glassfish startup failure
    via Stack Overflow by stephanruhl
    ,
  • GlassFish 4 server not starting
    via Stack Overflow by panky070
    ,
    • java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176) at org.apache.felix.framework.Felix.init(Felix.java:629) at org.springframework.roo.shell.eclipse.Main.start(Main.java:251) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164) at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    14 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,