java.lang.RuntimeException: SunAS7 login Exception


Solutions on the web

Solution icon of oraclecommunity
via Oracle Community by 807581, 1 year ago
SunAS7 login Exception

Stack trace

java.lang.RuntimeException: SunAS7 login Exception
	at esteem.ut.db.login.sunas7.LoginManager.login(LoginManager.java:88)
	at esteem.ut.db.login.sunas7.LoginManager.login(LoginManager.java:48)
	at esteem.ut.db.session.Environment.<init>(Environment.java:135)
	at esteem.ut.db.session.Environment.<init>(Environment.java:206)
	at esteem.ut.dbtest.client.Main.main(Main.java:55)
	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:324)
	at com.sun.javaws.Launcher.executeApplication(Launcher.java:837)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:797)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:675)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:390)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
	at com.sun.javaws.Launcher.run(Launcher.java:167)
	at java.lang.Thread.run(Thread.java:534)
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.NullPointerException]
	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
	at javax.naming.InitialContext.init(InitialContext.java:219)
	at javax.naming.InitialContext.<init>(InitialContext.java:195)
	at esteem.ut.db.login.sunas7.LoginManager.login(LoginManager.java:84)
	... 15 more
Caused by: java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:393)
	at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:32)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:308)
	at java.lang.Class.newInstance(Class.java:261)
	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
	... 19 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 21 hours ago
4 times, 1 week ago
2 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Once, 11 months ago
21 more bugmates