created an attachment (id=156352)
report design

description:
exception is thrown out when preview a report containing a table with style of page break in web viewer.

build number:
2.5.2.v20100118-0630

steps to reproduce:
1. preview the attached report design in web viewer.

expected result:
no exception.

actual result:
exception is thrown out.
error log:
org.eclipse.birt.report.service.api.reportserviceexception: error happened while running the report
   at org.eclipse.birt.report.service.reportengineservice.throwdummyexception(reportengineservice.java:1097)
   at org.eclipse.birt.report.service.reportengineservice.runreport(reportengineservice.java:1316)
   at org.eclipse.birt.report.service.birtviewerreportservice.runreport(birtviewerreportservice.java:158)
   at org.eclipse.birt.report.service.actionhandler.birtrunreportactionhandler.__execute(birtrunreportactionhandler.java:81)
   at org.eclipse.birt.report.service.actionhandler.birtgetpageactionhandler.__checkdocumentexists(birtgetpageactionhandler.java:58)
   at org.eclipse.birt.report.service.actionhandler.abstractgetpageactionhandler.prepareparameters(abstractgetpageactionhandler.java:119)
   at org.eclipse.birt.report.service.actionhandler.abstractgetpageactionhandler.__execute(abstractgetpageactionhandler.java:104)
   at org.eclipse.birt.report.service.actionhandler.abstractbaseactionhandler.execute(abstractbaseactionhandler.java:90)
   at org.eclipse.birt.report.soapengine.processor.abstractbasedocumentprocessor.__executeaction(abstractbasedocumentprocessor.java:47)
   at org.eclipse.birt.report.soapengine.processor.abstractbasecomponentprocessor.executeaction(abstractbasecomponentprocessor.java:143)
   at org.eclipse.birt.report.soapengine.processor.birtdocumentprocessor.handlegetpage(birtdocumentprocessor.java:87)
   at sun.reflect.generatedmethodaccessor95.invoke(unknown source)
   at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
   at java.lang.reflect.method.invoke(method.java:585)
   at org.eclipse.birt.report.soapengine.processor.abstractbasecomponentprocessor.process(abstractbasecomponentprocessor.java:112)
   at org.eclipse.birt.report.soapengine.endpoint.birtsoapbindingimpl.getupdatedobjects(birtsoapbindingimpl.java:66)
   at sun.reflect.generatedmethodaccessor92.invoke(unknown source)
   at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
   at java.lang.reflect.method.invoke(method.java:585)
   at org.apache.axis.providers.java.rpcprovider.invokemethod(rpcprovider.java:397)
   at org.apache.axis.providers.java.rpcprovider.processmessage(rpcprovider.java:186)
   at org.apache.axis.providers.java.javaprovider.invoke(javaprovider.java:323)
   at org.apache.axis.strategies.invocationstrategy.visit(invocationstrategy.java:32)
   at org.apache.axis.simplechain.dovisiting(simplechain.java:118)
   at org.apache.axis.simplechain.invoke(simplechain.java:83)
   at org.apache.axis.handlers.soap.soapservice.invoke(soapservice.java:454)
   at org.apache.axis.server.axisserver.invoke(axisserver.java:281)
   at org.apache.axis.transport.http.axisservlet.dopost(axisservlet.java:699)
   at org.eclipse.birt.report.servlet.birtsoapmessagedispatcherservlet.dopost(birtsoapmessagedispatcherservlet.java:265)
   at javax.servlet.http.httpservlet.service(httpservlet.java:727)
   at org.apache.axis.transport.http.axisservletbase.service(axisservletbase.java:327)
   at javax.servlet.http.httpservlet.service(httpservlet.java:820)
   at org.eclipse.birt.report.servlet.birtsoapmessagedispatcherservlet.service(birtsoapmessagedispatcherservlet.java:122)
   at org.eclipse.equinox.http.registry.internal.servletmanager$servletwrapper.service(servletmanager.java:180)
   at org.eclipse.equinox.http.servlet.internal.servletregistration.handlerequest(servletregistration.java:90)
   at org.eclipse.equinox.http.servlet.internal.proxyservlet.processalias(proxyservlet.java:111)
   at org.eclipse.equinox.http.servlet.internal.proxyservlet.service(proxyservlet.java:59)
   at javax.servlet.http.httpservlet.service(httpservlet.java:820)
   at org.eclipse.equinox.http.jetty.internal.httpservermanager$internalhttpserviceservlet.service(httpservermanager.java:318)
   at org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:502)
   at org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:380)
   at org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181)
   at org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:765)
   at org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152)
   at org.mortbay.jetty.server.handle(server.java:324)
   at org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:535)
   at org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:880)
   at org.mortbay.jetty.httpparser.parsenext(httpparser.java:748)
   at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:213)
   at org.mortbay.jetty.httpconnection.handle(httpconnection.java:404)
   at org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:409)
   at org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:520)
caused by: org.eclipse.birt.report.engine.api.engineexception: error happened while running the report
   at org.eclipse.birt.report.engine.api.impl.runtask.dorun(runtask.java:261)
   at org.eclipse.birt.report.engine.api.impl.runtask.run(runtask.java:85)
   at org.eclipse.birt.report.service.reportengineservice.runreport(reportengineservice.java:1307)
... 50 more
caused by: java.lang.arithmeticexception: / by zero
   at org.eclipse.birt.report.engine.nlayout.area.impl.linearea.justify(linearea.java:361)
   at org.eclipse.birt.report.engine.nlayout.area.impl.linearea.align(linearea.java:127)
   at org.eclipse.birt.report.engine.nlayout.area.impl.linearea.close(linearea.java:464)
   at org.eclipse.birt.report.engine.nlayout.area.impl.linearea.endline(linearea.java:418)
   at org.eclipse.birt.report.engine.nlayout.area.impl.textarealayout.newline(textarealayout.java:232)
   at org.eclipse.birt.report.engine.nlayout.area.impl.textarealayout.layoutchildren(textarealayout.java:189)
   at org.eclipse.birt.report.engine.nlayout.area.impl.textarealayout.layout(textarealayout.java:172)
   at org.eclipse.birt.report.engine.nlayout.area.impl.blocktextarea.layout(blocktextarea.java:68)
   at org.eclipse.birt.report.engine.nlayout.layoutengine.startcontent(layoutengine.java:459)
   at org.eclipse.birt.report.engine.emitter.contentemitteradapter.starttext(contentemitteradapter.java:147)
   at org.eclipse.birt.report.engine.emitter.contentemitteradapter.startdata(contentemitteradapter.java:163)
   at org.eclipse.birt.report.engine.emitter.contentemitterutil.startcontent(contentemitterutil.java:71)
   at org.eclipse.birt.report.engine.layout.html.htmltablelayoutemitter.startcontent(htmltablelayoutemitter.java:146)
   at org.eclipse.birt.report.engine.emitter.contentemitteradapter.starttext(contentemitteradapter.java:147)
   at org.eclipse.birt.report.engine.emitter.contentemitteradapter.startdata(contentemitteradapter.java:163)
   at org.eclipse.birt.report.engine.emitter.contentemitterutil.startcontent(contentemitterutil.java:71)
   at org.eclipse.birt.report.engine.layout.html.buffer.htmlpagebuffer.startcontent(htmlpagebuffer.java:116)
   at org.eclipse.birt.report.engine.layout.html.buffer.tablebreakbuffer.startcontent(tablebreakbuffer.java:286)
   at org.eclipse.birt.report.engine.layout.html.htmlleafitemlm.start(htmlleafitemlm.java:67)
   at org.eclipse.birt.report.engine.layout.html.htmlabstractlm.layout(htmlabstractlm.java:139)
   at org.eclipse.birt.report.engine.layout.html.htmlblockstackinglm.layoutnodes(htmlblockstackinglm.java:70)
   at org.eclipse.birt.report.engine.layout.html.htmlstackinglm.layoutchildren(htmlstackinglm.java:26)
   at org.eclipse.birt.report.engine.layout.html.htmlabstractlm.layout(htmlabstractlm.java:140)
   at org.eclipse.birt.report.engine.layout.html.htmlinlinestackinglm.resumelayout(htmlinlinestackinglm.java:111)
   at org.eclipse.birt.report.engine.layout.html.htmlinlinestackinglm.layoutnodes(htmlinlinestackinglm.java:160)
   at org.eclipse.birt.report.engine.layout.html.htmlstackinglm.layoutchildren(htmlstackinglm.java:26)
   at org.eclipse.birt.report.engine.layout.html.htmlabstractlm.layout(htmlabstractlm.java:140)
   at org.eclipse.birt.report.engine.layout.html.htmlblockstackinglm.layoutnodes(htmlblockstackinglm.java:70)
   at org.eclipse.birt.report.engine.layout.html.htmlstackinglm.layoutchildren(htmlstackinglm.java:26)
   at org.eclipse.birt.report.engine.layout.html.htmltablebandlm.layoutchildren(htmltablebandlm.java:67)
   at org.eclipse.birt.report.engine.layout.html.htmlabstractlm.layout(htmlabstractlm.java:140)
   at org.eclipse.birt.report.engine.layout.html.htmlblockstackinglm.layoutnodes(htmlblockstackinglm.java:70)
   at org.eclipse.birt.report.engine.layout.html.htmlstackinglm.layoutchildren(htmlstackinglm.java:26)
   at org.eclipse.birt.report.engine.layout.html.htmltablelm.layoutchildren(htmltablelm.java:132)
   at org.eclipse.birt.report.engine.layout.html.htmlabstractlm.layout(htmlabstractlm.java:140)
   at org.eclipse.birt.report.engine.layout.html.htmlblockstackinglm.layoutnodes(htmlblockstackinglm.java:48)
   at org.eclipse.birt.report.engine.layout.html.htmlpagelm.layout(htmlpagelm.java:90)
   at org.eclipse.birt.report.engine.layout.html.htmlreportlayoutengine.layout(htmlreportlayoutengine.java:99)
   at org.eclipse.birt.report.engine.presentation.reportdocumentbuilder.build(reportdocumentbuilder.java:249)
   at org.eclipse.birt.report.engine.api.impl.runtask.dorun(runtask.java:252)
fixed
verified in build (2.5.2.v20100129-0630), closed.