org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException

Sakai JIRA | Tien Luong | 7 years ago
  1. 0

    Steps to reproduce: 1) Login as admin 2) Click "Administration Workspace" tab 3) Click on "Users" link on left hand menu The following error appears in the log: [12/17/09 21:06:09:882 EST] 00000017 ErrorReporter W org.sakaiproject.portal.util.ErrorReporter logAndMail Bug Report bug-id: 4fc7606d-8810-4813-943a-4020d462b567 user: null usage-session: null time: Dec 17, 2009 21:05:59 user comment: null stack trace org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768) caused by: java.lang.NullPointerException at com.ibm.ws.webcontainer.srt.SRTServletResponse.setContentType(SRTServletResponse.java:1335) at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:140) at org.sakaiproject.portal.charon.handlers.StaticHandler.sendContent(StaticHandler.java:294) at org.sakaiproject.portal.charon.handlers.StaticHandler.doStatic(StaticHandler.java:145) at org.sakaiproject.portal.charon.handlers.StaticStylesHandler.doGet(StaticStylesHandler.java:55) at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1583) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1523) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131) at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:616) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:885) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:865) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3799) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:930) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:182) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550) Tool Placement: No Placement Request: : AuthType:null : CharEncoding:UTF-8 : ContentLength:-1 : ContentType:null : ContextPath:/portal : LocalAddress:10.10.2.105 : LocalName:10.10.2.105 : LocalPort:9080 : Method:GET : PathInfo:/styles/portalstyles.css : Protocol:HTTP/1.1 : QueryString:null : RemoteAddress:10.6.20.107 : RemoteHost:10.6.20.107 : RemotePort:3708 : Requested URL:http://10.10.2.105:9080/portal/styles/portalstyles.css : Scheme:http : ServerName:10.10.2.105 : Headers: : Header:Accept:*/* : Header:Referer:http://10.10.2.105:9080/portal : Header:Accept-Language:en-us : Header:UA-CPU:x86 : Header:Accept-Encoding:gzip, deflate : Header:User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) : Header:Host:10.10.2.105:9080 : Header:Connection:Keep-Alive : Header:Cookie:sessionCode=0; JSESSIONID=2057a01a-9a8d-48a8-8879-9e6860795136.localhost : Parameters: : Attributes: : Attribute:sakai.filtered:sakai.filtered : Attribute:com.ibm.websphere.servlet.uri_non_decoded:/portal/styles/portalstyles.css : Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent$MySession@b4acdaed : Attribute:sakai.character.encoding.done:sakai.character.encoding.done Session: : Created:1261101958728 : LastAccess:1261101969841 : MaxInactive:3600 : Attributes: : Attribute:portalskin:defaultskin [12/17/09 21:06:09:899 EST] 00000017 BasicEmailSer W org.sakaiproject.email.impl.BasicEmailService send send: javax.mail.internet.AddressException: Illegal address in string ``'' [12/17/09 21:06:15:317 EST] 00000016 ErrorReporter W org.sakaiproject.portal.util.ErrorReporter logAndMail Bug Report bug-id: bf1f9cf5-7387-4e5f-b6c8-b881d2702a03 user: null usage-session: null time: Dec 17, 2009 21:06:10 user comment: null stack trace org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768) caused by: java.lang.NullPointerException at com.ibm.ws.webcontainer.srt.SRTServletResponse.setContentType(SRTServletResponse.java:1335) at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:140) at org.sakaiproject.portal.charon.handlers.StaticHandler.sendContent(StaticHandler.java:294) at org.sakaiproject.portal.charon.handlers.StaticHandler.doStatic(StaticHandler.java:145) at org.sakaiproject.portal.charon.handlers.StaticScriptsHandler.doGet(StaticScriptsHandler.java:55) at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1583) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1523) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131) at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:616) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:885) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:865) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3799) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:930) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:182) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550) Tool Placement: No Placement Request: : AuthType:null : CharEncoding:UTF-8 : ContentLength:-1 : ContentType:null : ContextPath:/portal : LocalAddress:10.10.2.105 : LocalName:10.10.2.105 : LocalPort:9080 : Method:GET : PathInfo:/scripts/portalscripts.js : Protocol:HTTP/1.1 : QueryString:null : RemoteAddress:10.6.20.107 : RemoteHost:10.6.20.107 : RemotePort:3706 : Requested URL:http://10.10.2.105:9080/portal/scripts/portalscripts.js : Scheme:http : ServerName:10.10.2.105 : Headers: : Header:Accept:*/* : Header:Referer:http://10.10.2.105:9080/portal : Header:Accept-Language:en-us : Header:UA-CPU:x86 : Header:Accept-Encoding:gzip, deflate : Header:User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) : Header:Host:10.10.2.105:9080 : Header:Connection:Keep-Alive : Header:Cookie:sessionCode=0; JSESSIONID=2057a01a-9a8d-48a8-8879-9e6860795136.localhost : Parameters: : Attributes: : Attribute:sakai.filtered:sakai.filtered : Attribute:com.ibm.websphere.servlet.uri_non_decoded:/portal/scripts/portalscripts.js : Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent$MySession@b4acdaed : Attribute:sakai.character.encoding.done:sakai.character.encoding.done Session: : Created:1261101958728 : LastAccess:1261101975302 : MaxInactive:3600 : Attributes: : Attribute:portalskin:defaultskin

    Sakai JIRA | 7 years ago | Tien Luong
    org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException
  2. 0

    [EVALSYS-775] Excel report export cannot handle more than 255 rows - Sakai

    sakaiproject.org | 1 year ago
    org.sakaiproject.portal.api.PortalHandlerException: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request --> Error invoking init method handle on bean rootHandlerBean --> You cannot have more than 255 columns in a given row (IV). Because Excel can't handle it
  3. 0

    [SAK-17623] NoClassDefFoundError : org/bouncycastle/jce/provider/BouncyCastleProviders - Sakai

    sakaiproject.org | 12 months ago
    org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Search Failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [EVALSYS-775] Excel report export cannot handle more than 255 rows - Sakai

    sakaiproject.org | 11 months ago
    org.sakaiproject.portal.api.PortalHandlerException: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request --> Error invoking init method handle on bean rootHandlerBean --> You cannot have more than 255 columns in a given row (IV). Because Excel can't handle it
  6. 0

    Eval has: 42 responses, 467 total report eval items including repeated lecturer items. This error is throw when a user tries to export an eval report in excel: stack trace: org.sakaiproject.portal.api.PortalHandlerException: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request --> Error invoking init method handle on bean rootHandlerBean --> You cannot have more than 255 columns in a given row (IV). Because Excel can't handle it at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768) caused by: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request --> Error invoking init method handle on bean rootHandlerBean --> You cannot have more than 255 columns in a given row (IV). Because Excel can't handle it at org.apache.poi.hssf.usermodel.HSSFCell.checkBounds(HSSFCell.java:908) at org.apache.poi.hssf.usermodel.HSSFCell.<init>(HSSFCell.java:168) at org.apache.poi.hssf.usermodel.HSSFRow.createCell(HSSFRow.java:149) at org.apache.poi.hssf.usermodel.HSSFRow.createCell(HSSFRow.java:133) at org.sakaiproject.evaluation.tool.reporting.XLSReportExporter.buildReport(XLSReportExporter.java:163) at org.sakaiproject.evaluation.tool.reporting.ReportExporterBean.export(ReportExporterBean.java:81) at org.sakaiproject.evaluation.tool.reporting.ReportHandlerHook.handle(ReportHandlerHook.java:57) at org.sakaiproject.evaluation.tool.utils.RootHandlerBeanOverride.handle(RootHandlerBeanOverride.java:28) at sun.reflect.GeneratedMethodAccessor7716.invoke(null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at uk.org.ponder.reflect.JDKReflectiveCache.invokeMethod(JDKReflectiveCache.java:23) at uk.org.ponder.reflect.JDKReflectiveCache.invokeMethod(JDKReflectiveCache.java:17) at uk.org.ponder.reflect.JDKReflectiveCache.invokeMethod(JDKReflectiveCache.java:77) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.createBean(RSACBeanLocatorImpl.java:553) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.access$000(RSACBeanLocatorImpl.java:75) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl$1.run(RSACBeanLocatorImpl.java:449) at org.sakaiproject.genericdao.hibernate.HibernateGenericDao.invokeTransactionalAccess(HibernateGenericDao.java:580) at sun.reflect.GeneratedMethodAccessor7691.invoke(null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy9.invokeTransactionalAccess(null:-1) at org.sakaiproject.evaluation.dao.EvalDaoInvokerImpl.invokeTransactionalAccess(EvalDaoInvokerImpl.java:34) at org.sakaiproject.evaluation.tool.wrapper.ModelAccessWrapperInvoker.invokeRunnable(ModelAccessWrapperInvoker.java:38) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.createBean(RSACBeanLocatorImpl.java:447) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.access$000(RSACBeanLocatorImpl.java:75) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl$1.run(RSACBeanLocatorImpl.java:449) at uk.org.ponder.rsac.RSACErrorBridge.invokeRunnable(RSACErrorBridge.java:38) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.createBean(RSACBeanLocatorImpl.java:447) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.getLocalBean(RSACBeanLocatorImpl.java:348) at uk.org.ponder.rsac.support.RSACBeanLocatorImpl.getBean(RSACBeanLocatorImpl.java:379) at uk.org.ponder.rsac.support.PerRequestInfo$1.locateBean(PerRequestInfo.java:49) at uk.ac.cam.caret.sakai.rsf.servlet.ReasonableSakaiServlet.service(ReasonableSakaiServlet.java:65) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:565) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:475) at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1216) at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:188) at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:93) at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:616) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)

    Sakai JIRA | 7 years ago | Lovemore Nalube
    org.sakaiproject.portal.api.PortalHandlerException: uk.org.ponder.util.UniversalRuntimeException: Error servicing SakaiRSF request --> Error invoking init method handle on bean rootHandlerBean --> You cannot have more than 255 columns in a given row (IV). Because Excel can't handle it

    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. org.sakaiproject.portal.api.PortalHandlerException

      java.lang.NullPointerException

      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet()
    2. sakai-portal-impl
      SkinnableCharonPortal.doGet
      1. org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      1 frame