Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
glossen #1
cfdocument on OS X
I have been trying the following in MX7...
<cfdocument format="pdf"> Hello World!!!
<cfdocumentitem type="pagebreak"/>
<cfdocumentitem type="header">
Company Name
</cfdocumentitem >
<cfdocumentitem type="footer">
<div align="center">
<font color="navy" size="1" face="Tahoma">
page
<cfoutput>
#cfdocument.currentpagenumber#
</cfoutput>/
<cfoutput>
#cfdocument.totalpagecount#
</cfoutput>
</font>
</div>
</ cfdocumentitem >
<!-- insert your other HTML text here-->
</cfdocument>
I get this error:
An exception occurred when performing document processing.
The cause of this exception was that: java.lang.NullPointerException.
The error occurred in
/Applications/JRun4/servers/default/cfusion/WALLRICH2/articlepdf.cfm: line 18
16 : </font>
17 : </div>
18 : </ cfdocumentitem >
19 : <!-- insert your other HTML text here-->
20 : </cfdocument>
Ive checked some other threads but nothing jumps out at me, Im wondering if it
is an issue with me running this on OS X?
glossen Guest
-
CFDocument
Hi, I used database to store file name and path to the image file then made a page with cfdocument tag to display them. What I found out is, if... -
Help with <cfdocument>
Hi, I have a client who distributes a coupon ad paper and wants to put it online and keep it's same format. He wants viewers to be able to print... -
<cfdocument> and CSS
I am having problems getting my CSS to work with my <cfdocument>. If I use inline CSS it works great but if I try to import, link, or delcare the... -
CFDOCUMENT AND CSS
I have created a coldfusion page that has a cfdocument in flashpaper. When I view the cfm document in a browser it shows all my CSS lines and... -
CFDocument - RTF
:( Hi All, I am having problems saving output to .pdf format. The output is RTF that has been converted to HTML using a third-party .dll. The... -
glossen #2
Re: cfdocument on OS X
I tried something a bit easier and still got a message (see below). Does
anyone know if I could possibly be configured wrong, this is kind of the reason
I upgraded to MX7 in the first place. Thank You.
An exception occurred when performing document processing.
The cause of this exception was that: java.lang.NullPointerException.
The error occurred in
/Applications/JRun4/servers/default/cfusion/WALLRICH2/articlepdf.cfm: line 1
1 : <cfdocument format="pdf">
2 : Hello World!!!
3 : </cfdocument>
glossen Guest
-
glossen #3
Re: cfdocument on OS X
I have searched google, macromedia, support, issues and have mostly just found
pagebreak errors (i wish i could get that). I even learned what a
java.lang.null pointer was. I will include the stack trace here, I am quite
dismayed and desperate since again this is why I bought mx7 in the first.
Thanks anyone who looked at this and tried, after looking through problems and
seeing great comments on cfdocument while finding no threads correlating to OS
X I can only determine it is a problem with my platform, but I dont know that
for sure. Any help is appreciated!
java.lang.NullPointerException
at
coldfusion.document.DocumentExporter.export(Docume ntExporter.java:190)
at
coldfusion.document.DocumentFrame.exportContent(Do cumentFrame.java:112)
at
coldfusion.document.DocumentProcessor.ProcessConte nt(DocumentProcessor.java:106)
at
coldfusion.tagext.lang.DocumentTag.doAfterBody(Doc umentTag.java:1084)
at
cfarticlepdf2ecfm2088586535.runPage(/Applications/JRun4/servers/default/cfusion/
WALLRICH2/articlepdf.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:343)
at coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:65)
at
coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:210)
at coldfusion.filter.PathFilter.invoke(PathFilter.jav a:86)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilt er.java:27)
at coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:50)
at
coldfusion.filter.BrowserDebugFilter.invoke(Browse rDebugFilter.java:52)
at
coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
er.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:38)
at coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
coldfusion.bootstrap.BootstrapServlet.service(Boot strapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:541)
at jrun.servlet.http.WebService.invokeRunnable(WebSer vice.java:172)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:426)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)
glossen Guest
-
glossen #4
Re: cfdocument on OS X
I was snooping around in the administrator to see if i could accomplish
anything in there. When I selected the font management page I got the
following error:
Variable DOCUMENTSERVICE is undefined
Not sure if that has anything to do with this but it seemed pertinent. Never
seen an error in admin before?!?
glossen Guest



Reply With Quote

