NullPointerException when trying to run FopPrintServlet

Dear All,
I'm trying to run the FopPrintServlet shipped with Apache FOP 0.20.5 bin
release but i got the following exception which is related to a bug in OracleAS OC4J instance 10.1.2.0.2 as in the FOP code i didn't reference Oracle XML parser but i got the exception from the Class : oracle.xml.jaxp.JXTransformer.reportXSLException
So, how can i disable OC4J from referencing Oracle XML APIs which running Apache FOP java code.
java.lang.NullPointerException
at
oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:776)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:343)
at
oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:141)
at
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:286)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:184)
at oracle.xml.jaxp.JXXMLFilter.parse(JXXMLFilter.java:96)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at
ws.its.esc.bp.test.FopPrintServlet.renderXML(FopPrintServlet.java:100)
at
ws.its.esc.bp.test.FopPrintServlet.doPost(FopPrintServlet.java:68)
at ws.its.esc.bp.test.FopPrintServlet.doGet(FopPrintServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)

This is a duplicate of the following post:
NullPointerException when trying to run FopPrintServlet on JDeveloper
user513949,
If you are using OC4J stand-alone version 10.1.2.0.2, I suggest you refer to the following post:
Class loading issue in 10.1.2?  commons-codec
And you may need to set the following property:
javax.xml.parsers.SAXParserFactoryGood Luck,
Avi.

