[
https://issues.apache.org/jira/browse/KNOX-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandor Molnar resolved KNOX-3043.
---------------------------------
Fix Version/s: 2.1.0
Resolution: Fixed
> NullpointerException in calling loadBuildProperties
> ---------------------------------------------------
>
> Key: KNOX-3043
> URL: https://issues.apache.org/jira/browse/KNOX-3043
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 2.0.0, 1.6.1
> Reporter: Senthil Kumar
> Priority: Major
> Fix For: 2.1.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Getting NullPointerException while calling loadBuildProperties in both
> GatewayServer and KnoxCLI
> SEVERE: Failed to start gateway: java.lang.NullPointerException
> java.lang.NullPointerException
> at java.util.Properties$LineReader.readLine(Properties.java:434)
> at java.util.Properties.load0(Properties.java:353)
> at java.util.Properties.load(Properties.java:341)
> at
> org.apache.knox.gateway.GatewayServer.loadBuildProperties(GatewayServer.java:306)
> at org.apache.knox.gateway.GatewayServer.main(GatewayServer.java:160)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.apache.knox.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:68)
> at org.apache.knox.gateway.launcher.Invoker.invoke(Invoker.java:39)
> at org.apache.knox.gateway.launcher.Command.run(Command.java:99)
> at org.apache.knox.gateway.launcher.Launcher.run(Launcher.java:75)
> at org.apache.knox.gateway.launcher.Launcher.main(Launcher.java:52)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)