java.lang.IllegalArgumentException: Argument "sourceCRS" should not be null.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • CRS problems with SwtMapPane
    via Geographic Information Systems by Tom
    ,
  • Problem with targetCRS
    via by Micho Garcia,
    • java.lang.IllegalArgumentException: Argument "sourceCRS" should not be null. at org.geotools.referencing.operation.AbstractCoordinateOperationFactory.ensureNonNull(AbstractCoordinateOperationFactory.java:734) at org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(BufferedCoordinateOperationFactory.java:249) at org.geotools.referencing.CRS.findMathTransform(CRS.java:1205) at org.geotools.referencing.CRS.findMathTransform(CRS.java:1173) at org.geotools.swt.SwtMapPane.setCrs(SwtMapPane.java:436) at org.geotools.swt.SwtMapPane.layerAdded(SwtMapPane.java:812) at org.geotools.map.MapContent.fireLayerAdded(MapContent.java:468) at org.geotools.map.MapContent$LayerList.addIfAbsent(MapContent.java:1063) at org.geotools.map.MapContent.addLayer(MapContent.java:369) at org.geotools.JSurveyMvn.App.fileOpen(App.java:87) at org.geotools.JSurveyMvn.App$1.widgetSelected(App.java:113) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.geotools.JSurveyMvn.App.<init>(App.java:47) at org.geotools.JSurveyMvn.App.main(App.java:58)
    No Bugmate found.