<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks Martin,<br>
      At now, i'm working on moving to Apache SIS on a separate
      branch...i've still this pending issue of marshalling (cf other
      post). <br>
      <br>
      Ideally, i would have liked to merge this branch, but I could try
      to use Geotk snapshot, also i'm very interested in the process of
      upgrading ISO19115 version. Do you yet know when this upgrade and
      new Geotk milestone are planned?<br>
      <br>
      How is going to be updgraded ISO 19115: is there backward
      compatibility with the first version or not? in other words, if i
      move to 4.0-snapshot (and later, the new milestone), Do i have to
      move to the ISO 19115:2014? My concern on this, is that i use
      geotoolkit to generate metadata that i then publish in a
      Geonetwork instance..., and i don't know if the ISO19115:2014
      might give problems with the metadata publication. What do you
      think?<br>
      <br>
      Emmanuel<br>
      <br>
      Le 22/07/2014 23:31, Martin Desruisseaux a écrit :<br>
    </div>
    <blockquote cite="mid:53CED818.6030306@apache.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello Emmanuel<br>
      <br>
      Thanks for the report. The NullPointerException is (or was) a bug
      - Apache SIS shall not throw that exception for any locale. There
      is some bug fixes in SIS 0.4 [1]. I'm not sure if they solve that
      NullPointerException, but this is possible (I looked at the code
      and saw that version currently on trunk performs more nullity
      checks than the 0.3 version). Unfortunately we didn't deployed a
      Geotk milestone using SIS 0.4. Would it be possible to try Geotk
      snapshot until we deploy a milestone?<br>
      <br>
      Using snapshots would have a significant inconvenient: we are in
      the process of upgrading ISO 19115 from version 2003 to version
      2014. Until this upgrade is completed, the snapshots may be less
      stable than what they were used to be. However I would be happy to
      fix any reported issues.<br>
      <br>
      Could it be doable?<br>
      <br>
          Regards,<br>
      <br>
              Martin<br>
      <br>
      <br>
      [1] <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://sis.apache.org/release-notes/0.4.html">http://sis.apache.org/release-notes/0.4.html</a><br>
      <br>
      <br>
      <br>
      <div class="moz-cite-prefix">Le 22/07/14 12:57, Emmanuel Blondel a
        écrit :<br>
      </div>
      <blockquote cite="mid:53CE43AF.4080601@gmail.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Ok, i've finally found the
          problem....<br>
          The setLocales() method in DefaultMetadata was using
          Locale.ENGLISH.... I've solved using Locale.UK<br>
          Is it a normal behavior that we cannot speficy Locale.ENGLISH
          here??<br>
          <br>
          Emmanuel<br>
          <br>
          <br>
          Le 22/07/2014 11:32, Emmanuel Blondel a écrit :<br>
        </div>
        <blockquote cite="mid:53CE2F9F.70008@gmail.com" type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <font size="-1">Hello,<br>
            <br>
            I'm currently doing an attempt to move from Geotoolkit 3.21
            to 4.0-M1, in order to progressively move to Apache SIS.<br>
            I'm getting the following error with a test to marshall the
            metadata. Any idea?<br>
            <br>
            Thanks in advance<br>
            <br>
            <br>
            javax.xml.bind.MarshalException<br>
             - with linked exception:<br>
            [com.sun.istack.internal.SAXException2<br>
            java.lang.NullPointerException]<br>
                (...snip...)<br>
            Caused by: java.lang.NullPointerException<br>
                at
            org.apache.sis.internal.jaxb.gmd.Country.create(Country.java:97)<br>
                at
org.apache.sis.internal.jaxb.code.PT_Locale$Wrapper.<init>(PT_Locale.java:123)<br>
                at
org.apache.sis.internal.jaxb.code.PT_Locale.<init>(PT_Locale.java:157)<br>
                at
            org.apache.sis.internal.jaxb.code.PT_Locale.marshal(PT_Locale.java:169)<br>
                at
            org.apache.sis.internal.jaxb.code.PT_Locale.marshal(PT_Locale.java:69)<br>
                at
com.sun.xml.internal.bind.v2.runtime.reflect.AdaptedLister$ListIteratorImpl.next(AdaptedLister.java:98)<br>
                ... 36 more</font><br>
        </blockquote>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Geotoolkit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a></pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <span style="font: 80% Arial,sans-serif;"><b>Emmanuel Blondel</b><br>
      </span>
      <span style="font: 80% Arial,sans-serif;">GIS Consultant<br>
      </span>
      <span style="font: 80% Arial,sans-serif;">Engineer in Agronomy
        & Environment<br>
        <br>
      </span>
      <span style="font: 80% Arial,sans-serif;">Geographic Information
        Systems<br>
        in Agronomy - Environment - Fisheries<br>
        Email: <a class="moz-txt-link-abbreviated" href="mailto:emmanuel.blondel1@gmail.com">emmanuel.blondel1@gmail.com</a> - <a class="moz-txt-link-abbreviated" href="mailto:Emmanuel.Blondel@fao.org">Emmanuel.Blondel@fao.org</a><br>
      </span>
      <a href="http://fr.linkedin.com/in/emmanuelblondel1"
        style="text-decoration:none;"><span style="font: 80%
          Arial,sans-serif; color:#0783B6;"><img
            src="cid:part2.07030903.08030407@gmail.com" alt="View my
            LinkedIn profile" style="vertical-align:middle" width="20"
            height="15" border="0">View my LinkedIn profile</span></a></div>
  </body>
</html>