I’ve released version 1.1.3 of the APIdoc IntelliJ IDEA plugin.
This release fixes the handling of the Alt+A keyboard shortcut to prevent a NullPointerException occurring when the code editor wasn’t selected.
To upgrade, use the Plugin Manager within IntelliJ IDEA (version 5.0 or later).
The plugin doesn’t work. It ignores the Proxy Setting I’ve entered in idea 7.0.3. Other plugins can browse the internet without problems.
Error:
Error running search for “java:NotBoundException”: Error fetching url: http://apidoc.org/xml/search?query=java%3ANotBoundException
org.apidoc.plugins.common.SessionCommsException: Error fetching url: http://apidoc.org/xml/search?query=java%3ANotBoundException
at org.apidoc.plugins.common.Session.execute(Session.java:189)
at org.apidoc.plugins.common.Session.search(Session.java:146)
at org.apidoc.plugins.idea.SearchTask.run(SearchTask.java:31)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.UnknownHostException: apidoc.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:240)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at org.apidoc.plugins.common.Session.fetchURL(Session.java:232)
at org.apidoc.plugins.common.Session.execute(Session.java:167)
… 3 more
java.net.UnknownHostException: apidoc.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:240)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at org.apidoc.plugins.common.Session.fetchURL(Session.java:232)
at org.apidoc.plugins.common.Session.execute(Session.java:167)
at org.apidoc.plugins.common.Session.search(Session.java:146)
at org.apidoc.plugins.idea.SearchTask.run(SearchTask.java:31)
at java.lang.Thread.run(Thread.java:619)
Hi Andreas,
The APIdoc plugin does use the IDEA Proxy settings and works with a proxy in IDEA 6. It looks like something must have changed in IDEA between versions 6 and 7 that has broken how the APIdoc plugin picks up the proxy settings. I’ll take a look into this when I get a moment.
Regards,
Phil
I’ve now released version 1.1.4 of the plugin to fix this issue. See http://blog.apidoc.org/2008/05/15/intellij-idea-plugin-v114-released/ for details.
Confirming the successful fix. Now it works without any problems. Thanks for the update!