I had this error when I didn't have the JDK installed. Make sure you have it 
installed and JAVA_HOME is set properly. :)

----- "Lana Brindley" <[email protected]> wrote:

> From: "Lana Brindley" <[email protected]>
> To: "publican" <[email protected]>
> Sent: Wednesday, June 9, 2010 4:25:40 PM GMT +10:00 Brisbane
> Subject: [publican-list] Building local PDF
>
> When I try to build a pdf locally using:
> $ publican build --lang=en-US --format=pdf
> 
> Publican appears to work correctly until reporting an error:
> Jun 9, 2010 4:22:38 p.m. org.apache.fop.cli.Main startFOP
> SEVERE: Exception
> java.lang.NullPointerException
>     at
> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>     at
> org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>     at org.apache.fop.cli.Main.startFOP(Main.java:166)
>     at org.apache.fop.cli.Main.main(Main.java:196)
> 
> Upon checking the PDF folder, it's empty.
> 
> What am I doing wrong?
> 
> L
> 
> -- 
> Lana Brindley
> Content Author II
> Engineering Content Services
> +61 7 3514 8178 - ext (85) 88178
> RHEL5 RHCT: 605008757717273
> 
> "All parts should go together without forcing. You must remember that
> the parts you are reassembling were disassembled by you. Therefore,
> if
> you can't get them together again, there must be a reason. By all
> means, do not use hammer." -- IBM maintenance manual, 1975
> 
> _______________________________________________
> publican-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/publican-list
> Wiki: https://fedorahosted.org/publican

-- 
Misty Stanley-Jones
Content Author, ECS
1/193 North Quay, Brisbane QLD 4000
Ph: +61 7 3514 8105
Mobile: +61 429 595 932
Time Zone: GMT+10

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to