Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1708

RS if cell content of exported table is longer than 32767 characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3.7
    • Component/s: None
    • Labels:
      None

      Description

      2015-09-25 12:15:37,014 [ajp-nio2-8021-exec-56] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E17 ^%^ org.olat.core.logging 
      Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 ^%^ **RedScreen** The maximum length of cell contents (text) is 32,767 characters
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>downloadLink</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>cmd.download</command>
      			<tostring>com:cmd.download,org.olat.core.gui.control.Event@c529fadb</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.components.table.TableController</controllername>
      		<controllername>org.olat.course.member.MemberListWithOriginFilterController</controllername>
      		<controllername>org.olat.course.member.MembersOverviewController</controllername>
      		<controllername>org.olat.course.member.MembersManagementMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: The maximum length of cell contents (text) is 32,767 characters
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:536)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:234)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      >>> stack of 2.cause::java.lang.IllegalArgumentException: The maximum length of cell contents (text) is 32,767 characters
      -> at org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(HSSFCell.java:555)
         at org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(HSSFCell.java:529)
         at org.olat.core.gui.components.table.DefaultXlsTableExporter.createData(DefaultXlsTableExporter.java:119)
         at org.olat.core.gui.components.table.DefaultXlsTableExporter.export(DefaultXlsTableExporter.java:78)
         at org.olat.core.gui.components.table.TableController.event(TableController.java:333)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:199)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:186)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Dirk Furrer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m