Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7854429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:03:49+00:00 2026-06-02T20:03:49+00:00

Hi have deployed web app on Stratos Live I can run the web app

  • 0

Hi have deployed web app on Stratos Live I can run the web app there. But When I go to a particular web page that have dependencies with external libraris(Stanforsparser.jar, PdfBox.jar) it gives me a blank page. I found this error log on the server. I can run this webapp in my local Stratoes Application server without any problem

Server Log

[WSO2 Stratos Application Server] [2012-03-28 23:40:48,627]
@karsha.opensource.lk [11051] [WSO2 Stratos Application Server]ERROR
{org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/t/karsha.opensource.lk/webapps/KarshaMarkUp].[jsp]}
– Servlet.service() for servlet jsp threw exception {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/t/karsha.opensource.lk/webapps/KarshaMarkUp].[jsp]

What would causing this error?


I’m getting this error on webpage now when running my web app on StratoesLive App server, but I’m not getting this error on the local App server. A bug? Although I have debugged on my local machine I can’t find the error.

code- http://paste.org/47396

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NullPointerException
    controler.ControlerServelet.pdfDocToSentence(ControlerServelet.java:755)   // I have mentioned thses two lines 
    controler.ControlerServelet.doPost(ControlerServelet.java:585)                    //   in 
    javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:270)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:305)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.14 logs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T20:03:50+00:00Added an answer on June 2, 2026 at 8:03 pm

    This is because Stratos security manager dosen’t allow writing temporary files. Mentioned external libraries writes temp files when they executing. Forcing to use memory buffers instead of temp files solves the error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application that is deployed with web.config file. Are there any
I have a C# Web app that runs perfectly fine in VS2010, but when
I have a GWT web application that I have deployed in App engine, however
I am currently working on a web app that had previously run and deployed
I have deployed my PHP web app on Amazon Ec2 cloud , but my
I have a web app that I deployed in AppHarbor with Google Analytics. Development
We have multiple copies of a web-app that is deployed on multiple paths on
I have deployed a Silverlight 5 PivotViewer web app that runs successfully on the
I currently have an app deployed on Heroku which runs on two web dynos
We're working on a web app that will deployed to mobile devices, iPad, iPhone,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.