Skip to content

fix for NullPointerException on overview map #21

@RinkeHeida

Description

@RinkeHeida

I have a solution for this error when using an overviewMap:
java.lang.NullPointerException: null
at org.mapfish.print.map.MapChunkDrawer.renderImpl(MapChunkDrawer.java:86

I seem not be able to push my commit to this repo, can you add me as contributor?

Or use this fix in the next release:

src\main\java\org\mapfish\print\map\MapChunkDrawer.java

        mainTransformer = context.getLayout().getMainPage().getMap(name).createTransformer(context, params);

->

        mainTransformer = context.getLayout().getMainPage().getMap(null).createTransformer(context, params);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions