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 Oracle Community by Gabbriel, 1 year ago
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
via Oracle Community by Danny, 1 year ago
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
via Oracle Community by Bukhbayar, 1 year ago
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
via Oracle Community by Danny, 1 year ago
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
via Oracle Community by Abinash2707, 1 year ago
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
via Oracle Community by GRQ, 1 year ago
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: oracle.sysman.emSDK.app.exception.EMSystemException
java.lang.NullPointerException: 	at oracle.sysman.emas.model.security.DialogAdminBean$1.compare(DialogAdminBean.java:567)	at java.util.Arrays.mergeSort(Arrays.java:2874)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.mergeSort(Arrays.java:2886)	at java.util.Arrays.sort(Arrays.java:3251)	at java.util.Arrays.sort(Arrays.java:3269)	at java.util.Collections.sort(Collections.java:1966)	at oracle.sysman.emas.model.security.DialogAdminBean.fetchPrincipals(DialogAdminBean.java:563)	at oracle.sysman.emas.pagemodel.security.identity.EditAppRolePageModel.searchPrincipal(EditAppRolePageModel.java:496)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)	at java.lang.reflect.Method.invoke(Method.java:611)	at com.sun.el.parser.AstValue.invoke(Unknown Source)	at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)	at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)	at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)	at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)	at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)	at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)	at java.security.AccessController.doPrivileged(AccessController.java:310)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)