mocca 1.3.14 java.lang.IllegalArgumentException: hostname can't be null

Published on: 18/02/2014
Discussion

Hi,

mocca is not working on this page since it was upgraded:

https://www.banking.co.at/appl/ebp/login.html?resource=209

The webstart.log log gives:

19:18:03,777 INFO  support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@532b3afd: defining beans [configurationResource,configuration,smccConfiguration,readerFactory,sslPKIProfile,sslSocketFactory,hostnameVerifier,urlDereferencer,securityManager,slCommandInvoker,abstractCommandFactory,certificatesInfoboxFactory,identityLinkInfoboxFactory,svPersonendatenInfoboxFactory,infoboxFactory,nullOperationCommandFactory,nullOperationRequest,infoboxReadCommandFactory,infoboxReadRequest,infoboxUpdateCommandFactory,infoboxUpdateRequest,createXMLSignatureCommandFactory,createXMLSignatureRequest,createCMSSignatureCommandFactory,createCMSSignatureRequest,getStatusCommandFactory,getStatusRequest,slCommandFactory,stalFactory,httpBindingProcessorFactory,bindingProcessorManager,attributeExporter,shutdownHandler]; root of factory hierarchy
19:18:03,797 INFO  reader.ReaderFactory - reader configuration: disablePinpad=false
19:18:03,805 INFO  support.ServletContextAttributeExporter - Exported ServletContext attribute with name 'bindingProcessorManager'
19:18:03,806 INFO  context.ContextLoader - Root WebApplicationContext: initialization completed in 2097 ms
19:18:03,824 INFO  mortbay.log - http-security-layer-request at http://127.0.0.1:3495/
19:18:03,824 INFO  mortbay.log - http-security-layer-request at http://127.0.0.1:3496/
19:18:03,842 INFO  mortbay.log - Started SelectChannelConnector@127.0.0.1:3495
19:18:03,859 INFO  mortbay.log - Started SslSocketConnector@127.0.0.1:3496
19:18:03,860 INFO  webstart.Launcher - BKU successfully started
19:18:56,574 INFO  webapp.BKURequestHandler - Received request. Accept-Language locale: de_DE.
19:18:56,612 INFO  binding.HTTPBindingProcessorImpl - XMLRequest=NullOperationRequest. Created new command: at.gv.egiz.bku.slcommands.impl.NullOperationCommandImpl.
19:18:56,820 INFO  binding.HTTPBindingProcessorImpl - Starting Bindingprocessor : Kd/1doerIHBsyEBNMY3xKAxzpyXo.
19:18:56,821 INFO  binding.HTTPBindingProcessorImpl - Entered State: PROCESS, Processing NullOperationRequest.
19:18:56,823 INFO  binding.HTTPBindingProcessorImpl - Entered State: DATAURL, DataURL=https://www.banking.co.at:443/appl/ebp/signature/login.html?quicklink=&….
19:18:56,838 ERROR binding.HTTPBindingProcessorImpl - Caught unexpected exception.
java.lang.IllegalArgumentException: hostname can't be null
    at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149)
    at java.net.InetSocketAddress.<init>(InetSocketAddress.java:216)
    at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowserConfiguration(BrowserAwareProxySelector.java:268)
    at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:187)
    at net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:208)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java…
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractD…
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImp…
    at at.gv.egiz.bku.binding.DataUrlConnectionImpl.connect(DataUrlConnectionImpl.java:177)
    at at.gv.egiz.bku.binding.HTTPBindingProcessorImpl.handleDataUrl(HTTPBindingProcessorImpl.java:433)
    at at.gv.egiz.bku.binding.HTTPBindingProcessorImpl.process(HTTPBindingProcessorImpl.java:745)
    at at.gv.egiz.bku.binding.AbstractBindingProcessor.run(AbstractBindingProcessor.java:124)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at at.gv.egiz.bku.binding.BindingProcessorFuture.run(BindingProcessorFuture.java:57)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
19:18:56,845 INFO  binding.BindingProcessorManagerImpl - Removing BindingProcessor Kd/1doerIHBsyEBNMY3xKAxzpyXo (active:0.031s/age:0.031s).
 

The system on mocca is running:

ubuntu amd64 saucy

java -version:
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

Component

Code

Category

Compatibility
Attachments

Comments

Mon, 24/02/2014 - 16:47

After further error search the activated privoxy was the problem. So I unchecked the "use proxy" line in the firefox settings tab and mocca is working fine.

Where the problem with the privoxy exactly is I did not found out.

Mon, 24/02/2014 - 16:48