> Steinar Bang :
> Freeman Fang
> :
>> You need to add some VMOption by yourself, something like
> [snip!]
>> You can take a look at [1] to get more details about how we do it in Karaf.
>> [1]https://github.com/apache/karaf/blob/master/itests/common/src/main/java/org/apache/karaf/ite
> Steinar Bang :
> I've added the VMOptions to the startup but I still get the same stack
> trace, ie. a NullPointerException thrown from here:
> public class FrameworkExtensionInstaller {
> ...
> void addExtensionContent0(Collection revisions, Module
> systemModule) throws Bundle
> Steinar Bang :
> Steinar Bang :
>> I've added the VMOptions to the startup but I still get the same stack
>> trace, ie. a NullPointerException thrown from here:
>> public class FrameworkExtensionInstaller {
>> ...
>> void addExtensionContent0(Collection revisions, Module
>> systemModule
> Steinar Bang :
> And the reason it tries to throw an exception tin the first place, is
> that ADD_FWK_URL_METHOD is because the "addUrl" method is missing from
> the URL class.
>From the google searches I've made addUrl() hasn't appeared on the list
of removed stuff in java >= 9.
--
--
-
> Steinar Bang :
>> And the reason it tries to throw an exception tin the first place, is
>> that ADD_FWK_URL_METHOD is because the "addUrl" method is missing from
>> the URL class.
> From the google searches I've made addUrl() hasn't appeared on the list
> of removed stuff in java >= 9.
And