Yeah I can't find anything on it. I backed down from head to the 4.0.4RC1 and 
I'm still getting the exact same error.

What info do you need to see more. If I strip out all my my other beans I still 
get it with my base 2 beans (User and UserAction)



  | 14:35:59,085 INFO  [EARDeployer] Undeploying J2EE application, destroy 
step: file:/C:/jboss-4.0.4RC1/server/default/deploy/phone-log.ear
  | 14:35:59,100 INFO  [EARDeployer] Undeployed J2EE application: 
file:/C:/jboss-4.0.4RC1/server/default/deploy/phone-log.ear
  | 14:36:09,194 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.4RC1/server/default/deploy/phone-log.ear
  | 14:36:09,866 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=UserUtilsAction, class=org.transaria.apps.phonelog.UserUtilsAction, 
type=STATELESS
  | 14:36:09,882 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=phone-log.ejb3
  | java.lang.ArrayStoreException: 
sun.reflect.annotation.TypeNotPresentExceptionProxy
  |     at 
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
  |     at 
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
  |     at 
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
  |     at 
sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
  |     at 
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
  |     at 
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
  |     at java.lang.Class.initAnnotationsIfNecessary(Class.java:2998)
  |     at java.lang.Class.getAnnotation(Class.java:2958)
  | 
  | 


  | 
  | package org.transaria.apps.phonelog;
  | 
  | import java.io.Serializable;
  | import java.util.Date;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | import org.hibernate.validator.NotNull;
  | import org.jboss.seam.annotations.*;
  | 
  | @Entity
  | @Name("user")
  | @Table(name="users")
  | public class User implements Serializable {
  | 
  |     private static final long serialVersionUID = 5139654161684162176L;
  |     private long id;
  |     private String first;
  |     private String last;
  |     private String username;
  |     private String password;
  |     private Date createdate;
  |     
  |     public User () {
  |             
  |              Date now = new Date();
  |              createdate = now;
  |     }
  |     @NotNull        
  |     public Date getCreatedate() {
  |             return createdate;
  |     }
  |     public void setCreatedate(Date createdate) {
  |             this.createdate = createdate;
  |     }
  |     @NotNull
  |     public String getFirst() {
  |             return first;
  |     }
  |     public void setFirst(String first) {
  |             this.first = first;
  |     }
  |     @Id @GeneratedValue @NotNull
  |     public long getId() {
  |             return id;
  |     }
  |     public void setId(long id) {
  |             this.id = id;
  |     }
  |     @NotNull
  |     public String getLast() {
  |             return last;
  |     }
  |     public void setLast(String last) {
  |             this.last = last;
  |     }
  |     @NotNull
  |     public String getPassword() {
  |             return password;
  |     }
  |     public void setPassword(String password) {
  |             this.password = password;
  |     }
  |     @NotNull
  |     public String getUsername() {
  |             return username;
  |     }
  |     public void setUsername(String username) {
  |             this.username = username;
  |     }
  |     
  |     
  | 
  | }
  | 


  | package org.transaria.apps.phonelog;
  | 
  | import java.util.List;
  | import javax.ejb.Interceptors;
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import org.hibernate.validator.Valid;
  | import org.jboss.seam.annotations.IfInvalid;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Outcome;
  | import javax.faces.application.FacesMessage;
  | import javax.faces.context.FacesContext;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | @Stateless
  | @Name("userutils")
  | @Interceptors(SeamInterceptor.class) 
  | //@LoggedIn
  | public class UserUtilsAction implements UserUtils {
  |     
  |     @In @Valid
  |     private User user;
  |     
  |     @PersistenceContext
  |     private EntityManager em;
  |     
  |     @In
  |     private FacesContext facesContext;
  |     
  |     @IfInvalid(outcome=Outcome.REDISPLAY) 
  |     public String createUser() {
  |             List existing = em.createQuery("select username from User where 
username=:username")
  |             .setParameter("username", user.getUsername())
  |             .getResultList();
  |             
  |             if (existing.size()==0)
  |             {
  |                     em.persist(user);
  |                     return "created";
  |             }
  |             else
  |             {
  |                     facesContext.addMessage(null, new 
FacesMessage("username already exists"));
  |                     return null;
  |             }
  |     }
  | 
  | }
  | 

I can send you more, but I am concered that this is a bigger issue as this was 
working code upto a couple days ago...I can zip up my entire eclipse project if 
need be.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921326#3921326

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921326


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to