Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rendering target geometries cause errors when using default stlying #732

Closed
JohannaOtt opened this issue Feb 15, 2019 · 2 comments
Closed
Labels
Milestone

Comments

@JohannaOtt
Copy link
Contributor

hale-studio-4.0.0.SNAPSHOT-Build 457

Only some of the target geometries in the example project attached to this ticket get displayed on specific zoom levels in the Map View and the loading ("clock") sign won't disappear.
Geologie_GK_25 (Geologische Karte 1 25000).zip

While loading the map, errors occur in the error log - example stack trace:
java.lang.NullPointerException at eu.esdihumboldt.hale.ui.views.styledmap.painter.StyledInstanceMarker.initStyle(StyledInstanceMarker.java:121) at eu.esdihumboldt.hale.ui.views.styledmap.painter.StyledInstanceMarker.applyFill(StyledInstanceMarker.java:383) at eu.esdihumboldt.hale.ui.views.styledmap.painter.StyledInstanceMarker.applyFill(StyledInstanceMarker.java:1) at eu.esdihumboldt.hale.ui.views.styledmap.painter.InstanceMarker.paintPolygon(InstanceMarker.java:415) at eu.esdihumboldt.hale.ui.views.styledmap.painter.InstanceMarker.paintGeometry(InstanceMarker.java:289) at eu.esdihumboldt.hale.ui.views.styledmap.painter.InstanceMarker.paintGeometry(InstanceMarker.java:195) at eu.esdihumboldt.hale.ui.views.styledmap.painter.InstanceMarker.doPaintMarker(InstanceMarker.java:146) at eu.esdihumboldt.hale.ui.views.styledmap.painter.InstanceMarker.doPaintMarker(InstanceMarker.java:1) at de.fhg.igd.mapviewer.marker.BoundingBoxMarker.paintMarker(BoundingBoxMarker.java:74) at de.fhg.igd.mapviewer.marker.BoundingBoxMarker.paintMarker(BoundingBoxMarker.java:1) at de.fhg.igd.mapviewer.marker.AbstractMarker.paint(AbstractMarker.java:45) at de.fhg.igd.mapviewer.waypoints.MarkerWaypointRenderer.paintWaypoint(MarkerWaypointRenderer.java:42) at de.fhg.igd.mapviewer.waypoints.MarkerWaypointRenderer.paintWaypoint(MarkerWaypointRenderer.java:1) at de.fhg.igd.mapviewer.waypoints.CustomWaypointPainter.processWaypoint(CustomWaypointPainter.java:297) at de.fhg.igd.mapviewer.waypoints.CustomWaypointPainter.repaintTile(CustomWaypointPainter.java:231) at de.fhg.igd.mapviewer.AbstractTileOverlayPainter$TilePaintDelegate.paintTile(AbstractTileOverlayPainter.java:98) at de.fhg.igd.mapviewer.AbstractTileOverlayPainter$1.run(AbstractTileOverlayPainter.java:637) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

This only happens when using the default styling. As soon as the styling is set to a specific color, they display quick and fine.

It might be important to take into account that the geometry mapping is realised on a higher level (attribut "shape" above AbstractGeometry) - that is the only thing coming to my mind that is a bit extraordinary with this alignment.

@florianesser florianesser added this to the 3.5.1 milestone Feb 15, 2019
@florianesser florianesser removed this from the 3.5.1 milestone Apr 15, 2020
Kate-Lyndegaard pushed a commit to Kate-Lyndegaard/hale that referenced this issue May 7, 2020
Kate-Lyndegaard pushed a commit to Kate-Lyndegaard/hale that referenced this issue May 7, 2020
@florianesser florianesser added this to the 4.0.0 milestone May 7, 2020
florianesser pushed a commit that referenced this issue May 7, 2020
#732

Co-authored-by: Kate Lyndegaard <kate.lyndegaard@wetransform.to>
@florianesser
Copy link
Member

Build with fix

@florianesser
Copy link
Member

Looks good now with the example project provided, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants