Skip to Content
avatar image
Former Member

Incorrect HTML parsing - using crjava-runtime_12.2.221

Hi

I'm getting this error when exporting to PDF:

(I thought that this was fixed in 213: https://archive.sap.com/discussions/thread/1908529)

java.lang.IllegalArgumentException: Colour: null
at com.crystaldecisions.reports.reportdefinition.FontColourProperties.setColour(SourceFile:362)
at com.crystaldecisions.reports.reportdefinition.f.a(SourceFile:1006)
at com.crystaldecisions.reports.reportdefinition.f.a(SourceFile:1034)
at com.crystaldecisions.reports.reportdefinition.f.if(SourceFile:57)
at com.crystaldecisions.reports.reportdefinition.f$b.a(SourceFile:1221)
at com.crystaldecisions.reports.reportdefinition.f$b.handleStartTag(SourceFile:1301)
at javax.swing.text.html.parser.DocumentParser.handleStartTag(DocumentParser.java:160)
at javax.swing.text.html.parser.Parser.startTag(Parser.java:437)
at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1956)
at javax.swing.text.html.parser.Parser.parseContent(Parser.java:2082)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2256)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:122)
at com.crystaldecisions.reports.common.CrystalHTMLParserDelegator.parse(SourceFile:332)
at com.crystaldecisions.reports.reportdefinition.f.new(SourceFile:167)
at com.crystaldecisions.reports.reportdefinition.TextDefinition.a(SourceFile:101)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedStringFieldObject.do(SourceFile:138)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.AbstractFormattedTextualObject.a(SourceFile:282)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.w.for(SourceFile:126)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:428)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.d.for(SourceFile:355)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:338)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:737)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:399)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:677)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:97)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:253)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:646)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:597)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:641)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:677)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1943)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.sdk.occa.report.application.dt.a(SourceFile:186)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:224)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:148)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:129)
at generateReportPackage.GenerateReportImpl.main(GenerateReportImpl.java:230)
java.lang.IllegalArgumentException: Colour: null
at com.crystaldecisions.reports.reportdefinition.FontColourProperties.setColour(SourceFile:362)
at com.crystaldecisions.reports.reportdefinition.f.a(SourceFile:1006)
at com.crystaldecisions.reports.reportdefinition.f.a(SourceFile:1034)
at com.crystaldecisions.reports.reportdefinition.f.if(SourceFile:57)
at com.crystaldecisions.reports.reportdefinition.f$b.a(SourceFile:1221)
at com.crystaldecisions.reports.reportdefinition.f$b.handleStartTag(SourceFile:1301)
at javax.swing.text.html.parser.DocumentParser.handleStartTag(DocumentParser.java:160)
at javax.swing.text.html.parser.Parser.startTag(Parser.java:437)
at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1956)
at javax.swing.text.html.parser.Parser.parseContent(Parser.java:2082)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2256)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:122)
at com.crystaldecisions.reports.common.CrystalHTMLParserDelegator.parse(SourceFile:332)
at com.crystaldecisions.reports.reportdefinition.f.new(SourceFile:167)
at com.crystaldecisions.reports.reportdefinition.TextDefinition.a(SourceFile:101)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedStringFieldObject.do(SourceFile:138)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.AbstractFormattedTextualObject.a(SourceFile:282)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.w.for(SourceFile:126)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:428)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.d.for(SourceFile:355)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:338)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:737)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:97)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:253)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:646)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:597)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:641)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:677)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1943)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.sdk.occa.report.application.dt.a(SourceFile:186)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:224)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:148)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:129)
at generateReportPackage.GenerateReportImpl.main(GenerateReportImpl.java:230)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 11, 2017 at 08:25 AM

    Adding how the html looks:

    <html><h3><span style='color:ddc.html.data.TrimmedMessage'></span></h3></html>

    This comes directly from the database so I can't actually make any changes to this text.

    Thank you in advance for your help :)

    Add comment
    10|10000 characters needed characters exceeded