Jaspersoft Studio: no markup processor factory specified

5

Hi,

I am designing a report using Jaspersoft Studio, and it all works fine until I use "Arange in Container" > "Horizontal Layout" from the context menu in a container. After I do this, report generation (in all formats I have checked: PDF, Java, HTML) starts to throw an error:

no markup processor factory specified for '' markup

with details as follows

net.sf.jasperreports.engine.JRRuntimeException: No markup processor factory specifyed for '' markup.
    at net.sf.jasperreports.engine.fill.JRFillTextElement.getMarkupProcessor(JRFillTextElement.java:1034)
    at net.sf.jasperreports.engine.fill.JRFillTextElement.processMarkupText(JRFillTextElement.java:1018)
    at net.sf.jasperreports.engine.fill.JRFillStaticText.<init>(JRFillStaticText.java:52)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitStaticText(JRFillObjectFactory.java:645)
    at net.sf.jasperreports.engine.base.JRBaseStaticText.visit(JRBaseStaticText.java:95)
    at net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:89)
    at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:83)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:90)
    at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:92)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:505)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:467)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:89)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:104)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:62)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:179)
    at net.sf.jasperreports.engine.fill.BaseFillHandle.<init>(BaseFillHandle.java:75)
    at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:98)
    at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:87)
    at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:189)
    at com.jaspersoft.studio.editor.preview.view.control.ReportControler$4.run(ReportControler.java:330)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

I need the report to work quite urgently, so please, help me!

I am working on Ubuntu 14.04 with the latest version of Jaspersoft Studio.

Thanks!

tadaskrisciunas's picture
Joined: Jul 2 2014 - 2:43am
Last seen: 4 years 7 months ago

So shouldn't this really throw a compiler error?

samloops - 3 years 6 months ago

To tadaskrisciunas: Hi. Thank you very match!  I was helped by your answer.

alexvit71 - 3 months 2 days ago

1 Answer:

24

I have solved my own issue. If you have the same issue, go to the XML view and search for 'markup'. You will find something like this:

<textElement textAlignment="Center" verticalAlignment="Middle" markup="">

Change it to this:

<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">

tadaskrisciunas's picture
Joined: Jul 2 2014 - 2:43am
Last seen: 4 years 7 months ago
Feedback
randomness