Skip to content

Crash with manual proxy in IE #5

@dosomder

Description

@dosomder

I have manually configured proxy in IE. When I open flashtool, it crashes immediately with this error message:

java.lang.NullPointerException
    at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.createPacSelector(IEProxySearchStrategy.java:76)
    at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.getProxySelector(IEProxySearchStrategy.java:49)
    at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:193)
    at org.system.Proxy.setProxy(Proxy.java:30)
    at gui.MainSWT.createContents(MainSWT.java:949)
    at gui.MainSWT.open(MainSWT.java:120)
    at gui.Main.main(Main.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Note I am using v0.9.18.2.

Since it doesn't seem like you are accepting PRs, here is what I think is the solution:

Before line 75, insert if (pac != null)

I am using a proxy.pac script and auto-detect in IE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions