[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3841) Cannot generate translated manual
by Nicola Benaglia (JIRA)
Cannot generate translated manual
---------------------------------
Key: JBSEAM-3841
URL: https://jira.jboss.org/jira/browse/JBSEAM-3841
Project: Seam
Issue Type: Bug
Components: Documentation Translation
Environment: Ubuntu 8.04,
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Client VM (build 1.6.0_0-b11, mixed mode)
Reporter: Nicola Benaglia
Hi,
launching ant with translation activated causes this exception:
[java] [INFO] Processing translation [fr-FR]
[java] [INFO] Processing translation [it-IT]
[java] [INFO] [jdocbook:generate]
[java] 13-dic-2008 19.03.16 org.apache.fop.hyphenation.Hyphenator getHyphenationTree
[java] GRAVE: Couldn't find hyphenation pattern en
[java] 13-dic-2008 19.03.21 org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2
[java] AVVERTENZA: Line 1 of a paragraph overflows the available area. (fo:block, location: -1/-1)
[java] [INFO] ------------------------------------------------------------------------
[java] [ERROR] FATAL ERROR
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] null
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Trace
[java] java.lang.NullPointerException
[java] at org.apache.fop.render.pdf.FopPDFImage.setup(FopPDFImage.java:144)
[java] at org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:726)
[java] at org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1464)
[java] at org.apache.fop.render.pdf.PDFRenderer.renderImage(PDFRenderer.java:1391)
[java] at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:752)
[java] at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:541)
[java] at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:635)
[java] at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:610)
[java] at org.apache.fop.render.pdf.PDFRenderer.renderLineArea(PDFRenderer.java:1081)
[java] at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:536)
[java] at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:586)
[java] at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
[java] at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:431)
[java] at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:410)
[java] at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:344)
[java] at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:289)
[java] at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:262)
[java] at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:236)
[java] at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:713)
[java] at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:120)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:786)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:741)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager.handleBreakTrait(PageSequenceLayoutManager.java:827)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager.access$300(PageSequenceLayoutManager.java:62)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.startPart(PageSequenceLayoutManager.java:505)
[java] at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:420)
[java] at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhase3(PageSequenceLayoutManager.java:369)
[java] at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
[java] at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
[java] at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:157)
[java] at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)
[java] at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:148)
[java] at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
[java] at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
[java] at com.icl.saxon.output.ContentHandlerProxy.endElement(ContentHandlerProxy.java:137)
[java] at com.icl.saxon.output.ProxyEmitter.endElement(ProxyEmitter.java:91)
[java] at com.icl.saxon.output.NamespaceEmitter.endElement(NamespaceEmitter.java:150)
[java] at com.icl.saxon.output.GeneralOutputter.writeEndTag(GeneralOutputter.java:681)
[java] at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:293)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
[java] at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
[java] at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
[java] at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
[java] at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
[java] at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
[java] at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
[java] at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
[java] at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
[java] at com.icl.saxon.Controller.defaultAction(Controller.java:271)
[java] at com.icl.saxon.Controller.applyTemplates(Controller.java:236)
[java] at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLIf.process(XSLIf.java:78)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
[java] at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
[java] at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
[java] at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
[java] at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
[java] at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
[java] at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
[java] at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
[java] at com.icl.saxon.Controller.run(Controller.java:178)
[java] at com.icl.saxon.Controller.transformDocument(Controller.java:1086)
[java] at com.icl.saxon.Controller.transform(Controller.java:953)
[java] at org.jboss.jdocbook.render.impl.BasicRenderer.performRendering(BasicRenderer.java:123)
[java] at org.jboss.jdocbook.render.impl.BasicRenderer.render(BasicRenderer.java:115)
[java] at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:117)
[java] at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:250)
[java] at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:282)
[java] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
[java] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
[java] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
[java] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
[java] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
[java] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
[java] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
[java] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
[java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
[java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:616)
[java] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[java] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[java] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[java] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Total time: 1 minute 26 seconds
--
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
16 years, 1 month
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3840) Annotations with default values (Convention over Configuration)
by walter mauritz (JIRA)
Annotations with default values (Convention over Configuration)
---------------------------------------------------------------
Key: JBSEAM-3840
URL: https://jira.jboss.org/jira/browse/JBSEAM-3840
Project: Seam
Issue Type: Feature Request
Components: Framework, Spring
Affects Versions: The future
Reporter: walter mauritz
convetion over configuration to make it easier for developers:
now:
@Name("abcXyz") //ALL documentation i have seen so far anyway uses the classname, so why do i have to mention it twice
public class AbcXyz
suggested default:
@Name
public class AbcXyz
-> seam component "abcXyz"
same goes for injection of spring components
old:
@In("#{hibernateTemplate}") HibernateTemlate hibernateTemplate; //why do I have to mention it 3 times?
suggested:
@SpringByType HibernateTemlate hibernateTemplate; //use classname first case lower
@SpringByName HibernateTemlate hibernateTemplate; //use variable name first case lower
--
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
16 years, 1 month
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3835) @UserPrincipal doesn't work when used in variable declaration.
by Andre Salvati (JIRA)
@UserPrincipal doesn't work when used in variable declaration.
--------------------------------------------------------------
Key: JBSEAM-3835
URL: https://jira.jboss.org/jira/browse/JBSEAM-3835
Project: Seam
Issue Type: Bug
Affects Versions: 2.1.0.SP1
Reporter: Andre Salvati
Related to https://jira.jboss.org/jira/browse/JBSEAM-3556
1) Make this change in class MemberAccount.java into seam-space example
@NotNull @UserPrincipal
private String username;
..........
//@NotNull @UserPrincipal
public String getUsername()
{
return username;
}
2) deploy, register a new user and try to login.
java.lang.IllegalAccessException: Class org.jboss.seam.util.Reflections can not access a member of class org.jboss.seam.example.seamspace.MemberAccount with modifiers "private"
sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
java.lang.reflect.Field.doSecurityCheck(Field.java:960)
java.lang.reflect.Field.getFieldAccessor(Field.java:896)
java.lang.reflect.Field.set(Field.java:657)
org.jboss.seam.util.Reflections.set(Reflections.java:71)
org.jboss.seam.util.Reflections.setAndWrap(Reflections.java:119)
org.jboss.seam.util.AnnotatedBeanProperty.setValue(AnnotatedBeanProperty.java:99)
org.jboss.seam.security.management.JpaIdentityStore.createUser(JpaIdentityStore.java:207)
org.jboss.seam.security.management.IdentityManager.createUser(IdentityManager.java:98)
org.jboss.seam.security.management.IdentityManager.createUser(IdentityManager.java:92)
org.jboss.seam.example.seamspace.RegisterAction$1.execute(RegisterAction.java:104)
org.jboss.seam.security.Identity.runAs(Identity.java:734)
org.jboss.seam.security.RunAsOperation.run(RunAsOperation.java:84)
org.jboss.seam.example.seamspace.RegisterAction.uploadPicture(RegisterAction.java:102)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
--
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
16 years, 1 month