Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Peter Lynch, 1 year ago
via Coderanch by Alessandro Rogerio Araujo, 1 year ago
via Stack Overflow by Programmer 400
, 1 year ago
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 moreCaused 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 more