https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2020-05-19T17:37:10ZSaxonica Developer CommunitySaxon - Bug #4558: NullPointerException reloading reflexive extension function from SEF filehttps://saxonica.plan.io/issues/4558?journal_id=154472020-05-19T17:37:10ZMichael Kaymike@saxonica.com
<ul></ul><p>Problem reproduced. It arises because the call on <code>Q{java:java.text.SimpleDateFormat}format($date)</code> is ambiguous and needs to be resolved using type information, and the type information has not been reconstructed in the rebuilt expression tree.</p> Saxon - Bug #4558: NullPointerException reloading reflexive extension function from SEF filehttps://saxonica.plan.io/issues/4558?journal_id=154482020-05-19T18:01:49ZMichael Kaymike@saxonica.com
<ul></ul><p>The SEF file has the call as</p>
<pre><code><javaCall name='Q{java:java.text.SimpleDateFormat}format' arg0type='1X' arg1type='1X'>
</code></pre>
<p>where 1X denotes simply "external Java Object". The importer is expecting additional information here relating to the Java class.</p>
<p>I have fixed the problem by changing both the export and import logic to enable the types to be reconstructed.</p> Saxon - Bug #4558: NullPointerException reloading reflexive extension function from SEF filehttps://saxonica.plan.io/issues/4558?journal_id=154492020-05-19T18:02:42ZMichael Kaymike@saxonica.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Fix Committed on Branch</strong> <i>10</i> added</li></ul><p>Extended both the import and export logic in AlphaCode.java.</p> Saxon - Bug #4558: NullPointerException reloading reflexive extension function from SEF filehttps://saxonica.plan.io/issues/4558?journal_id=160592020-08-26T08:23:12ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Fixed in Maintenance Release</strong> <i>10.2</i> added</li></ul><p>Bug fix applied in the Saxon 10.2 maintenance release.</p> Saxon - Bug #4558: NullPointerException reloading reflexive extension function from SEF filehttps://saxonica.plan.io/issues/4558?journal_id=160932020-08-26T08:30:04ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>