Uploaded image for project: 'Seam Social'
  1. Seam Social
  2. SEAMSOCIAL-6

Errors with Facebook component the sample application

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Alpha1
    • Fix Version/s: None
    • Component/s: Facebook
    • Labels:
      None
    • Environment:
      MacOS X / JBoss 6.0.0

      Description

      When deploying the sample application and clicking on the Facebook icon, I get a Facebook page with an error message. The following stacktrace appears in the console:

      21:30:45,370 ERROR [STDERR] javax.xml.bind.JAXBException: "org.jboss.seam.social.linkedin.model" doesnt contain ObjectFactory.class or jaxb.index
      21:30:45,371 ERROR [STDERR] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
      21:30:45,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:30:45,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:30:45,372 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:30:45,372 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      21:30:45,373 ERROR [STDERR] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:127)
      21:30:45,373 ERROR [STDERR] at javax.xml.bind.ContextFinder.find(ContextFinder.java:276)
      21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
      21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
      21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
      21:30:45,374 ERROR [STDERR] at org.jboss.seam.social.linkedin.LinkedInHanlderScribe.init(LinkedInHanlderScribe.java:68)
      21:30:45,374 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:30:45,374 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:30:45,374 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:30:45,374 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
      21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
      21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
      21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
      21:30:45,375 ERROR [STDERR] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
      21:30:45,375 ERROR [STDERR] at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
      21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
      21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
      21:30:45,376 ERROR [STDERR] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
      21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
      21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
      21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.linkedin.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$linkedin$LinkedInHanlderScribe_$$WeldClientProxy.getType(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$linkedin$LinkedInHanlderScribe$$_WeldClientProxy.java)
      21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient$1.apply(SocialClient.java:81)
      21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient$1.apply(SocialClient.java:75)
      21:30:45,377 ERROR [STDERR] at com.google.common.collect.Maps.uniqueIndex(Maps.java:490)
      21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient.init(SocialClient.java:74)
      21:30:45,377 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:30:45,378 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:30:45,378 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:30:45,378 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
      21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
      21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
      21:30:45,379 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
      21:30:45,379 ERROR [STDERR] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
      21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
      21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
      21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
      21:30:45,380 ERROR [STDERR] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
      21:30:45,380 ERROR [STDERR] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
      21:30:45,380 ERROR [STDERR] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
      21:30:45,380 ERROR [STDERR] at org.jboss.seam.social.example.webclient.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$example$webclient$SocialClient_$$WeldClientProxy.getServiceHandlers(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$example$webclient$SocialClient$$_WeldClientProxy.java)
      21:30:45,380 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:30:45,381 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:30:45,381 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:30:45,381 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      21:30:45,381 ERROR [STDERR] at javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
      21:30:45,381 ERROR [STDERR] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
      21:30:45,381 ERROR [STDERR] at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
      21:30:45,382 ERROR [STDERR] at org.apache.el.parser.AstValue.getValue(AstValue.java:134)
      21:30:45,382 ERROR [STDERR] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
      21:30:45,382 ERROR [STDERR] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
      21:30:45,382 ERROR [STDERR] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
      21:30:45,382 ERROR [STDERR] at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106)
      21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.getValue(UIRepeat.java:268)
      21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.getDataModel(UIRepeat.java:244)
      21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.setIndex(UIRepeat.java:434)
      21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:468)
      21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:953)
      21:30:45,383 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
      21:30:45,383 ERROR [STDERR] at javax.faces.render.Renderer.encodeChildren(Renderer.java:164)
      21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
      21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
      21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
      21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
      21:30:45,384 ERROR [STDERR] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
      21:30:45,384 ERROR [STDERR] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
      21:30:45,384 ERROR [STDERR] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
      21:30:45,385 ERROR [STDERR] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
      21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
      21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
      21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
      21:30:45,385 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
      21:30:45,385 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
      21:30:45,385 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
      21:30:45,386 ERROR [STDERR] at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
      21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
      21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
      21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      21:30:45,386 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
      21:30:45,387 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
      21:30:45,387 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
      21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
      21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
      21:30:45,387 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      21:30:45,387 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      21:30:45,388 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      21:30:45,388 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
      21:30:45,388 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
      21:30:45,388 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      21:30:45,388 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
      21:30:45,388 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
      21:30:45,389 ERROR [STDERR] at java.lang.Thread.run(Thread.java:680)

        Gliffy Diagrams

          Activity

          Hide
          antoinesabot-durand Antoine Sabot-Durand added a comment -

          Did you check out Alpha1 tag or last version in master branch ?

          Show
          antoinesabot-durand Antoine Sabot-Durand added a comment - Did you check out Alpha1 tag or last version in master branch ?
          Hide
          a_busch Antoine Büsch added a comment -

          Latest version from master

          Show
          a_busch Antoine Büsch added a comment - Latest version from master
          Hide
          antoinesabot-durand Antoine Sabot-Durand added a comment -

          Jaxb.index file moved to resources folder so Maven integrates it in the final war.

          Show
          antoinesabot-durand Antoine Sabot-Durand added a comment - Jaxb.index file moved to resources folder so Maven integrates it in the final war.

            People

            • Assignee:
              antoinesabot-durand Antoine Sabot-Durand
              Reporter:
              a_busch Antoine Büsch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development