StAXOMBuilmder IllegalStateException: No valid ObjectCreator found


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: StAXOMBuilmder IllegalStateException: No valid ObjectCreator found

  1. #1
    Join Date
    Oct 2008
    Posts
    1

    StAXOMBuilmder IllegalStateException: No valid ObjectCreator found

    Hi all,

    I'm working on a specific implementation of WS-Federation spec and I have a problem with the

    StAXOMbuilder incantiation :

    Code:
    String path = "a path";
    try {
       StAXOMBuilder builder = new StAXOMBuilder(path);
    }catch(FileNotFoundException e){
       throw new FederationException("Error creating new StAXOMBuilder with file at path : " + path + " FileNotFoundException");
    }catch(XMLStreamException e){
       throw new FederationException("Error creating new StAXOMBuilder with file at path : " + path + " XMLStreamException");
    }
    Here are the traces... There are two traces because the first time I run my application I have a specific error and the second time the error is not the same.

    Trace 1:
    Code:
    java.lang.IllegalStateException: No valid ObjectCreator found.
    org.apache.axiom.om.util.StAXUtils$Pool.<init>(StAXUtils.java:64)
    org.apache.axiom.om.util.StAXUtils.<clinit>(StAXUtils.java:88)
    org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:110)
    com.sap.r4egov.rte.fed_id.FedIdModuleData.setModuleFedConfig(FedIdModuleData.java:494)
    com.sap.r4egov.rte.fed_id.FedIdModuleData.getInstance(FedIdModuleData.java:398)
    com.sap.r4egov.rte.fed_id.webapp.FederationManagementServlet.doPost(FederationManagementServlet.java:86)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Trace 2 :
    Code:
    java.lang.NoClassDefFoundError
    org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:110)
    com.sap.r4egov.rte.fed_id.FedIdModuleData.setModuleFedConfig(FedIdModuleData.java:494)
    com.sap.r4egov.rte.fed_id.FedIdModuleData.getInstance(FedIdModuleData.java:398)
    com.sap.r4egov.rte.fed_id.webapp.FederationManagementServlet.doPost(FederationManagementServlet.java:86)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Thanks for any help...
    Last edited by Hack; 10-07-2008 at 09:36 AM. Reason: Added Code Tags

Similar Threads

  1. Replies: 5
    Last Post: 06-28-2008, 01:58 PM
  2. C++ Enumeration Class
    By kofler4404 in forum C++
    Replies: 12
    Last Post: 03-21-2007, 05:22 AM
  3. Replies: 1
    Last Post: 01-12-2006, 07:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center