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

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    CRS problems with SwtMapPane

    Geographic Information Systems | 2 years ago | Tom
    java.lang.IllegalArgumentException: Argument "sourceCRS" should not be null.
  2. 0

    Problem with targetCRS

    Google Groups | 8 years ago | Micho Garcia
    org.vfny.geoserver.wms.WmsException

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument "sourceCRS" should not be null.

      at org.geotools.referencing.operation.AbstractCoordinateOperationFactory.ensureNonNull()
    2. org.geotools.referencing
      CRS.findMathTransform
      1. org.geotools.referencing.operation.AbstractCoordinateOperationFactory.ensureNonNull(AbstractCoordinateOperationFactory.java:734)
      2. org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(BufferedCoordinateOperationFactory.java:249)
      3. org.geotools.referencing.CRS.findMathTransform(CRS.java:1205)
      4. org.geotools.referencing.CRS.findMathTransform(CRS.java:1173)
      4 frames
    3. org.geotools.swt
      SwtMapPane.layerAdded
      1. org.geotools.swt.SwtMapPane.setCrs(SwtMapPane.java:436)
      2. org.geotools.swt.SwtMapPane.layerAdded(SwtMapPane.java:812)
      2 frames
    4. org.geotools.map
      MapContent.addLayer
      1. org.geotools.map.MapContent.fireLayerAdded(MapContent.java:468)
      2. org.geotools.map.MapContent$LayerList.addIfAbsent(MapContent.java:1063)
      3. org.geotools.map.MapContent.addLayer(MapContent.java:369)
      3 frames
    5. org.geotools.JSurveyMvn
      App$1.widgetSelected
      1. org.geotools.JSurveyMvn.App.fileOpen(App.java:87)
      2. org.geotools.JSurveyMvn.App$1.widgetSelected(App.java:113)
      2 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      5 frames
    7. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      2. org.eclipse.jface.window.Window.open(Window.java:801)
      2 frames
    8. org.geotools.JSurveyMvn
      App.main
      1. org.geotools.JSurveyMvn.App.<init>(App.java:47)
      2. org.geotools.JSurveyMvn.App.main(App.java:58)
      2 frames