[webbeans-issues] [JBoss JIRA] Created: (WBRI-251) Documentation issues
by Jozef Hartinger (JIRA)
Documentation issues
--------------------
Key: WBRI-251
URL: https://jira.jboss.org/jira/browse/WBRI-251
Project: Web Beans
Issue Type: Bug
Components: Documentation
Affects Versions: 1.0.0.PREVIEW1
Reporter: Jozef Hartinger
Fix For: 1.0.0.PREVIEW2
Here are some documentation issues:
1.) Unordered lists:
In many places in documentation, I can see list items containing commas and periods at the end of line as well as "and" at the last but one item. These should not be there. Some occurences: 1.2.1, , 1.3.1, 1.3.2, etc
2.) Outdated source code for Game.java in section 3.4
3.) Java ServerFaces instead of JavaServer Faces in 3.4.2
4.) Section 1.3.2 unclear
Third paragraph talks about a "remove" method or "remove method annotated with @Destructor". However, the source code excerpt that follows this paragraph shows "destroy" method annotated with "@Remove".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[webbeans-issues] [JBoss JIRA] Created: (WBRI-208) Producer field on session bean throws IllegalArgumentException
by Shane Bryzak (JIRA)
Producer field on session bean throws IllegalArgumentException
--------------------------------------------------------------
Key: WBRI-208
URL: https://jira.jboss.org/jira/browse/WBRI-208
Project: Web Beans
Issue Type: Bug
Affects Versions: 1.0.0.BETA1
Reporter: Shane Bryzak
See the following two tests in org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.EnterpriseProducerFieldDefinitionTest to reproduce:
testNonStaticProducerFieldNotInherited()
testNonStaticProducerFieldNotIndirectlyInherited()
The test is throwing the following exception - it seems that ProducerFieldBean.produceInstance() is trying to use the session bean's local interface to set the field value. On a side note, the exception message produced by Reflections.getAndWrap() could probably be improved.
FAILED: testNonStaticProducerFieldNotInherited
javax.inject.ExecutionException: Error getting field egg on class org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.Chicken
at org.jboss.webbeans.util.Reflections.getAndWrap(Reflections.java:460)
at org.jboss.webbeans.introspector.jlr.AnnotatedFieldImpl.get(AnnotatedFieldImpl.java:93)
at org.jboss.webbeans.bean.ProducerFieldBean.produceInstance(ProducerFieldBean.java:83)
at org.jboss.webbeans.bean.AbstractProducerBean.create(AbstractProducerBean.java:337)
at org.jboss.webbeans.context.DependentContext.get(DependentContext.java:78)
at org.jboss.webbeans.ManagerImpl.getInstance(ManagerImpl.java:663)
at org.jboss.webbeans.ManagerImpl.getInstance(ManagerImpl.java:626)
at org.jboss.webbeans.ManagerImpl.getInstance(ManagerImpl.java:619)
at org.jboss.webbeans.ManagerImpl.getInstanceByType(ManagerImpl.java:788)
at org.jboss.webbeans.ManagerImpl.getInstanceByType(ManagerImpl.java:756)
at org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.EnterpriseProducerFieldDefinitionTest.testNonStaticProducerFieldNotInherited(EnterpriseProducerFieldDefinitionTest.java:28)
at org.jboss.testharness.AbstractTest.run(AbstractTest.java:238)
at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.webbeans.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: Can not set org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.Egg field org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.Chicken.egg to org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.ChickenLocal_$$_javassist_51
at org.jboss.webbeans.util.Reflections.getAndWrap(Reflections.java:456)
... 64 more
... Removed 31 stack frames
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month