Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Aspose PDF Null Pointer Exception

$
0
0
Hello,

I am using Aspose PDF version 3.0.1 (aspose.pdf-3.0.1.jdk16.jar).

I am getting below error while creating PDF document using Java Application with row coloring. If I remove row coloring, report is getting generated without any issues. 

Request your help in solving this.

JBWEB000309: type JBWEB000066: Exception report

JBWEB000068: message java.lang.NullPointerException

JBWEB000069: description JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.

JBWEB000070: exception

javax.servlet.ServletException: java.lang.NullPointerException
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
	com.nissan.pps.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58)

JBWEB000071: root cause

javax.faces.el.EvaluationException: java.lang.NullPointerException
	javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
	javax.faces.component.UICommand.broadcast(UICommand.java:315)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
	com.nissan.pps.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58)

JBWEB000071: root cause

java.lang.NullPointerException
	aspose.pdf.xml.Aaj.a(SourceFile:570)
	aspose.pdf.xml.Aca.a(SourceFile:246)
	aspose.pdf.xml.Aci.a(SourceFile:545)
	aspose.pdf.xml.Abt.a(SourceFile:186)
	aspose.pdf.xml.Aas.a(SourceFile:100)
	aspose.pdf.xml.Aba.a(SourceFile:122)
	aspose.pdf.Pdf.save(SourceFile:924)
	com.nissan.pps.ui.controller.reports.ReportPriceChecklistInput.pdfGenertaion(ReportPriceChecklistInput.java:455)
	com.nissan.pps.ui.controller.reports.ReportPriceChecklistInput.priceCodeAuditBeanPdf(ReportPriceChecklistInput.java:132)
	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.apache.el.parser.AstValue.invoke(AstValue.java:258)
	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
	org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
	org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
	com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
	javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
	javax.faces.component.UICommand.broadcast(UICommand.java:315)
	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
	com.nissan.pps.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58)

Thanks.

Viewing all articles
Browse latest Browse all 3131

Trending Articles