java.lang.ExceptionInInitializerError: java.lang.NullPointerException at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code)) at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code))

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Niraj, 1 year ago
java.lang.NullPointerException at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code)) at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code))
via Hibernate JIRA by Niraj, 1 year ago
java.lang.NullPointerException at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code)) at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code))
java.lang.ExceptionInInitializerError: java.lang.NullPointerException at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code)) at java.io.Win32FileSystem.normalize(Win32FileSystem.java(Compiled Code))
at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java:283)
at java.io.Win32FileSystem.resolve(Win32FileSystem.java:299)
at java.io.File.getCanonicalPath(File.java:454)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1744)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1685)
at java.lang.Runtime.loadLibrary0(Runtime.java:780)
at java.lang.System.loadLibrary(System.java:865)
at COM.ibm.db2.jdbc.app.DB2Driver.(DB2Driver.java:227)
at COM.ibm.db2.jdbc.app.DB2Driver.(DB2Driver.java:130)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:142)
at net.sf.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:53)
at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:64)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1091)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:737)
at com.i21.autopay.framework.persist.HibernateManager.init(HibernateManager.java:39)
at test.workarea.TestHibernate.testHibernate(TestHibernate.java:42)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.