Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1191984

Summary: Unable to run kitchensink-ml quickstart in JBDS
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Nikoleta Hlavickova <nziakova>
Component: QuickstartsAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bsutter, fbricon, jkudrnac, manderse
Target Milestone: ER3   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:41:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikoleta Hlavickova 2015-02-12 10:48:26 UTC
After successful deploy of kitchensink-ml quickstart using JBDS, the webapp is displayed. After filling in the form, an exception is thrown, see below. When trying to deploy the application using JBDS and then filling the form using web browser, an exception is thrown, too. When trying the same without JBDS, everything works fine.

JBWEB000309: type JBWEB000066: Exception report

JBWEB000068: message java.lang.ExceptionInInitializerError

JBWEB000069: description JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.

JBWEB000070: exception

javax.servlet.ServletException: java.lang.ExceptionInInitializerError
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)

JBWEB000071: root cause

javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError
	javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
	javax.faces.component.UICommand.broadcast(UICommand.java:315)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

JBWEB000071: root cause

java.lang.ExceptionInInitializerError
	org.jboss.as.quickstarts.kitchensink.controller.MemberController.register(MemberController.java:56)
	org.jboss.as.quickstarts.kitchensink.controller.MemberController$Proxy$_$$_WeldClientProxy.register(MemberController$Proxy$_$$_WeldClientProxy.java)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.apache.el.parser.AstValue.invoke(AstValue.java:258)
	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
	org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
	org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
	com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
	javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
	javax.faces.component.UICommand.broadcast(UICommand.java:315)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

JBWEB000071: root cause

java.lang.IllegalArgumentException: Invalid bundle interface org.jboss.as.quickstarts.kitchensink.util.KitchensinkMessages (implementation not found)
	org.jboss.logging.Messages$1.run(Messages.java:83)
	java.security.AccessController.doPrivileged(Native Method)
	org.jboss.logging.Messages.getBundle(Messages.java:58)
	org.jboss.as.quickstarts.kitchensink.util.KitchensinkMessages.<clinit>(KitchensinkMessages.java:31)
	org.jboss.as.quickstarts.kitchensink.controller.MemberController.register(MemberController.java:56)
	org.jboss.as.quickstarts.kitchensink.controller.MemberController$Proxy$_$$_WeldClientProxy.register(MemberController$Proxy$_$$_WeldClientProxy.java)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.apache.el.parser.AstValue.invoke(AstValue.java:258)
	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
	org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
	org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
	com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
	javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
	javax.faces.component.UICommand.broadcast(UICommand.java:315)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

Comment 1 sgilda 2015-02-12 12:26:01 UTC
Adding Fred and Max. I assume it's a packaging issue?

Comment 2 Fred Bricon 2015-02-12 13:30:28 UTC
It's a problem with annotation processing not being enabled by default, see previous related issues (I don't have the #s handy). Try adding <m2e.apt.activation>jdt_apt</m2e.apt.activation> to the pom <properties> section

Comment 3 Fred Bricon 2015-02-12 13:31:45 UTC
The key here is : java.lang.IllegalArgumentException: Invalid bundle interface [...] (implementation not found). For future references.

Comment 4 sgilda 2015-02-12 14:05:45 UTC
Thanks for the tip Fred!

I just checked back with the other related bugs and it seems the common thread here is the "java.lang.IllegalArgumentException" and "implementation not found".

Bug 1182606: java.lang.IllegalArgumentException: Invalid bundle interface org.jboss.as.quickstarts.kitchensink_ear.util.KitchensinkMessages (implementation not found)

Bug 1183013: java.lang.IllegalArgumentException: Invalid logger interface org.jboss.as.quickstarts.loggingToolsQS.loggers.GreeterLogger (implementation not found in ModuleClassLoader for Module "deployment.jboss-logging-tools.war:main" from Service Module Loader)

Bug 1178748: (no stacktrace included)

Comment 6 Nikoleta Hlavickova 2015-02-27 13:18:31 UTC
Verified with EAP 6.4.0.ER3.