[ https://issues.apache.org/jira/browse/NETBEANS-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Bläsing resolved NETBEANS-1775. ---------------------------------------- Resolution: Fixed Assignee: lbruun (was: Matthias Bläsing) Fix was merged to master > NPE upon startup on Windows with VPN connection > ----------------------------------------------- > > Key: NETBEANS-1775 > URL: https://issues.apache.org/jira/browse/NETBEANS-1775 > Project: NetBeans > Issue Type: Bug > Components: core > Affects Versions: 9.0, 10.0, 11.0 > Environment: Windows + VPN > Reporter: Travis > Assignee: lbruun > Priority: Minor > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > Immediately upon starting Apache Netbeans 10 on Windows, I get the following > NullPointerException only when I am connected to the internet using VPN. > This seems benign, because I can continue using Netbeans with no problems, > but the red notification upon every startup is distracting. > > java.lang.NullPointerException > at > org.netbeans.core.network.utils.LocalAddressUtils.isSoftwareVirtualAdapter(LocalAddressUtils.java:524) > at > org.netbeans.core.network.utils.LocalAddressUtils.getLocalNetworkInterfaceAddr(LocalAddressUtils.java:463) > at > org.netbeans.core.network.utils.LocalAddressUtils.access$000(LocalAddressUtils.java:79) > at > org.netbeans.core.network.utils.LocalAddressUtils$3.call(LocalAddressUtils.java:123) > at > org.netbeans.core.network.utils.LocalAddressUtils$3.call(LocalAddressUtils.java:120) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Caused: java.lang.RuntimeException > at > org.netbeans.core.network.utils.LocalAddressUtils.getPrioritizedLocalHostAddresses(LocalAddressUtils.java:281) > at > org.netbeans.core.network.utils.LocalAddressUtils.getMostLikelyLocalInetAddresses(LocalAddressUtils.java:338) > at > org.netbeans.core.network.utils.LocalAddressUtils.getMostLikelyLocalInetAddress(LocalAddressUtils.java:391) > at > org.netbeans.core.network.proxy.pac.impl.NbPacHelperMethods.myIpAddress(NbPacHelperMethods.java:126) > at > jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$5$538$\^eval\_.myIpAddress(<eval>:26) > at > jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$4$\^eval\_.FindProxyForURL(<eval>:2) > at > jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:659) > at > jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) > at > jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527) > at > jdk.scripting.nashorn/jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:202) > at > jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:393) > at > jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:197) > at > org.netbeans.core.network.proxy.pac.impl.NbPacScriptEvaluator$PacScriptEngine.findProxyForURL(NbPacScriptEvaluator.java:527) > [catch] at > org.netbeans.core.network.proxy.pac.impl.NbPacScriptEvaluator.findProxyForURL(NbPacScriptEvaluator.java:227) > at > org.netbeans.core.network.proxy.ProxyAutoConfig.findProxyForURL(ProxyAutoConfig.java:140) > at > org.netbeans.core.network.proxy.NetworkProxyReloader.reloadNetworkProxy(NetworkProxyReloader.java:90) > at > org.netbeans.core.network.proxy.NbProxySelector.<init>(NbProxySelector.java:59) > at > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) > at java.base/java.lang.Class.newInstance(Class.java:584) > at > org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(SharedClassObjectBridge.java:41) > at > org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(MetaInfServicesLookup.java:489) > at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:397) > at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:197) > at > org.netbeans.core.CoreBridgeImpl.doRegisterPropertyEditors(CoreBridgeImpl.java:185) > at > org.netbeans.core.CoreBridgeImpl.registerPropertyEditors(CoreBridgeImpl.java:148) > at org.netbeans.core.startup.Main.start(Main.java:285) > at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) > at java.base/java.lang.Thread.run(Thread.java:834) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists