Want more features on Pastebin? Sign Up, it's FREE!
Guest

p:dataTable with f:attribute: "argument type mismatch"

By: a guest on Oct 22nd, 2012  |  syntax: None  |  size: 7.64 KB  |  views: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. HTTP Status 500 -
  2.  
  3. type Exception report
  4.  
  5. message
  6.  
  7. description The server encountered an internal error () that prevented it from fulfilling this request.
  8.  
  9. exception
  10.  
  11. javax.enterprise.event.ObserverException
  12.         sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  13.         sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  14.         sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  15.         java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  16.         java.lang.Class.newInstance0(Class.java:355)
  17.         java.lang.Class.newInstance(Class.java:308)
  18.         org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:343)
  19.         org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
  20.         org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:173)
  21.         org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:340)
  22.         org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:33)
  23.         org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:73)
  24.         org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:162)
  25.         org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241)
  26.         org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229)
  27.         org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207)
  28.         org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:569)
  29.         org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:559)
  30.         org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:554)
  31.         org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:74)
  32.         org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
  33.         com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
  34. root cause
  35.  
  36. javax.servlet.ServletException: argument type mismatch
  37.         javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
  38.         org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  39.         org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
  40.         org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
  41.         com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
  42. root cause
  43.  
  44. java.lang.IllegalArgumentException: argument type mismatch
  45.         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  46.         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  47.         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  48.         java.lang.reflect.Method.invoke(Method.java:597)
  49.         javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBase.java:2399)
  50.         javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBase.java:2283)
  51.         com.sun.faces.facelets.tag.jsf.core.AttributeHandler.apply(AttributeHandler.java:117)
  52.         javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
  53.         javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
  54.         org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
  55.         com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
  56.         javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
  57.         javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
  58.         org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
  59.         com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
  60.         javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
  61.         javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
  62.         org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
  63.         com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
  64.         javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
  65.         javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
  66.         com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:107)
  67.         com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
  68.         com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
  69.         com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
  70.         com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:112)
  71.         javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
  72.         javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
  73.         org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
  74.         com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
  75.         javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
  76.         javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
  77.         com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:182)
  78.         javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
  79.         com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
  80.         javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
  81.         com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
  82.         com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
  83.         com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
  84.         com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
  85.         com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
  86.         com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
  87.         com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
  88.         com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
  89.         com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
  90.         com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
  91.         org.jboss.seam.faces.view.SeamViewDeclarationLanguage.buildView(SeamViewDeclarationLanguage.java:81)
  92.         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
  93.         com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  94.         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
  95.         javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
  96.         org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  97.         org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
  98.         org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
  99.         com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
  100. note The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.
  101.  
  102. JBoss Web/7.0.13.Final
clone this paste RAW Paste Data