DO NOT REPLY [Bug 47953] New: NullPointerException in AFPRendererConfigurator

View: New views
5 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 47953] New: NullPointerException in AFPRendererConfigurator

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47953

           Summary: NullPointerException in AFPRendererConfigurator
           Product: Fop
           Version: all
          Platform: Other
        OS/Version: Windows Vista
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: fonts
        AssignedTo: fop-dev@...
        ReportedBy: vanukuri.venkat@...


When I try to generate AFP output file from Simple FO, I am getting the
following error:

07-Oct-2009 10:31:03 org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
        at
org.apache.fop.render.afp.AFPRendererConfigurator.buildFontListFromConfiguration(AFPRendererConfigurator.java:269)
        at
org.apache.fop.render.afp.AFPRendererConfigurator.configure(AFPRendererConfigurator.java:301)
        at
org.apache.fop.render.RendererFactory.tryRendererMaker(RendererFactory.java:304)
        at
org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:264)
        at
org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:69)
        at
org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:130)
        at org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:102)
        at
org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:359)
        at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:105)
        at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100)
        at org.apache.fop.apps.Fop.<init>(Fop.java:78)
        at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:253)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:107)
        at org.apache.fop.cli.Main.startFOP(Main.java:174)
        at org.apache.fop.cli.Main.main(Main.java:205)

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47953

Venkat Reddy <vanukuri.venkat@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vanukuri.venkat@googlemail.
                   |                            |com

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47953

--- Comment #1 from Venkat Reddy <vanukuri.venkat@...> 2009-10-07 03:01:58 PDT ---
This bug is happening only for AFPRenderer, AFPPainter is working properly.

I have used the following command at the command prompt:

fop -c C:\foptest\fop.xconf -fo C:\foptest\pageoverlay.fo -afp
C:\foptest\pageoverlay.afp

I have used the <prefer-renderer>true</prefer-renderer> in my fop configuration
file to force the render instead of painter

please find the FO file attached to this bug.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47953

--- Comment #2 from Venkat Reddy <vanukuri.venkat@...> 2009-10-07 03:03:38 PDT ---
Created an attachment (id=24354)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24354)
This is a simple page overlay sample fo file

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47953

Jeremias Maerki <jeremias@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Jeremias Maerki <jeremias@...> 2009-10-07 06:55:02 PDT ---
Fixed: http://svn.apache.org/viewvc?rev=822742&view=rev
Thanks for the error report and sorry for the silly mistake.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.