java.lang.RuntimeException: SunAS7 login Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • EJB Error
    via by 843830,
  • J2EE reference implemetation server problem
    via by Attila Barbocz,
  • problems getting the demo running
    via by Jake Fear,
  • When publishing a fragment through CFragmentManager in uPortal 2.4 you can create a fragment and not enter a name or description and then return to the fragment manager the following NPE will happen. The code aparently writes a record with nulls for FRAGMENT_NAME and FRAGMENT_DESCRIPTION in UP_OWNER_FRAGMENT. Once this happens the fragment manager will always NPE until you remove this record from the database. Here are the steps to reproduce: 1. go to the fragment manager 2. click on create new fragment 3. click on submit properties 4. click on publish fragment java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at org.jasig.portal.layout.AggregatedUserLayoutStore.getFragments(AggregatedUserLayoutStore.java:1505) at org.jasig.portal.layout.AggregatedLayoutManager.getFragments(AggregatedLayoutManager.java:1154) at org.jasig.portal.layout.channels.CFragmentManager.getFragments(CFragmentManager.java:268) at org.jasig.portal.layout.channels.FragmentManager.refreshFragmentMap(FragmentManager.java:159) at org.jasig.portal.layout.channels.CFragmentManager.setPortalControlStructures(CFragmentManager.java:258) at org.jasig.portal.ChannelManager.processRequestChannelParameters(ChannelManager.java:853) at org.jasig.portal.ChannelManager.startRenderingCycle(ChannelManager.java:973) at org.jasig.portal.UserInstance.renderState(UserInstance.java:297) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:205) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:271
    via by Brad Johnson,
  • Agent is down
    via by 575300,
  • odisrvreg fails when sslauth = 2
    via by Pete_Jibe,
    • 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

    Users with the same issue

    poroszd
    poroszd2 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    davidvanlaatum1 times, last one,
    Unknown visitor1 times, last one,
    Justin
    Justin2 times, last one,
    19 more bugmates