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 JIRA by Dennis Spathis, 1 year ago
via JIRA by Dennis Spathis, 1 year ago
java.lang.NullPointerException: 	at org.obiba.onyx.jade.core.service.impl.InstrumentTypeFactoryBean.getObjectType(InstrumentTypeFactoryBean.java:114)	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBeanRegistrySupport.java:55)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:620)	at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:450)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:223)	at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:652)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1076)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:982)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:329)	at org.obiba.onyx.engine.StageDescriptorFactoryBean$InjectingReflectionProviderWrapper.newInstance(StageDescriptorFactoryBean.java:103)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:279)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:149)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:77)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:68)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142)	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931)	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917)	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)	at org.obiba.onyx.engine.StageDescriptorFactoryBean.getObject(StageDescriptorFactoryBean.java:65)	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)	at java.security.AccessController.doPrivileged(Native Method)	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:98)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:223)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)	at java.security.AccessController.doPrivileged(Native Method)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)	at org.obiba.onyx.webapp.OnyxApplication.createApplicationContext(OnyxApplication.java:159)	at org.obiba.onyx.webapp.OnyxApplication.init(OnyxApplication.java:182)	at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:569)	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:653)	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)	at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)	at org.mortbay.jetty.Server.doStart(Server.java:222)	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)	at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441)	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383)	at org.mortbay.jetty.plugin.Jetty6RunWar.execute(Jetty6RunWar.java:67)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)