java.lang.NullPointerException: in is null

blogspot.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ioannis Canellos Blog: Wicket, Spring 3, JPA2 & Hibernate OSGi Application on Apache Karaf

    blogspot.com | 7 months ago
    java.lang.NullPointerException: in is null
  2. 0

    SpringDm are not injecting the dependencyes correctly. Some error occour as follows: ... INFO: Installing bundle [jndi:/localhost/FelixPichlerWar/WEB-INF/bundles/org.apache.felix.fileinstall-3.0.0.jar] [INFO] Started bridged http service 01/07/2010 10:42:02 org.apache.catalina.core.ApplicationContext log SEVERE: OSGi framework started 01/07/2010 10:42:02 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive insight.war 01/07/2010 10:42:02 com.springsource.insight.collection.tcserver.ltw.TomcatAspectJWeavingClassLoader start INFO: Context [/insight] will not be woven 01/07/2010 10:42:02 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext 2010-07-01 10:42:04,681 WARN [org.springframework.jmx.support.JmxUtils][main] - Found more than one MBeanServer instance. Returning first from list. 01/07/2010 10:42:04 org.apache.catalina.core.ApplicationContext log INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok) 01/07/2010 10:42:04 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet' comecou 01/07/2010 10:42:06 org.springframework.osgi.extender.internal.boot.ChainActivator <init> INFO: Blueprint API detected; enabling Blueprint Container functionality 01/07/2010 10:42:06 org.springframework.osgi.extender.internal.activator.ContextLoaderListener start INFO: Starting [org.springframework.osgi.extender] bundle v.[2.0.0.M1] 01/07/2010 10:42:06 org.springframework.osgi.extender.internal.support.ExtenderConfiguration <init> INFO: No custom extender configuration detected; using defaults... 01/07/2010 10:42:06 org.springframework.scheduling.timer.TimerTaskExecutor afterPropertiesSet INFO: Initializing Timer 01/07/2010 10:42:06 org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator createApplicationContext INFO: Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Geolocation Component (com.geoloc)] 01/07/2010 10:42:07 org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing OsgiBundleXmlApplicationContext(bundle=com.geoloc, config=osgibundle:/META-INF/spring/*.xml): startup date [Thu Jul 01 10:42:07 BRT 2010]; root of context hierarchy 01/07/2010 10:42:07 org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext unpublishContextAsOsgiService INFO: Application Context service already unpublished 01/07/2010 10:42:07 org.springframework.osgi.extender.internal.activator.ContextLoaderListener start INFO: Starting [org.springframework.osgi.extender] bundle v.[2.0.0.M1] 01/07/2010 10:42:07 org.springframework.osgi.extender.internal.support.ExtenderConfiguration <init> INFO: No custom extender configuration detected; using defaults... 01/07/2010 10:42:07 org.springframework.scheduling.timer.TimerTaskExecutor afterPropertiesSet INFO: Initializing Timer 01/07/2010 10:42:07 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from URL [bundle://18.0:0/META-INF/spring/applicationContext.xml] 01/07/2010 10:42:07 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT 01/07/2010 10:42:07 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 01/07/2010 10:42:07 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8443 01/07/2010 10:42:07 org.apache.catalina.startup.Catalina start INFO: Server startup in 8534 ms 01/07/2010 10:42:08 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties INFO: Loading properties file from URL [bundle://18.0:1/META-INF/spring/database.properties] 01/07/2010 10:42:08 org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor stageOne INFO: No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=com.geoloc, config=osgibundle:/META-INF/spring/*.xml) 01/07/2010 10:42:08 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c6c084: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.springframework.context.config.internalBeanConfigurerAspect,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,dataSource,transactionManager,org.springframework.transaction.config.internalTransactionAspect,entityManagerFactory]; root of factory hierarchy 01/07/2010 10:42:08 org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean createNativeEntityManagerFactory INFO: Building JPA container EntityManagerFactory for persistence unit 'persistenceUnit' 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate Annotations 3.4.0.GA 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate 3.3.2.GA 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: hibernate.properties not found 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Bytecode provider name : javassist 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: using JDK 1.4 java.sql.Timestamp handling 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate EntityManager 3.4.0.GA 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Processing PersistenceUnitInfo [ name: persistenceUnit ...] 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter warn WARNING: Unable to find file (ignored): bundle://18.0:1/ java.lang.NullPointerException: in is null at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:64) at java.util.jar.JarInputStream.<init>(JarInputStream.java:57) at java.util.jar.JarInputStream.<init>(JarInputStream.java:43) at org.hibernate.ejb.packaging.InputStreamZippedJarVisitor.doProcessElements(InputStreamZippedJarVisitor.java:37) at org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:139) at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:287) at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:614) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:360) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:62) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:327) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:87) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:292) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138) at java.lang.Thread.run(Thread.java:619) 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate Validator not found: ignoring 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Using provided datasource 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: RDBMS: HSQL Database Engine, version: 1.8.0 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Using dialect: org.hibernate.dialect.HSQLDialect 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Automatic flush during beforeCompletion(): disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Automatic session close at end of transaction: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC batch size: 15 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC batch updates for versioned data: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Scrollable result sets: enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC3 getGeneratedKeys(): disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Connection release mode: auto 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Default batch fetch size: 1 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Generate SQL with comments: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Order SQL updates by primary key: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Order SQL inserts for batching: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Using ASTQueryTranslatorFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Query language substitutions: {} 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JPA-QL strict compliance: enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Second-level cache: enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Query cache: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Optimize cache for minimal puts: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Structured second-level cache entries: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Statistics: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Deleted entity synthetic identifier rollback: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Default entity-mode: pojo 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Named query checking : enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: building session factory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Not binding factory to JNDI, no JNDI name configured 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Running hbm2ddl schema export 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: exporting generated schema to database 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: schema export complete 01/07/2010 10:42:09 org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext publishContextAsOsgiServiceIfNecessary INFO: Publishing application context as OSGi service with properties {org.springframework.context.service.name=com.geoloc, Bundle-SymbolicName=com.geoloc, Bundle-Version=0.1.0} 01/07/2010 10:42:09 org.springframework.osgi.extender.internal.support.DefaultOsgiBundleApplicationContextListener onOsgiApplicationEvent INFO: Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=com.geoloc, config=osgibundle:/META-INF/spring/*.xml)) Sorry for the big log.

    Spring JIRA | 7 years ago | Ed Pichler
    java.lang.NullPointerException: in is null
  3. 0

    SpringDm are not injecting the dependencyes correctly. Some error occour as follows: ... INFO: Installing bundle [jndi:/localhost/FelixPichlerWar/WEB-INF/bundles/org.apache.felix.fileinstall-3.0.0.jar] [INFO] Started bridged http service 01/07/2010 10:42:02 org.apache.catalina.core.ApplicationContext log SEVERE: OSGi framework started 01/07/2010 10:42:02 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive insight.war 01/07/2010 10:42:02 com.springsource.insight.collection.tcserver.ltw.TomcatAspectJWeavingClassLoader start INFO: Context [/insight] will not be woven 01/07/2010 10:42:02 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext 2010-07-01 10:42:04,681 WARN [org.springframework.jmx.support.JmxUtils][main] - Found more than one MBeanServer instance. Returning first from list. 01/07/2010 10:42:04 org.apache.catalina.core.ApplicationContext log INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok) 01/07/2010 10:42:04 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet' comecou 01/07/2010 10:42:06 org.springframework.osgi.extender.internal.boot.ChainActivator <init> INFO: Blueprint API detected; enabling Blueprint Container functionality 01/07/2010 10:42:06 org.springframework.osgi.extender.internal.activator.ContextLoaderListener start INFO: Starting [org.springframework.osgi.extender] bundle v.[2.0.0.M1] 01/07/2010 10:42:06 org.springframework.osgi.extender.internal.support.ExtenderConfiguration <init> INFO: No custom extender configuration detected; using defaults... 01/07/2010 10:42:06 org.springframework.scheduling.timer.TimerTaskExecutor afterPropertiesSet INFO: Initializing Timer 01/07/2010 10:42:06 org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator createApplicationContext INFO: Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Geolocation Component (com.geoloc)] 01/07/2010 10:42:07 org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing OsgiBundleXmlApplicationContext(bundle=com.geoloc, config=osgibundle:/META-INF/spring/*.xml): startup date [Thu Jul 01 10:42:07 BRT 2010]; root of context hierarchy 01/07/2010 10:42:07 org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext unpublishContextAsOsgiService INFO: Application Context service already unpublished 01/07/2010 10:42:07 org.springframework.osgi.extender.internal.activator.ContextLoaderListener start INFO: Starting [org.springframework.osgi.extender] bundle v.[2.0.0.M1] 01/07/2010 10:42:07 org.springframework.osgi.extender.internal.support.ExtenderConfiguration <init> INFO: No custom extender configuration detected; using defaults... 01/07/2010 10:42:07 org.springframework.scheduling.timer.TimerTaskExecutor afterPropertiesSet INFO: Initializing Timer 01/07/2010 10:42:07 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from URL [bundle://18.0:0/META-INF/spring/applicationContext.xml] 01/07/2010 10:42:07 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT 01/07/2010 10:42:07 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 01/07/2010 10:42:07 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8443 01/07/2010 10:42:07 org.apache.catalina.startup.Catalina start INFO: Server startup in 8534 ms 01/07/2010 10:42:08 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties INFO: Loading properties file from URL [bundle://18.0:1/META-INF/spring/database.properties] 01/07/2010 10:42:08 org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor stageOne INFO: No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=com.geoloc, config=osgibundle:/META-INF/spring/*.xml) 01/07/2010 10:42:08 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c6c084: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.springframework.context.config.internalBeanConfigurerAspect,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,dataSource,transactionManager,org.springframework.transaction.config.internalTransactionAspect,entityManagerFactory]; root of factory hierarchy 01/07/2010 10:42:08 org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean createNativeEntityManagerFactory INFO: Building JPA container EntityManagerFactory for persistence unit 'persistenceUnit' 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate Annotations 3.4.0.GA 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate 3.3.2.GA 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: hibernate.properties not found 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Bytecode provider name : javassist 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: using JDK 1.4 java.sql.Timestamp handling 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate EntityManager 3.4.0.GA 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Processing PersistenceUnitInfo [ name: persistenceUnit ...] 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter warn WARNING: Unable to find file (ignored): bundle://18.0:1/ java.lang.NullPointerException: in is null at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:64) at java.util.jar.JarInputStream.<init>(JarInputStream.java:57) at java.util.jar.JarInputStream.<init>(JarInputStream.java:43) at org.hibernate.ejb.packaging.InputStreamZippedJarVisitor.doProcessElements(InputStreamZippedJarVisitor.java:37) at org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:139) at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:287) at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:614) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:360) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:62) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:327) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:87) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:292) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138) at java.lang.Thread.run(Thread.java:619) 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate Validator not found: ignoring 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 01/07/2010 10:42:08 org.slf4j.impl.JCLLoggerAdapter info INFO: Using provided datasource 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: RDBMS: HSQL Database Engine, version: 1.8.0 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Using dialect: org.hibernate.dialect.HSQLDialect 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Automatic flush during beforeCompletion(): disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Automatic session close at end of transaction: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC batch size: 15 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC batch updates for versioned data: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Scrollable result sets: enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JDBC3 getGeneratedKeys(): disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Connection release mode: auto 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Default batch fetch size: 1 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Generate SQL with comments: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Order SQL updates by primary key: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Order SQL inserts for batching: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Using ASTQueryTranslatorFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Query language substitutions: {} 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: JPA-QL strict compliance: enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Second-level cache: enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Query cache: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Optimize cache for minimal puts: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Structured second-level cache entries: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Statistics: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Deleted entity synthetic identifier rollback: disabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Default entity-mode: pojo 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Named query checking : enabled 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: building session factory 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Not binding factory to JNDI, no JNDI name configured 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: Running hbm2ddl schema export 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: exporting generated schema to database 01/07/2010 10:42:09 org.slf4j.impl.JCLLoggerAdapter info INFO: schema export complete 01/07/2010 10:42:09 org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext publishContextAsOsgiServiceIfNecessary INFO: Publishing application context as OSGi service with properties {org.springframework.context.service.name=com.geoloc, Bundle-SymbolicName=com.geoloc, Bundle-Version=0.1.0} 01/07/2010 10:42:09 org.springframework.osgi.extender.internal.support.DefaultOsgiBundleApplicationContextListener onOsgiApplicationEvent INFO: Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=com.geoloc, config=osgibundle:/META-INF/spring/*.xml)) Sorry for the big log.

    Spring JIRA | 7 years ago | Ed Pichler
    java.lang.NullPointerException: in is null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Weblogic EM is not working

    Oracle Community | 2 years ago | susereng
    java.lang.NullPointerException: in is null

    1 unregistered visitors
    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.NullPointerException

      in is null

      at java.util.zip.ZipInputStream.<init>()
    2. Java RT
      JarInputStream.<init>
      1. java.util.zip.ZipInputStream.<init>(ZipInputStream.java:64)
      2. java.util.jar.JarInputStream.<init>(JarInputStream.java:57)
      3. java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
      3 frames
    3. Hibernate EJB
      Ejb3Configuration.configure
      1. org.hibernate.ejb.packaging.InputStreamZippedJarVisitor.doProcessElements(InputStreamZippedJarVisitor.java:57)
      2. org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:146)
      3. org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:192)
      4. org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:490)
      5. org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:832)
      6. org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:586)
      6 frames