com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'npm'

Sonatype JIRA | Peter Lynch | 2 years ago
  1. 0

    Install Nexus on a path which can be mounted using UNC on Windows. Start a Powershell console ( CMD console doesn't like UNC paths ) and change directory to the UNC path when the nexus.bat script lives Start Nexus with {{./nexus console}} Notice the Orient database used by the NPM plugin logs some errors on startup, yet the Nexus NPM plugin starts successfully. {noformat} 2015-04-06 09:16:23,773-0700 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.NxApplication - Plugin manager request "ACTIVATE" on plugin "org.sonatype.nexus.plugins:nexus-npm-repository-plugin:2.11.2-06" was successful. 2015-04-06 09:16:39,870-0700 ERROR [jetty-main-1] *SYSTEM com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStore - Life-cycle operation failed com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'npm' at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:436) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:352) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStore.doStart(OrientMetadataStore.java:101) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70) ~[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255) ~[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57) ~[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129) ~[goodies-lifecycle-1.9.jar:1.9] at com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStoreLifecycle.on(OrientMetadataStoreLifecycle.java:51) [nexus-npm-repository-plugin-2.11.2-06/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_40] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_40] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_40] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_40] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:49) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.NxApplication.<init>(NxApplication.java:106) [nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.NxApplication$$FastClassByGuice$$7af2777c.newInstance(<generated>) [sisu-guice-3.1.10.jar:2.11.2-06] at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113) [sisu-guice-3.1.10.jar:3.1.10] at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176) [org.eclipse.sisu.inject-0.2.0.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:279) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1000) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1050) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:996) [sisu-guice-3.1.10.jar:3.1.10] at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) [org.eclipse.sisu.inject-0.2.0.jar:na] at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:104) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:96) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:90) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:166) [classes/:na] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.doStart(Server.java:282) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247) [nexus-bootstrap-2.11.2-06.jar:2.11.2-06] Caused by: java.lang.IllegalStateException: Location passed in WAL does not exist, or IO error was happened. DB can not work in durable mode in such case. at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>(ODiskWriteAheadLog.java:610) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>(ODiskWriteAheadLog.java:588) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.initWalAndDiskCache(OLocalPaginatedStorage.java:283) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.create(OAbstractPaginatedStorage.java:242) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(OLocalPaginatedStorage.java:112) ~[nexus-npm-repository-plugin-2.11.2-06/:na] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:374) ~[nexus-npm-repository-plugin-2.11.2-06/:na] ... 61 common frames omitted 2015-04-06 09:16:40,026-0700 ERROR [jetty-main-1] *SYSTEM org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.default - Could not dispatch event: org.sonatype.nexus.proxy.events.NexusInitializedEvent@36b820 to handler [wrapper public void com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStoreLifecycle.on(org.sonatype.nexus.proxy.events.NexusInitializedEvent) throws java.lang.Exception] java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_40] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_40] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_40] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_40] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) ~[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:49) ~[goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.NxApplication.<init>(NxApplication.java:106) [nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.NxApplication$$FastClassByGuice$$7af2777c.newInstance(<generated>) [sisu-guice-3.1.10.jar:2.11.2-06] at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113) [sisu-guice-3.1.10.jar:3.1.10] at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176) [org.eclipse.sisu.inject-0.2.0.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:279) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1000) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1050) [sisu-guice-3.1.10.jar:3.1.10] at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:996) [sisu-guice-3.1.10.jar:3.1.10] at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) [org.eclipse.sisu.inject-0.2.0.jar:na] at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:104) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:96) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:90) [org.eclipse.sisu.plexus-0.2.0.jar:na] at org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:166) [classes/:na] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.doStart(Server.java:282) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247) [nexus-bootstrap-2.11.2-06.jar:2.11.2-06] Caused by: com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'npm' at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:436) ~[na:na] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:352) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStore.doStart(OrientMetadataStore.java:101) ~[na:na] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70) ~[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255) ~[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57) ~[goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129) ~[goodies-lifecycle-1.9.jar:1.9] at com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStoreLifecycle.on(OrientMetadataStoreLifecycle.java:51) ~[na:na] ... 54 common frames omitted Caused by: java.lang.IllegalStateException: Location passed in WAL does not exist, or IO error was happened. DB can not work in durable mode in such case. at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>(ODiskWriteAheadLog.java:610) ~[na:na] at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>(ODiskWriteAheadLog.java:588) ~[na:na] at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.initWalAndDiskCache(OLocalPaginatedStorage.java:283) ~[na:na] at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.create(OAbstractPaginatedStorage.java:242) ~[na:na] at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(OLocalPaginatedStorage.java:112) ~[na:na] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:374) ~[na:na] ... 61 common frames omitted {noformat} Now the NPM plugin is in a bad state. For example, a user can still create npm repositories in Nexus without problem. However simple npm client operations fail in strange ways. Once such way is: 1. Create a npm-proxy repository to https://registry.npmjs.org 2. npm install bower 3. Nexus reports: 404 - Request is serviced by NPM metadata service, remote access not needed from DefaultNpmProxyRepository(id=npm-proxy)

    Sonatype JIRA | 2 years ago | Peter Lynch
    com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'npm'
  2. 0

    Badlogic Games • View topic - Cannot make OrientDB work with Libgdx

    badlogicgames.com | 1 year ago
    com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'testdb'
  3. 0

    [orientdb] fails with multiple threads when database does not already exists

    GitHub | 11 months ago | kruthar
    com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'ycsb'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 538#165781691

    GitHub | 12 months ago | Hadi14
    com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database
  6. 0

    GitHub comment 5489#166281824

    GitHub | 12 months ago | Hadi14
    com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Location passed in WAL does not exist, or IO error was happened. DB can not work in durable mode in such case.

      at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>()
    2. OrientDB Core
      ODatabaseDocumentTx.create
      1. com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>(ODiskWriteAheadLog.java:610)[nexus-npm-repository-plugin-2.11.2-06/:na]
      2. com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.<init>(ODiskWriteAheadLog.java:588)[nexus-npm-repository-plugin-2.11.2-06/:na]
      3. com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.initWalAndDiskCache(OLocalPaginatedStorage.java:283)[nexus-npm-repository-plugin-2.11.2-06/:na]
      4. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.create(OAbstractPaginatedStorage.java:242)[nexus-npm-repository-plugin-2.11.2-06/:na]
      5. com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(OLocalPaginatedStorage.java:112)[nexus-npm-repository-plugin-2.11.2-06/:na]
      6. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:374)[nexus-npm-repository-plugin-2.11.2-06/:na]
      7. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:352)[nexus-npm-repository-plugin-2.11.2-06/:na]
      7 frames
    3. com.bolyuba.nexus
      OrientMetadataStore.doStart
      1. com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStore.doStart(OrientMetadataStore.java:101)[nexus-npm-repository-plugin-2.11.2-06/:na]
      1 frame
    4. ${project.groupId}:${project.artifactId}
      LifecycleSupport.start
      1. org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70)[goodies-lifecycle-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255)[goodies-lifecycle-1.9.jar:1.9]
      3. org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57)[goodies-lifecycle-1.9.jar:1.9]
      4. org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129)[goodies-lifecycle-1.9.jar:1.9]
      4 frames
    5. com.bolyuba.nexus
      OrientMetadataStoreLifecycle.on
      1. com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStoreLifecycle.on(OrientMetadataStoreLifecycle.java:51)[nexus-npm-repository-plugin-2.11.2-06/:na]
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_40]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_40]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_40]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.8.0_40]
      4 frames
    7. org.sonatype.sisu
      EventBus.dispatch
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.guava.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:49)[goodies-eventbus-1.9.jar:1.9]
      3. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.9.jar:1.9]
      3 frames
    8. ${project.groupId}:${project.artifactId}
      ReentrantGuavaEventBus.dispatchQueuedEvents
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.9.jar:1.9]
      2 frames
    9. org.sonatype.sisu
      EventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    10. ${project.groupId}:${project.artifactId}
      DefaultEventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    11. ${project.groupId}:${project.artifactId}
      NxApplication$$FastClassByGuice$$7af2777c.newInstance
      1. org.sonatype.nexus.NxApplication.<init>(NxApplication.java:106)[nexus-core-2.11.2-06.jar:2.11.2-06]
      2. org.sonatype.nexus.NxApplication$$FastClassByGuice$$7af2777c.newInstance(<generated>)[sisu-guice-3.1.10.jar:2.11.2-06]
      2 frames
    12. Google Guice - Core Library
      ProvisionListenerStackCallback$Provision.provision
      1. com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)[sisu-guice-3.1.10.jar:3.1.10]
      2. com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)[sisu-guice-3.1.10.jar:3.1.10]
      3. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)[sisu-guice-3.1.10.jar:3.1.10]
      4. com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.10.jar:3.1.10]
      5. com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.10.jar:3.1.10]
      6. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113)[sisu-guice-3.1.10.jar:3.1.10]
      6 frames
    13. org.eclipse.sisu
      BeanScheduler$Activator.onProvision
      1. org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)[org.eclipse.sisu.inject-0.2.0.jar:na]
      1 frame
    14. Google Guice - Core Library
      InjectorImpl$2.get
      1. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122)[sisu-guice-3.1.10.jar:3.1.10]
      2. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)[sisu-guice-3.1.10.jar:3.1.10]
      3. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.10.jar:3.1.10]
      4. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:279)[sisu-guice-3.1.10.jar:3.1.10]
      5. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.10.jar:3.1.10]
      6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057)[sisu-guice-3.1.10.jar:3.1.10]
      7. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.10.jar:3.1.10]
      8. com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.10.jar:3.1.10]
      9. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.10.jar:3.1.10]
      10. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1000)[sisu-guice-3.1.10.jar:3.1.10]
      11. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1050)[sisu-guice-3.1.10.jar:3.1.10]
      12. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:996)[sisu-guice-3.1.10.jar:3.1.10]
      12 frames
    15. org.eclipse.sisu
      PseudoPlexusContainer.lookup
      1. org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)[org.eclipse.sisu.inject-0.2.0.jar:na]
      2. org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)[org.eclipse.sisu.plexus-0.2.0.jar:na]
      3. org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:104)[org.eclipse.sisu.plexus-0.2.0.jar:na]
      4. org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:96)[org.eclipse.sisu.plexus-0.2.0.jar:na]
      5. org.eclipse.sisu.plexus.PseudoPlexusContainer.lookup(PseudoPlexusContainer.java:90)[org.eclipse.sisu.plexus-0.2.0.jar:na]
      5 frames
    16. org.sonatype.nexus
      WebappBootstrap.contextInitialized
      1. org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:166)[classes/:na]
      1 frame
    17. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520]
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520]
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      9. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      10. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      11. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      12. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      13. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      14. org.eclipse.jetty.server.Server.doStart(Server.java:282)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      15. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      15 frames
    18. org.sonatype.nexus
      JettyServer$JettyMainThread.run
      1. org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247)[nexus-bootstrap-2.11.2-06.jar:2.11.2-06]
      1 frame