shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Lavoillotte (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SHINDIG-1208) java.lang.IllegalArgumentException: type DIRECT is not compatible with address null
Date Tue, 08 Dec 2009 10:39:18 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787400#action_12787400
] 

Adrien Lavoillotte commented on SHINDIG-1208:
---------------------------------------------

For those needing shindig 1.0, I avoided this issue by using guice 2.0 instead of 1.0.

> java.lang.IllegalArgumentException: type DIRECT is not  compatible with address null
> ------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1208
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1208
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java, Website
>    Affects Versions: 1.0
>         Environment: Tomcat 6, Java 6
>            Reporter: Stas Shevchenko
>
>  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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message