[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2017-08-10 Thread Burn Lewis (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16122175#comment-16122175 ] Burn Lewis commented on UIMA-4793: -- Perhaps the getLocalizedMessage method could save the msg when first

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2017-08-09 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16120031#comment-16120031 ] Marshall Schor commented on UIMA-4793: -- Good point. There are 2 factors involved in these messages: *

Re: [jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2017-08-09 Thread Burn Lewis
Can't the InternationalizedException class be made serializable? On Tue, Aug 8, 2017 at 6:24 PM, Jaroslaw Cwiklik wrote: > Marshall, my current fix for the Serialization problem is kinda what you > suggest. Since I can't Serialize this class I stringify it and > create a

Re: [jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2017-08-08 Thread Jaroslaw Cwiklik
Marshall, my current fix for the Serialization problem is kinda what you suggest. Since I can't Serialize this class I stringify it and create a RuntimeException wrapper around it. Perhaps not ideal solution but it is what I came up with for now. There is at least one voice opposing this fix. The

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2017-08-08 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16119085#comment-16119085 ] Richard Eckart de Castilho commented on UIMA-4793: -- > A better design, it seems to me, is

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2017-08-08 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16119056#comment-16119056 ] Marshall Schor commented on UIMA-4793: -- To fix this, we need to understand the desired behavior for

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15429899#comment-15429899 ] Richard Eckart de Castilho commented on UIMA-4793: -- Looks good now. > Unable to localize

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15428335#comment-15428335 ] Marshall Schor commented on UIMA-4793: -- I've committed the perhaps partial fix of capturing the

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15428270#comment-15428270 ] Marshall Schor commented on UIMA-4793: -- there's a problem - the exception gets created, but only later

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15428082#comment-15428082 ] Marshall Schor commented on UIMA-4793: -- I figured out a (good) way to handle this I think. At

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-18 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15427217#comment-15427217 ] Marshall Schor commented on UIMA-4793: -- How about doing that message caching, only if the bundle comes

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-18 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15427200#comment-15427200 ] Richard Eckart de Castilho commented on UIMA-4793: -- Took me a while to remember in which

[jira] [Commented] (UIMA-4793) Unable to localize exceptions when using alternative classloader

2016-08-17 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15425424#comment-15425424 ] Marshall Schor commented on UIMA-4793: -- Richard - can you test the fix I committed for