Shindig
  1. Shindig
  2. SHINDIG-1208

java.lang.IllegalArgumentException: type DIRECT is not compatible with address null

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: Java, Website
    • Labels:
      None
    • Environment:
      Tomcat 6, Java 6

      Description

      I just downloaded shindig-server-1.0-incubating.war, renamed it to
      ROOT.war, installed a fresh apache-tomcat-6.0.20, deleted webapps/
      ROOT,
      dropped my new ROOT.war in webapps, and started tomcat. When I
      pointed a
      web browser at:

      http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html

      The following output appeared in my catalina.out:

      Oct 21, 2009 2:17:10 PM
      org.apache.shindig.gadgets.GadgetFeatureRegistry
      getFeatures
      INFO: Added to cache. Size is now: 2
      Oct 21, 2009 2:17:10 PM org.apache.shindig.gadgets.servlet.RpcServlet
      process
      INFO: Processing interrupted
      org.apache.shindig.gadgets.servlet.RpcException: Processing
      interrupted
      at
      org.apache.shindig.gadgets.servlet.JsonRpcHandler.process
      (JsonRpcHandler.java:105)
      at
      org.apache.shindig.gadgets.servlet.RpcServlet.process
      (RpcServlet.java:125)
      at
      org.apache.shindig.gadgets.servlet.RpcServlet.doPost
      (RpcServlet.java:108)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
      (ApplicationFilterChain.java:290)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter
      (ApplicationFilterChain.java:206)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke
      (StandardWrapperValve.java:233)
      at
      org.apache.catalina.core.StandardContextValve.invoke
      (StandardContextValve.java:191)
      at
      org.apache.catalina.core.StandardHostValve.invoke
      (StandardHostValve.java:128)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke
      (ErrorReportValve.java:102)
      at
      org.apache.catalina.core.StandardEngineValve.invoke
      (StandardEngineValve.java:109)
      at
      org.apache.catalina.connector.CoyoteAdapter.service
      (CoyoteAdapter.java:293)
      at
      org.apache.coyote.http11.Http11Processor.process
      (Http11Processor.java:849)
      at
      org.apache.coyote.http11.Http11Protocol
      $Http11ConnectionHandler.process(Http11Protocol.java:583)
      at
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
      454)
      at java.lang.Thread.run(Thread.java:637)
      Caused by: java.util.concurrent.ExecutionException:
      java.lang.IllegalArgumentException: type DIRECT is not compatible
      with
      address null
      at
      java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
      at java.util.concurrent.FutureTask.get(FutureTask.java:83)
      at
      org.apache.shindig.gadgets.servlet.JsonRpcHandler.process
      (JsonRpcHandler.java:99)
      ... 16 more
      Caused by: java.lang.IllegalArgumentException: type DIRECT is not
      compatible with address null
      at java.net.Proxy.<init>(Proxy.java:78)
      at sun.net.ApplicationProxy.<init>(ApplicationProxy.java:19)
      at sun.net.ApplicationProxy.create(ApplicationProxy.java:23)
      at java.net.URL.openConnection(URL.java:983)
      at
      org.apache.shindig.gadgets.http.BasicHttpFetcher.getConnection
      (BasicHttpFetcher.java:90)
      at
      org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch
      (BasicHttpFetcher.java:157)
      at
      org.apache.shindig.gadgets.DefaultGadgetSpecFactory.fetchObjectAndCache
      (DefaultGadgetSpecFactory.java:124)
      at
      org.apache.shindig.gadgets.DefaultGadgetSpecFactory.getGadgetSpec
      (DefaultGadgetSpecFactory.java:89)
      at
      org.apache.shindig.gadgets.DefaultGadgetSpecFactory.getGadgetSpec
      (DefaultGadgetSpecFactory.java:72)
      at
      org.apache.shindig.gadgets.process.Processor.process(Processor.java:
      83)
      at
      org.apache.shindig.gadgets.servlet.JsonRpcHandler$Job.call
      (JsonRpcHandler.java:137)
      at
      org.apache.shindig.gadgets.servlet.JsonRpcHandler$Job.call
      (JsonRpcHandler.java:128)
      at
      java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
      441)
      at
      java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask
      (ThreadPoolExecutor.java:886)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run
      (ThreadPoolExecutor.java:908)
      ... 1 more

        Activity

        Gavin made changes -
        Workflow jira [ 12480282 ] patch-available, re-open possible [ 12629917 ]
        Paul Lindner made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Stas Shevchenko created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Stas Shevchenko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development