java.lang.IllegalArgumentException: Offline-Mode is active. Network connections are not available at the moment.

Pentaho BI Platform Tracking | Paula Clemente | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Having the "Work Offline" option enabled, when we start PRD through command line, we see an exception in the logs: {code} ERROR - org.pentaho.reporting.designer.core.versionchecker.VersionCheckerUtility - The version checker encountered an error java.lang.IllegalArgumentException: Offline-Mode is active. Network connections are not available at the moment. at org.pentaho.reporting.designer.core.util.firewall.FirewallingProxySelector.select(FirewallingProxySelector.java:72) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:383) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:280) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.pentaho.versionchecker.VersionChecker.performCheck(VersionChecker.java:351) at org.pentaho.reporting.designer.core.versionchecker.VersionCheckerUtility$VersionCheckerRunnable.run(VersionCheckerUtility.java:99) at java.lang.Thread.run(Thread.java:722) {code} \\ I think that we should show a more graceful message to the user, and not the full exception.

    Pentaho BI Platform Tracking | 1 year ago | Paula Clemente
    java.lang.IllegalArgumentException: Offline-Mode is active. Network connections are not available at the moment.
  2. 0

    Having the "Work Offline" option enabled, when we start PRD through command line, we see an exception in the logs: {code} ERROR - org.pentaho.reporting.designer.core.versionchecker.VersionCheckerUtility - The version checker encountered an error java.lang.IllegalArgumentException: Offline-Mode is active. Network connections are not available at the moment. at org.pentaho.reporting.designer.core.util.firewall.FirewallingProxySelector.select(FirewallingProxySelector.java:72) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:383) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:280) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.pentaho.versionchecker.VersionChecker.performCheck(VersionChecker.java:351) at org.pentaho.reporting.designer.core.versionchecker.VersionCheckerUtility$VersionCheckerRunnable.run(VersionCheckerUtility.java:99) at java.lang.Thread.run(Thread.java:722) {code} \\ I think that we should show a more graceful message to the user, and not the full exception.

    Pentaho BI Platform Tracking | 1 year ago | Paula Clemente
    java.lang.IllegalArgumentException: Offline-Mode is active. Network connections are not available at the moment.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Offline-Mode is active. Network connections are not available at the moment.

      at org.pentaho.reporting.designer.core.util.firewall.FirewallingProxySelector.select()
    2. org.pentaho.reporting
      FirewallingProxySelector.select
      1. org.pentaho.reporting.designer.core.util.firewall.FirewallingProxySelector.select(FirewallingProxySelector.java:72)
      1 frame
    3. Java RT
      Socket.<init>
      1. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:383)
      2. java.net.Socket.connect(Socket.java:579)
      3. java.net.Socket.connect(Socket.java:528)
      4. java.net.Socket.<init>(Socket.java:425)
      5. java.net.Socket.<init>(Socket.java:280)
      5 frames
    4. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
      2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
      3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
      4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
      5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
      7 frames
    5. org.pentaho.versionchecker
      VersionChecker.performCheck
      1. org.pentaho.versionchecker.VersionChecker.performCheck(VersionChecker.java:351)
      1 frame
    6. org.pentaho.reporting
      VersionCheckerUtility$VersionCheckerRunnable.run
      1. org.pentaho.reporting.designer.core.versionchecker.VersionCheckerUtility$VersionCheckerRunnable.run(VersionCheckerUtility.java:99)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame