Проблем с първата подготовка при регистриране на потребител

Здравейте,

Колеги имам проблем с регистрирането на user.Изписва доста голяма грешка.

Ето тук ми е кода https://github.com/KosyoKosev/Soft-Uni/tree/master/Java%20Web/Java%20Web%20Development%20Basic/Exam%20preparation

Според мен има някаква грешка с ентитита, така мисля защото повреме на зареждане на сървара ми изписва тази грешка

23-Feb-2019 15:56:52.082 WARNING [http-nio-8000-exec-4] null.openjpa.Enhance An exception was thrown while attempting to perform class file transformation on "softuni.exam.domain.entities.User":
 java.lang.IllegalArgumentException: Unsupported class file major version 55

това го изписва и за двете ентитита.

 

Това е грешката която изписва в браузара:

Type Exception Report

Message javax.el.ELException: java.lang.NullPointerException

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:236)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:65)

Root Cause

org.apache.myfaces.view.facelets.el.ContextAwareELException: javax.el.ELException: java.lang.NullPointerException
	org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:108)
	org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
	javax.faces.component.UICommand.broadcast(UICommand.java:120)
	javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1255)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:420)
	javax.faces.component.UIViewRoot._process(UIViewRoot.java:1741)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:935)
	org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:42)
	org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:195)
	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:142)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:204)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:65)

Root Cause

javax.el.ELException: java.lang.NullPointerException
	org.apache.el.parser.AstValue.invoke(AstValue.java:260)
	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)
	org.apache.webbeans.el22.WrappedMethodExpression.invoke(WrappedMethodExpression.java:50)
	org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
	org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
	javax.faces.component.UICommand.broadcast(UICommand.java:120)
	javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1255)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:420)
	javax.faces.component.UIViewRoot._process(UIViewRoot.java:1741)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:935)
	org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:42)
	org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:195)
	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:142)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:204)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:65)

Root Cause

java.lang.NullPointerException
	softuni.exam.web.beans.RegisterBean.register(RegisterBean.java:50)
	softuni.exam.web.beans.RegisterBean$$OwbNormalScopeProxy0.register(softuni/exam/web/beans/RegisterBean.java)
	java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.base/java.lang.reflect.Method.invoke(Method.java:566)
	org.apache.el.parser.AstValue.invoke(AstValue.java:247)
	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)
	org.apache.webbeans.el22.WrappedMethodExpression.invoke(WrappedMethodExpression.java:50)
	org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
	org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
	javax.faces.component.UICommand.broadcast(UICommand.java:120)
	javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1255)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:420)
	javax.faces.component.UIViewRoot._process(UIViewRoot.java:1741)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:935)
	org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:42)
	org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:195)
	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:142)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:204)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:65)

Note The full stack trace of the root cause is available in the server logs.

 

Благодаря предварително.