2 Replies Latest reply on Jan 12, 2014 5:32 PM by Jimmy Añazco

    Hey, any idea about??

    Jimmy Añazco Newbie

      Class Model

       

      Entity

      @Table(name = "Becario")

      @DiscriminatorValue(value = "Be")

      @PrimaryKeyJoinColumn(name = "id")

      public class Becario extends BussinesEntity implements Serializable, Comparable<Becario> {

       

          private static Logger log = Logger.getLogger(Becario.class);

          private static final long serialVersionUID = 1L;

         

          @Column(nullable = true, unique = true)

          private String code;

          @Column(nullable = true)

          private String firstname;

          @Column(nullable = true)

          private String surname;

          @Column(nullable = true)

          private String carrera;

          @Column(nullable = true)

          private String entidadBancaria;

          @Column(nullable = true)

          private String cuenta;

          @Column(nullable = true)

          private String numeroMatricula;

          @Column(nullable = true)

          private Double notaAnterior;

          @Column(nullable = false)

          private Double valor_beca;

          @Column

          private String area;

          @Temporal(javax.persistence.TemporalType.DATE)

          private Date fechaRegistro;

          @OneToMany(mappedBy = "becario", cascade = CascadeType.ALL, fetch = FetchType.LAZY)

          private List<Profile> profiles;

       

          public Becario() {

             fechaRegistro=new Date();

             setBecaType(becaType.A);

          }

      ...............

       

      Class Service

       

      public class BecarioService extends PersistenceUtil<Becario> implements Serializable {

       

          private static final long serialVersionUID = 234L;

          private static org.jboss.solder.logging.Logger log = org.jboss.solder.logging.Logger.getLogger(BecarioService.class);

          @Inject

          private BussinesEntityService bussinesEntityService;

       

          public BecarioService() {

              super(Becario.class);

          }

       

          @Override

          public void setEntityManager(EntityManager em) {

              this.em = em;

              bussinesEntityService.setEntityManager(em);

          }

       

          @TransactionAttribute(TransactionAttributeType.REQUIRED)

          public void crear(final Becario becario) {

              super.create(becario);

          }

       

          @TransactionAttribute(TransactionAttributeType.REQUIRED)

          public void guardar(final Becario user) {

              super.save(user);

              em.flush();

          }

      //Query

         public List<Becario> getBecariosDetalles() {

           // select count(carrera),becatype,area,valor_beca,count(carrera)*valor_beca as "ValorTotal"

           // from becariop group by becatype,area,valor_beca order by area;  

            

              TypedQuery<Becario> query = em.createQuery("select count(o.carrera), o.area,"

                      + "o.valor_beca, count(o.carrera)*o.valor_beca "

                      + "from Becario o group by o.area,o.valor_beca order by o.area ", Becario.class);

              return query.getResultList();

          }

      ........................

       

      @Named("detalles")

      @ViewScoped

      public class BecarioListType extends LazyDataModel<Becario> {

       

          private static Logger log = Logger.getLogger(BecarioListService.class);

          private static final int MAX_RESULTS = 5;

          /*Inyeción de Dependencias importantes para cargar los datos*/

          @Inject

          @Web

          private EntityManager em;

          @Inject

          private BecarioService becarioServicio;

          private List<Becario> resultList;

          private int firstResult = 0;

       

          public BecarioListType() {

              setPageSize(MAX_RESULTS);

              resultList = new ArrayList<Becario>();

          }

       

          @PostConstruct

          public void init() {

              becarioServicio.setEntityManager(em);

          }

          @Override

          public List<Becario> load(int first, int pageSize, String sortField, SortOrder sortOrder, Map<String, String> filters) {

              int end = first + pageSize;

       

              QuerySortOrder order = QuerySortOrder.ASC;

              if (sortOrder == SortOrder.DESCENDING) {

                  order = QuerySortOrder.DESC;

              }

              Map<String, Object> _filters = new HashMap<String, Object>();

              /*_filters.put(BussinesEntity_.type.getName(), getType()); //Filtro por defecto

               _filters.putAll(filters);*/

       

              QueryData<Becario> qData = becarioServicio.find(first, end, sortField, order, _filters);

              this.setRowCount(qData.getTotalResultCount().intValue());

              this.setResultList(becarioServicio.getBecariosDetalles());

              return qData.getResult();

          }

       

       

       

           23:20:06,822 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http-/127.0.0.1:8080-59) Error Rendering View[/pages/profile/detalles.xhtml]: java.lang.reflect.UndeclaredThrowableException
          at com.sun.proxy.$Proxy125.createQuery(Unknown Source)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:45) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.proxies.EntityManager$ManagedPersistenceContext$722087979$Proxy$_$$_WeldClientProxy.createQuery(EntityManager$ManagedPersistenceContext$722087979$Proxy$_$$_WeldClientProxy.java) [weld-core-1.1.10.Final.jar:]
          at edu.unl.sbe.service.BecarioService.getBecariosDetalles(BecarioService.java:124) [classes:]
          at edu.unl.sbe.service.BecarioService$Proxy$_$$_WeldSubclass.getBecariosDetalles(BecarioService$Proxy$_$$_WeldSubclass.java) [classes:]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:85) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:55) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at edu.unl.sbe.service.BecarioService$Proxy$_$$_WeldSubclass.getBecariosDetalles(BecarioService$Proxy$_$$_WeldSubclass.java) [classes:]
          at edu.unl.sbe.service.BecarioListType.load(BecarioListType.java:67) [classes:]
          at edu.unl.sbe.service.BecarioListType$Proxy$_$$_WeldClientProxy.load(BecarioListType$Proxy$_$$_WeldClientProxy.java) [classes:]
          at org.primefaces.component.datatable.DataTable.loadLazyData(DataTable.java:737) [primefaces-4.0.jar:4.0]
          at org.primefaces.component.datatable.DataTableRenderer.preEncode(DataTableRenderer.java:93) [primefaces-4.0.jar:4.0]
          at org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:81) [primefaces-4.0.jar:4.0]
          at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:424) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:163) [prettyfaces-jsf2-3.3.3.jar:]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at org.ocpsoft.rewrite.faces.RewriteViewHandler.renderView(RewriteViewHandler.java:151) [rewrite-integration-faces-1.1.0.Final.jar:1.1.0.Final]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145) [prettyfaces-jsf2-3.3.3.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:182) [rewrite-impl-servlet-1.1.0.Final.jar:1.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.NocacheFilter.doFilter(NocacheFilter.java:41) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.ResponseTimeLoggingFilter.doFilter(ResponseTimeLoggingFilter.java:32) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.TransactionFilter.doFilter(TransactionFilter.java:47) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:166) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:350) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:900) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:1025) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
      Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.seam.persistence.PersistenceContextProxyHandler.handleCreateQueryWithString(PersistenceContextProxyHandler.java:75) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          at org.jboss.seam.persistence.PersistenceContextProxyHandler.invoke(PersistenceContextProxyHandler.java:53) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          at org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.invoke(ManagedPersistenceContextProxyHandler.java:108) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          ... 82 more
      Caused by: java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return using requested result type [edu.unl.sbe.model.servicios.Becario]
          at org.hibernate.ejb.AbstractEntityManagerImpl.resultClassChecking(AbstractEntityManagerImpl.java:711) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
          at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:303) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
          ... 89 more

       

      23:20:06,929 INFO  [javax.enterprise.resource.webcontainer.jsf.context] (http-/127.0.0.1:8080-59) Exception when handling error trying to reset the response.: java.lang.reflect.UndeclaredThrowableException
          at com.sun.proxy.$Proxy125.createQuery(Unknown Source)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:45) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.proxies.EntityManager$ManagedPersistenceContext$722087979$Proxy$_$$_WeldClientProxy.createQuery(EntityManager$ManagedPersistenceContext$722087979$Proxy$_$$_WeldClientProxy.java) [weld-core-1.1.10.Final.jar:]
          at edu.unl.sbe.service.BecarioService.getBecariosDetalles(BecarioService.java:124) [classes:]
          at edu.unl.sbe.service.BecarioService$Proxy$_$$_WeldSubclass.getBecariosDetalles(BecarioService$Proxy$_$$_WeldSubclass.java) [classes:]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:85) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:55) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at edu.unl.sbe.service.BecarioService$Proxy$_$$_WeldSubclass.getBecariosDetalles(BecarioService$Proxy$_$$_WeldSubclass.java) [classes:]
          at edu.unl.sbe.service.BecarioListType.load(BecarioListType.java:67) [classes:]
          at edu.unl.sbe.service.BecarioListType$Proxy$_$$_WeldClientProxy.load(BecarioListType$Proxy$_$$_WeldClientProxy.java) [classes:]
          at org.primefaces.component.datatable.DataTable.loadLazyData(DataTable.java:737) [primefaces-4.0.jar:4.0]
          at org.primefaces.component.datatable.DataTableRenderer.preEncode(DataTableRenderer.java:93) [primefaces-4.0.jar:4.0]
          at org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:81) [primefaces-4.0.jar:4.0]
          at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:424) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:163) [prettyfaces-jsf2-3.3.3.jar:]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at org.ocpsoft.rewrite.faces.RewriteViewHandler.renderView(RewriteViewHandler.java:151) [rewrite-integration-faces-1.1.0.Final.jar:1.1.0.Final]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145) [prettyfaces-jsf2-3.3.3.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:182) [rewrite-impl-servlet-1.1.0.Final.jar:1.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.NocacheFilter.doFilter(NocacheFilter.java:41) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.ResponseTimeLoggingFilter.doFilter(ResponseTimeLoggingFilter.java:32) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.TransactionFilter.doFilter(TransactionFilter.java:47) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:166) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:350) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:900) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:1025) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
      Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.seam.persistence.PersistenceContextProxyHandler.handleCreateQueryWithString(PersistenceContextProxyHandler.java:75) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          at org.jboss.seam.persistence.PersistenceContextProxyHandler.invoke(PersistenceContextProxyHandler.java:53) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          at org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.invoke(ManagedPersistenceContextProxyHandler.java:108) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          ... 82 more
      Caused by: java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return using requested result type [edu.unl.sbe.model.servicios.Becario]
          at org.hibernate.ejb.AbstractEntityManagerImpl.resultClassChecking(AbstractEntityManagerImpl.java:711) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
          at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:303) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
          ... 89 more

       

      23:20:07,047 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sisbe].[Faces Servlet]] (http-/127.0.0.1:8080-59) JBWEB000236: Servlet.service() for servlet Faces Servlet threw exception: javax.enterprise.event.ObserverException
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_21]
          at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_21]
          at java.lang.Class.newInstance0(Class.java:374) [rt.jar:1.7.0_21]
          at java.lang.Class.newInstance(Class.java:327) [rt.jar:1.7.0_21]
          at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:344) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:173) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:341) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:33) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:73) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:162) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:117) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:44) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:85) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:75) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:70) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:562) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:166) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:350) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:900) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:1025) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
      Caused by: javax.servlet.ServletException
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145) [prettyfaces-jsf2-3.3.3.jar:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:182) [rewrite-impl-servlet-1.1.0.Final.jar:1.1.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.NocacheFilter.doFilter(NocacheFilter.java:41) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.ResponseTimeLoggingFilter.doFilter(ResponseTimeLoggingFilter.java:32) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at edu.unl.sbe.web.filter.TransactionFilter.doFilter(TransactionFilter.java:47) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
          ... 20 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
          at com.sun.proxy.$Proxy125.createQuery(Unknown Source)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:45) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.proxies.EntityManager$ManagedPersistenceContext$722087979$Proxy$_$$_WeldClientProxy.createQuery(EntityManager$ManagedPersistenceContext$722087979$Proxy$_$$_WeldClientProxy.java) [weld-core-1.1.10.Final.jar:]
          at edu.unl.sbe.service.BecarioService.getBecariosDetalles(BecarioService.java:124) [classes:]
          at edu.unl.sbe.service.BecarioService$Proxy$_$$_WeldSubclass.getBecariosDetalles(BecarioService$Proxy$_$$_WeldSubclass.java) [classes:]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:85) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:55) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
          at edu.unl.sbe.service.BecarioService$Proxy$_$$_WeldSubclass.getBecariosDetalles(BecarioService$Proxy$_$$_WeldSubclass.java) [classes:]
          at edu.unl.sbe.service.BecarioListType.load(BecarioListType.java:67) [classes:]
          at edu.unl.sbe.service.BecarioListType$Proxy$_$$_WeldClientProxy.load(BecarioListType$Proxy$_$$_WeldClientProxy.java) [classes:]
          at org.primefaces.component.datatable.DataTable.loadLazyData(DataTable.java:737) [primefaces-4.0.jar:4.0]
          at org.primefaces.component.datatable.DataTableRenderer.preEncode(DataTableRenderer.java:93) [primefaces-4.0.jar:4.0]
          at org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:81) [primefaces-4.0.jar:4.0]
          at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:424) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:163) [prettyfaces-jsf2-3.3.3.jar:]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at org.ocpsoft.rewrite.faces.RewriteViewHandler.renderView(RewriteViewHandler.java:151) [rewrite-integration-faces-1.1.0.Final.jar:1.1.0.Final]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-jbossorg-1.jar:]
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final.jar:2.0.7.Final]
          ... 41 more
      Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
          at org.jboss.seam.persistence.PersistenceContextProxyHandler.handleCreateQueryWithString(PersistenceContextProxyHandler.java:75) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          at org.jboss.seam.persistence.PersistenceContextProxyHandler.invoke(PersistenceContextProxyHandler.java:53) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          at org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.invoke(ManagedPersistenceContextProxyHandler.java:108) [seam-persistence-3.1.0.Final.jar:3.1.0.Final]
          ... 82 more
      Caused by: java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return using requested result type [edu.unl.sbe.model.servicios.Becario]
          at org.hibernate.ejb.AbstractEntityManagerImpl.resultClassChecking(AbstractEntityManagerImpl.java:711) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
          at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:303) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
          ... 89 more

       

      23:21:48,780 INFO  [org.apache.coyote.http11] (MSC service thread 1-4) JBWEB003075: Coyote HTTP/1.1 pausing on: http-/127.0.0.1:8080
      23:21:48,792 INFO  [org.apache.catalina.core] (MSC service thread 1-3) JBWEB001079: Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
      23:21:48,799 INFO  [org.apache.coyote.http11] (MSC service thread 1-4) JBWEB003077: Coyote HTTP/1.1 stopping on : http-/127.0.0.1:8080
      23:21:48,800 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018224: Unregister web context: /sisbe
      23:21:48,804 INFO  [com.ocpsoft.pretty.PrettyFilter] (MSC service thread 1-1) PrettyFilter shutting down...
      23:21:48,804 INFO  [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-1) RewriteFilter shutting down...
      23:21:48,804 INFO  [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-1) RewriteFilter deactivated.
      23:21:48,919 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016009: Stopping weld service for deployment sisbe.war
      23:21:48,943 ERROR [org.jboss.weld.Bean] (MSC service thread 1-4) WELD-000019 Error destroying an instance Managed Bean [class org.jboss.seam.security.permission.SecurityRuleLoader] with qualifiers [@Any @Default] of org.jboss.seam.security.permission.SecurityRuleLoader@4c9497b9
      23:21:49,010 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) JBAS011403: Stopping Persistence Unit Service 'sisbe.war#sisbe'
      23:21:49,434 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment sisbe.war in 714ms
      23:21:49,438 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015950: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" stopped in 678ms