Similar Messages

  • NullPointerException when trying to run FopPrintServlet on JDeveloper

    Dear All,
    I'm trying to run the FopPrintServlet shipped with Apache FOP 0.20.5 bin
    release but i got the following exception which is related to a bug in JDeveloper 10.1.2 as in the FOP code i didn't reference Oracle XML parser but i got the exception from the Class : oracle.xml.jaxp.JXTransformer.reportXSLException
    So, how can i disable JDeveloper from referencing Oracle XML APIs which running Apache FOP java code.
    java.lang.NullPointerException
    at
    oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:776)
    at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:343)
    at
    oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:141)
    at
    oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:286)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:184)
    at oracle.xml.jaxp.JXXMLFilter.parse(JXXMLFilter.java:96)
    at org.apache.fop.apps.Driver.render(Driver.java:498)
    at
    ws.its.esc.bp.test.FopPrintServlet.renderXML(FopPrintServlet.java:100)
    at
    ws.its.esc.bp.test.FopPrintServlet.doPost(FopPrintServlet.java:68)
    at ws.its.esc.bp.test.FopPrintServlet.doGet(FopPrintServlet.java:47)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    This is a duplicate of the following post:
    NullPointerException when trying to run FopPrintServlet
    Cheers,
    Avi.

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • HT1349 When trying to run itunes on my PC, get this message. This application has failed to start because MSVCR80.dll was not found.

    When trying to run itunes on my PC, I get this message. This application has failed to start because MSVCR80.dll was not found. Do you have any clues on a solution?

    Welcome to Apple Support Communities
    A solution is listed in the thread below.
    It probably and other similar discussions appear in the More Like This window to the right of your question. The ones with a green check mark are questioned marked 'answered' by the original poster.
    https://discussions.apple.com/message/24610401#24610401

  • Error Message when trying to run Applications Module in OA Framework

    Below is the message that I received when trying to run my Applicaitons Module in test mode. When I click the error message I navigate to "public class TpcApBanksEOImpl extends OAEntityImpl". I was told to put "abstract" before "class" and to run it. It did compile after that, but I was wondering if anyone could tell me why.
    Error(12,8): class test_xxtpc.bc4j.TpcApBanksImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl

    User,
    Basically, an abstract method is a method in a class where just the signature is defined, and no implementation is provided. What you are being told by the compiler is that the method setLastupdateLogin is abstract, meaning that neither TpcApBanksImpl nor OAEntityImpl nor any of it's parents implement that method; therefore, your TpcApBanksImpl must be declared abstract.
    Hope this Helps,
    John

  • I'm getting a -2003F error when trying to run the internet recovery after installing a new hard disk in my macbook pro, any suggestions?

    After installing a new hard drive in my 2011 macbook pro, I'm getting a apple.com/support -2003F error when trying to run the internet recovery.  Any suggestions?

    Did you format the new HDD?  What is the status of the old HDD?
    Do you have an early or late 2011 MBP?
    Ciao.

  • NullPointerException when trying to load faces application

    Hi,
    I'm new with JSF and I have a NullPointerException when trying to use a JSF tag in my file.
    My web.xml is defined as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    </web-app>
    And faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    The exception that I get is:
    java.lang.NullPointerException
         javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
         org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
    (HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    I guess that it's a matter of configuration, but couldn't find a solution.
    Can someone help?
    Thanks,
    Efrat

    well i think you will need
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    in you web.xml as well can be server or client state save but quite sure you have to define that

  • Error Code 1000 when trying to run Backup Assistant Plus.

    I am getting backup failed and Error Code 1000 when trying to run Backup Assistant Plus.  Have not been able to backup for several weeks.Droid Razr Maxx.

        Hi ellendritz- We are dedicated to make it easier to backup your data! We have integrated Backup Assistant with the Verizon Cloud service offering you many more features and 5GB of storage free! Visit http://www.vzw.com/cloud for more details. The Verizon Cloud app is currently available for download in the Google PlayStore. Please attempt backup with the new application and keep me posted on the status as I would be happy to offer additional support if needed.
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • When trying to run any page on jdev 9.0.3.5 the jdev close

    when trying to run any page on jdev 9.0.3.5 the jdev close immidiatly and an empty log file is created i am using ie 8

    Hi,
    Check whether all the relevant services are up. If the problem still persist then there might be some issue with your JDeveloper.
    Regards,
    Gyan

  • Error when trying to run Advisor

    Hi!
    I get the following error when trying to run the Advisor (Application Builder > Application xxx > Utilities > Advisor) over our application:
    Unknown type! View: APEX_APPLICATION_PAGE_PROC Column: CONDITION_EXPRESSION1 Value: WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED
    ... this happens every time, even if I uncheck all boxes except one (e.g. "References with substitution syntax").
    I'm wondering if there is something wrong with our Apex installation as I can't see any other references to this problem in the forum. We don't seem to be suffering any other problems so I expect it's something small...
    Has anyone else ever encountered this and does anyone know of a solution? I would like to use the Advisor for some QA processes as it looks like a handy tool.
    Many thanks in advance,
    Alex.
    Versions:
    Apex 4.1.1.00.23
    Oracle DB 10.2.0.2

    Hi Alex,
    very interesting. Looks like one of your processes uses the WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED condition which has been deprecated for a very long time.
    If you execute the following query in your workspace schema, you should find those processes which do use the condition. You might want to check if the reported pages/processes are still used in your application.
    select application_id,
           application_name,
           page_id,
           page_name,
           process_name
      from APEX_APPLICATION_PAGE_PROC
    where CONDITION_EXPRESSION1 = 'WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED';Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Error when trying to run an application that worked when built with 8.6

    I have a simple program that I wrote in version 8.6 that I never had a problem building and running applications built with it in 8.6.  Two weeks ago I got 2009 in the mail because we had very recently purchased 8.6 and I am getting errors when trying to run an application built with the same code using 2009.  The error has to do with the Mean.vi.  It claims it cannot find it.  The error I get reads as follows:
    An error occurred loading VI 'NI_AALBase.lvlib:Mean.vi'.  LabVIEW load error code 3: Could not load front panel.  I don't need access to this vi's front panel, so I am wondering if it is a problem with the runtime engine and not my code.  Please respond as soon as possible as this will quickly start to impact my testing schedule.  Thank You.
    Solved!
    Go to Solution.

    Hi!
    The same problem ???
    I discussed it with my local NI technical support team. The application works without any problems now.
    Basic rule: when creating an installer be sure that option "Run Time Engine xxxx"  in "Additional Installers" category is checked in spite of the fact that Run Time Engine is already installed.
    Best regards.
    Attachments:
    ADDINST.png ‏13 KB

  • Getting a 502 Bad Gateway when trying to run a POST request for application on Lync UCWA on VPN

    I am getting a 502 Bad Gateway when trying to run a POST request for application info on Lync UCWA ("Policy prevents request from being proxied."). When I do a request without SSL, I get a 403 - Forbidden: Access is denied. 
    Is this becouse I am on VPN and not on the internal network? There are some policy on VPN or the IIS internal that denies me access?
    I have not tried it internal yet. Anyone else with this experience?

    Did you figure out your issue? I'm having a similar issue. Even thought I'm able to successfully sign-in to the Lync Server and obtain a Bearer token, I'm not getting any response from the server when sending a POST request to the application URI (https://<pool_fqdn>/ucwa/oauth/v1/applications).
    Wondering if it's a policy issue and if so, why user policy affects this access?
    thanks.

  • Problem when trying to run MD04

    I am experiencing problems when trying to run my MD04 Collective access, for vendor say X & Y.
    I buy many products from these vendors and I therefore need to have access to place these orders anytime of the day (as it can take more than one hour to raise the orders) and it is only allowing me access last thing in the day for some strange reason.
    Please can you look into this - I'm not sure if there is a server issue due to the size of the job, but I must have the ability to undertake this task.
    I tried to limit the selection further but still the problem is not getting solved.
    please tell me what else can be done?
    Thanks in advance.
    Regards,
    Sonal.

    Basically when i am trying to do collective access thru MD04 I am putting plant and vendor.
    the sys is not displaying the stock reqmt list but is getting time out.
    I tried limiting further by putting delivery dates, MRP controller but still it is not working.
    What else can be done?
    Thanks & Regards,
    Sonal

  • Error when Trying to Run Concurrent Request on ASCP Instance

    Hi Experts,
    I have an issue when trying to run custom concurrent program in ASCP production.
    The error message is:
    oracle error 20001
    ORA-20001: APP-FND-02901
    You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option MO: Operating Unit is set has been detected in MO_GLOBAL.INIT
    I have searched through metalink regarding this issue and the solution is I should define the "MO: Security Profile" and "MO: Operating Unit" profiles.
    But the problem is my ASCP instance is not have any OU, it just defined for Inv Orgs. So, when I tried to define the profile, the LOV is empty.
    FYI, in my ASCP dev instance is working fine. I can run my concurrent request into it.
    In this instance, the profiles of "MO: Security Profile" and "MO: Operating Unit" are blank too.
    From this node:
    XLAACCPB - Create Accounting Program fails with Oracle error -20001: ORA-20001: APP-FND-02901: You do not have access privilege to any operating unit [ID 753824.1]
    It provided 2 actions, and when I tried to run query in the 2nd action, the result is:
    /* $Header: AFPFPROB.pls 120.18.12010000.10 2009/04/24 19:33:53 pdeluna ship $ */
    Any help would be really appreciated.
    Thanks & Regards,
    Rheza

    Hello Rheza,
    We are also facing the same issue in Self Service HR, We also do not have any Operating Unit setup.
    We are trying to run seeded "Active Users" concurrent program. Are you sure without setup of MO: Security Profile / MO: Operating Unit, It will work?
    Regards,
    Saurabh

  • Exception CX_RS_ERROR occurred when trying to run the DTP from Cube

    Hi everyone,
    I've run the DTP &  loaded the cube using normal transformation routines , it works fine in the Dev Sys but not in quality & production. I've access only to the Dev sys. In Qual & Prod when trying to run the DTP from Cube to open HUB
    we're getting the following error
    Exception CX_RS_ERROR occurred (program: CL_RSTRAN_TRFN================CP, include: CL_RSTRAN_TRFN================CM024*
    My system support package level is SAPKW70106.
    I've found note 920338 but is for SAPKW70107.

    Hi,
    The issue seems to be with the one of the routines in the transformation and similar kind of the issues were solved by retransporting the DTP & the related transformation.
    Kindly reactivate the DTP and transformation in the source and execute a new request to transport the DTP, transformation and related routines to Quality & Production again.
    Hope this helps.
    Rgds,
    Colum

Maybe you are looking for