GeoTools CRS.findTransfrom suddenly failingGetting DataStore Problem with GeotoolsHow to sort a...

Possible issue with my W4 and tax return

Is it possible to rotate the Isolines on a Surface Using `MeshFunction`?

Is it possible to detect 100% of SQLi with a simple regex?

Create linguistic diagram (in TikZ?)

"Starve to death" Vs. "Starve to the point of death"

How to fly a direct entry holding pattern when approaching from an awkward angle?

How do you get out of your own psychology to write characters?

Renting a 2CV in France

How can I handle players killing my NPC outside of combat?

"I showed the monkey himself in the mirror". Why is this sentence grammatical?

If angels and devils are the same species, why would their mortal offspring appear physically different?

What is an efficient way to digitize a family photo collection?

Insecure private-key encryption

Prevent Nautilus / Nemo from creating .Trash-1000 folder in mounted devices

RS485 using USART or UART port on STM32

What is a good reason for every spaceship to carry gun on board?

Is the percentage symbol a constant?

Reading Mishnayos without understanding

What are some ways of extending a description of a scenery?

Where does documentation like business and software requirement spec docs fit in an agile project?

Why did Luke use his left hand to shoot?

Is .NET Framework 3.5 still needed with a SQL Server 2017 installation to utilize Database Mail?

Why do neural networks need so many examples to perform?

Is `Object` a function in javascript?



GeoTools CRS.findTransfrom suddenly failing


Getting DataStore Problem with GeotoolsHow to sort a SimpleFeatureCollection using GeoTools?Displaying coordinate references in GeoTools?Geotools geoTiff running slowChange color of feature by ID (GeoTools)Geotools PointSymbolizer, moves symbol locationModifyFeatures Directly wirte vlaues to File GeotoolsGEOTOOLS - Failing to generate jarReproject features with geotoolsGeoTools performance achivments













0















I have a body of users using an Eclipse RCP-based Java desktop app (32-bit JRE1.7, Windows 7) that uses GeoTools for world/screen projection handling.



This morning the app has started failing for just one user. It worked fine on Friday. Significantly, CRS is not finding the transform, so _degs2Metres takes a null value:



_worldCoords = CRS.decode("EPSG:3395");
final CoordinateReferenceSystem worldDegs = CRS.decode("EPSG:4326");
_degs2metres = CRS.findMathTransform(worldDegs, _worldCoords);


This happens for just one user, on a network of users with (apparently) identical PCs. He tried restarting his PC, but it didn't fix it.



He has prior versions of the app running back to Oct 2018, and all of them now fail in the same way. We also tried opening 10-year old datafiles, and they won't open. This makes it look like the problem is outside this app.



It really looks like something we're unaware of has changed with his PC config. He's not aware of anything changing over the weekend, nor are his IT support staff.



Has anybody encountered a class-path, or some MS Windows config change that has caused the CRS.findMathTransform() method to fail?



I believe GeoTools uses an H2 database to store the EPSG codes, so I guess his PC could have some other H2 database driver that is being used instead of the GeoTools one.



Any other suggestions?









share



























    0















    I have a body of users using an Eclipse RCP-based Java desktop app (32-bit JRE1.7, Windows 7) that uses GeoTools for world/screen projection handling.



    This morning the app has started failing for just one user. It worked fine on Friday. Significantly, CRS is not finding the transform, so _degs2Metres takes a null value:



    _worldCoords = CRS.decode("EPSG:3395");
    final CoordinateReferenceSystem worldDegs = CRS.decode("EPSG:4326");
    _degs2metres = CRS.findMathTransform(worldDegs, _worldCoords);


    This happens for just one user, on a network of users with (apparently) identical PCs. He tried restarting his PC, but it didn't fix it.



    He has prior versions of the app running back to Oct 2018, and all of them now fail in the same way. We also tried opening 10-year old datafiles, and they won't open. This makes it look like the problem is outside this app.



    It really looks like something we're unaware of has changed with his PC config. He's not aware of anything changing over the weekend, nor are his IT support staff.



    Has anybody encountered a class-path, or some MS Windows config change that has caused the CRS.findMathTransform() method to fail?



    I believe GeoTools uses an H2 database to store the EPSG codes, so I guess his PC could have some other H2 database driver that is being used instead of the GeoTools one.



    Any other suggestions?









    share

























      0












      0








      0








      I have a body of users using an Eclipse RCP-based Java desktop app (32-bit JRE1.7, Windows 7) that uses GeoTools for world/screen projection handling.



      This morning the app has started failing for just one user. It worked fine on Friday. Significantly, CRS is not finding the transform, so _degs2Metres takes a null value:



      _worldCoords = CRS.decode("EPSG:3395");
      final CoordinateReferenceSystem worldDegs = CRS.decode("EPSG:4326");
      _degs2metres = CRS.findMathTransform(worldDegs, _worldCoords);


      This happens for just one user, on a network of users with (apparently) identical PCs. He tried restarting his PC, but it didn't fix it.



      He has prior versions of the app running back to Oct 2018, and all of them now fail in the same way. We also tried opening 10-year old datafiles, and they won't open. This makes it look like the problem is outside this app.



      It really looks like something we're unaware of has changed with his PC config. He's not aware of anything changing over the weekend, nor are his IT support staff.



      Has anybody encountered a class-path, or some MS Windows config change that has caused the CRS.findMathTransform() method to fail?



      I believe GeoTools uses an H2 database to store the EPSG codes, so I guess his PC could have some other H2 database driver that is being used instead of the GeoTools one.



      Any other suggestions?









      share














      I have a body of users using an Eclipse RCP-based Java desktop app (32-bit JRE1.7, Windows 7) that uses GeoTools for world/screen projection handling.



      This morning the app has started failing for just one user. It worked fine on Friday. Significantly, CRS is not finding the transform, so _degs2Metres takes a null value:



      _worldCoords = CRS.decode("EPSG:3395");
      final CoordinateReferenceSystem worldDegs = CRS.decode("EPSG:4326");
      _degs2metres = CRS.findMathTransform(worldDegs, _worldCoords);


      This happens for just one user, on a network of users with (apparently) identical PCs. He tried restarting his PC, but it didn't fix it.



      He has prior versions of the app running back to Oct 2018, and all of them now fail in the same way. We also tried opening 10-year old datafiles, and they won't open. This makes it look like the problem is outside this app.



      It really looks like something we're unaware of has changed with his PC config. He's not aware of anything changing over the weekend, nor are his IT support staff.



      Has anybody encountered a class-path, or some MS Windows config change that has caused the CRS.findMathTransform() method to fail?



      I believe GeoTools uses an H2 database to store the EPSG codes, so I guess his PC could have some other H2 database driver that is being used instead of the GeoTools one.



      Any other suggestions?







      java geotools epsg eclipse





      share












      share










      share



      share










      asked 4 mins ago









      ianmayoianmayo

      1267




      1267






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f313446%2fgeotools-crs-findtransfrom-suddenly-failing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f313446%2fgeotools-crs-findtransfrom-suddenly-failing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...