Strange error when using the ParserAdapter class

Hi Gurus:
in my app,
i created a ParserAdapter class
ParserAdapter pa = new ParserAdapter();
Then I set the ContentHandler and ErrorHandler
pa.setContentHandler(ContentHandeler ch);
pa.setErrorHandler(ErroHandler er);
and in my main() I have
String xmlFile = "file:///c:/test.xml"; (this is the URL of the xml file i want to parse)
then I call pa.parse(xmlFile);
and I get the following exception
org.xml.sax.SAXException:
System property "org.xml.sax.parser" not specified
Can someone please tell me what i did wrong? I check my xml and its dtd, they are both fine
Any help would be greatly appreciated, thanks

Try setting the property .e.g
System.setProperty("org.xml.sax.parser","<QualifiedpathToYourParser>");

Similar Messages

  • Intermittent  error when using the Disco Viewer client

    Hi, I have a user receiving the following intermittent error when using the Discoverer Viewer client:
    “The application encountered an invalid state.
    - Discoverer Beans XML Exception. Method: findNode Class: XMLUtils Error: Cannot find parent node. Parent element does not exist in XML document, looking for database_account/eul
    OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again.”
    Any idea what this might be? Any help or direction would be very much appreciated! Thank you!

    Hello
    Is this related to a single machine or common to a single report or is it purely random?
    I did a search on your behalf and came up with nothing related to this error. You may therefore need to raise the problem with Oracle Support.
    Just out of curiosity which version of Discoverer are you using?
    Michael

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • TS1702 unknown error when using the app store

    unknown error when using the app store

    Im sorry I will try to be more clear.. and I appreciate all of ur input. Wi-fi works fine.. everything opens and functions fine on the I pad. The problem is I will click on app store or the I tunes store...it opens fine and I am able to look at and download apps  etc... but after being in the appstore or I tunes store for a couple of minutes I get kicked out to the I pads home screen. Its like pushing the home button but I didn't. It only seems to do this when im in the app store or I tunes store. I have been using the chrome browser and other downloaded apps such as ebay just fine with out this problem occurring. Not sure about safari as I dont use it and use chrome instead. Um I don't think the home button its self is faulty because it works fine and as stated before this only happens when I am in the appstore or I tunes . I've only had this I pad 1 64gb wi-fi for a few days .. I got it off of ebay it was stuck in restore mode getting error code 1611.  I was able to successfully Restore it with I tunes and it running ios 5.1. Seams to work great besides the problem being mentioned.

  • UDESEncrypt Errors when using the JAVA engine (NW IDM 7.0)

    Folks,
    I'm seeing an error when I use the uDESEncrypt function with the Java Engine in NW IDM SP2 Patch 3.
    The error I am getting is:
    runFunctionsInString($FUNCTION.encrPWD()$$) got exception
    org.mozilla.javascript.EvaluatorException: uDESEncrypt: Key should be exactly 24 bytes long.
    The code calling it is:
    // Main function: encrPWD
    function encrPWD(Par){
         //Example calling DSE internal function
         //UserFunc.uStop("Terminated by user");
         key = "C:\Program Files\SAP\IdM\Workflow\configs\KEY\keys.ini";
         OutString = UserFunc.uDESEncrypt(key, Par);
         return OutString;
    I have also seen this error when using Patch 4.
    Interestingly enough, the error does not occur when using the Windows Engine.  Anyone else seeing this?
    Thanks,
    Matt

    Hi Matthew,
    Try to replace the '\' with '
    key = "C:
    Program Files
    SAP
    IdM
    Workflow
    configs
    KEY
    keys.ini";
    Alternative approaches,
    1) setting key empty and it will look into %DSE_HOME%\KEY\key.ini
      which should be C:\Program Files\SAP\IdM\Identity Center\Key\key.ini on default installation path.
    2) or setting the key to something like = 6D5A2AF59B1CDD7F9592484F178331C891537A3F9B91D362
       a 24 byte key...
    Also when using DES you should ensure that in Identity Center underneath Options/General
    you have encryption algorithm set to 3DES.
    Normally if you intend to use this for password provisioning in IC you would also
    on the identity store (for instance 'Enterprise people') underneath 'password policy' check
    of for 'enable password provisioning.'
    By doing so the MX_ENCRYPTED_PASSWORD with be set when operating through
    workflow (3DES encryption version of the MX_PASSWORD) which allows you to obtain password
    when provisioning to other target systems...

  • Excel opens and does not close when using the OI classes for some users...

    Hello Experts,
    I am using the OI classes(i_oi_container_control, i_oi_error, i_oi_document_proxy, i_oi_spreadsheet) to transfer Excel data to my itab. The problem we are encountering is that for some users the excel automatically opens and does not close. But in my case it is not opening so it is fine in my case. In my code I am already using the 'CLOSE_DOCUMENT' and 'RELEASE_DOCUMENT'.

    Viraylab,
    Check by any case you set the parameter register_on_close_event of the method init_control? Dont set the parameter as it will look for the corressponding custom code in your program. Also try with the method release_all_documents.
    Regards,
    Kiran Bobbala

  • 500 internal server error when using the web interface

    I've created several tables in Visual Studio, and I'm using a .NET backend for my mobile services.
    The table code looks something like this...
    using Microsoft.WindowsAzure.Mobile.Service;
    namespace AzureService.DataObjects
    public class Country : EntityData
    public string Name { get; set; }
    I then added a scaffolded item to generate the controller for my table, then published.
    I then went to my azure service, flipthechipservice.azure-mobile.net, and tried to run the default POST with default data.
    I then get back a popup, which looks like the following...
    Now what baffles me is I have already created another table, called 'Call', which has exactly the same 'Name' field as the above Country table, yet the Call POSTs work.
    I then tried creating another table, with a Name field, and I get the 500 error again. 
    How can this be possibly happening? Nothing is different, and now I get 500 errors? 
    This makes no sense.
    Thanks

    Thank you, I looked at the logs, and this is the error...
    System.NotSupportedException: Model compatibility cannot be checked because the database does not contain model metadata. Model compatibility can only be checked for databases created using Code First or Code First Migrations.
     at System.Data.Entity.Internal.ModelCompatibilityChecker.CompatibleWithMode
    I looked this error up, and tried
    this proposed solution on StackOverFlow
    I changed the line of code in my WebApiConfig Register() method from...
    Database.SetInitializer(new MobileServiceInitializer());
    to 
    Database.SetInitializer<MobileServiceContext>(new DropCreateDatabaseIfModelChanges<MobileServiceContext>());
    I also have this in my WebApiConfig...
    public class MobileServiceInitializer : DropCreateDatabaseIfModelChanges<MobileServiceContext>
    protected override void Seed(MobileServiceContext context)
    base.Seed(context);
    My understanding is that the database should drop and create if the model changes? So why is this not happening?
    I then tried another solution, and changed DropCreateDatabaseIfModelChanges to DropCreateDatabaseAlways. I still get an internal error. Then the logs show this problem...
    System.Data.SqlClient.SqlException (0x80131904): Cannot open database "master" requested by the login. The login failed.
     Login failed for user 'QEOzFqAnDXLogin_flipthechipservice'.
     This session has been assigned a tracing ID of 'a3b12e78-90f2-4db0-a5ca-6895eebd246c'. Provide this tracing ID to customer support when you need assistance.
     at System.Data.SqlClient.SqlInternalConnection.OnError
    As an additional question, how do I re-generate my local SQL database when debugging on my local PC's web browser? I deleted the database, but can't seem to get it back?
    Thanks

  • Error when using the RelationManager: WdfError

    Hi,
    I'm trying to use the IRelationManager to get Relation between rooms. I tried to retrieve the manager using:
    IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    roomsApi.getRelationManager();
    Unfortunately this does not work most of the times, I get a nullpointer back from the roomsAPI. Funny thing: sometimes it works, but mostly not...
    Also, I can not delete rooms or view the room-relations using the corresponding standard-portal IViews, I'm getting an excpetion:
    com.sapportals.wdf.WdfError
    Does anybody has a clue what is causing this strange behaviour of the portal?
    Thanks and regards,
    Jan Hempel

    This may be a bug in the expression validation, decode is valid in an expression operator always when Set Based code generation only is used (you may get errors if row based is used), if you configure the mapping to set based only code generation mode and default operating mode then try deploying the mapping you should be OK. Otherwise you build an expression that is valid SQL (set based) and PLSQL (row based), the CASE statement will give you this
    Cheers
    David

  • Strabge Error When using the MS Access

    Hi all,
    I am developing a application in J2ME.For the Database i opted for the MS Access.In that I am getting strange error in the servlet side.
    The Error is "General Error".After I inserted the data into the database.
    What does it mean why it will come ?Please let me know
    thanks in advance
    lakshman

    hi all,
    can anbody please help me for fixing the GeneralError.I will Explain the situation where i got that Error
    I have created a login page which was checking the username and password,It was working fine with the same servlet.
    When i am using the Registration form ,it was giving the problem while Executing the Statement(normal statement not the prepared),with the following statement.
    stat.executUpdate("insert...");
    I have checked with the help of system.out.println it was causing a problem in executing the statement.
    Please suggest me the way to avoid the GeneralError
    Thanks in advance
    lakshman

  • GET_FILTER_VALUES_CHA:3  Error when using the Filters

    Hi All,
    I get the below error messgage when trying to use the Filters in the web application. I checked the OSS notes (932154, 902393 & 832485) but didn't get a solution. This is a query on a Basic Cube.
    SQL 904.
    Error in SQL Statement.
    SYSTEM ERROR CL_RSR_WWW_RENDERER and form space GET_FILTER_VALUES_CHA:3
    Looking forward for some help in this regard.
    BW Version: 3.5 SP15
    Thanks & regards,
    Sree

    Hi,
    It worked for me, I dont for your case.
    Mine syptom:
    When filtering by using the context menu's "keep filter"  and then filter by using a "Hierarchy Web Item" (based on Calendar month),
    then I was getting the message <i>"System error in program CL_RSR_WWW_RENDERER and form SUBMIT_FILTER"</i>
    It is solved by adding a "Filter Web Item" to display the filter values. If you dont want that object in your report, you can hide it.
    Vasso

  • Error when using the variable System::ErrorDescription

    HI All,
    When I try to use the variable System::ErrorDescription I get the following error:
    The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
    Do I need to declare it or it's a variable that always is available to get exceptions from the execution states?

    if this is in a Script Task then:
    - add the variable in the Script task property ReadOnlyVariables list
    - in the Script Code refer to it as
    string ErrorDesc = (string) Dts.Variables["System::ErrorDescription"].Value;
    Jan D'Hondt - SQL server BI development

  • Strange errors when using user defined function in where clause

    Hello,
    I am having trouble with a function that, when used in the where clause of a select will cause an error if the first column selected is of type INTEGER. Not sure whether I am doing something wrong or whether this is a bug.
    Here is a very simple test case:
    create table test(
    col1 integer not null,
    col2 varchar(20) ascii default ''
    insert into test values(1,'2011-03-15 05:00:00')
    insert into test values(2,'2011-03-15 07:00:00')
    CREATE FUNCTION BTR_TAG  RETURNS VARCHAR AS
        VAR ret VARCHAR(20);
      SET ret='2011-03-15 06:00:00';
      RETURN ret;
    Select * from test where col2 >= BTR_TAG()
    Select col1,col2 from test where col2 >= BTR_TAG()
    =>  Error in assignment;-3016 POS(1) Invalid numeric constant
    Select '',* from test where col2 >= BTR_TAG()
    Select col2,col1 from test where col2 >= BTR_TAG()
    => works as it should
    MaxDB V 7.7.07.16 running on Windows Server 2003
    I can replicated the test case above with Sql Studio and other ODBC based tools.
    Thanks in advance,
    Silke Arnswald

    Hello Siva,
    sorry, but I don't understand your reply:
    This is not right forum to posting this question.
    You are from which module or working any 3rd party application.
    MaxDB 7.7.07.16 is the community version of MaxDb,
    we are not using it for SAP
    and no 3rd party software is required to reproduce my problem,
    Sql Studio or Database Studio will do.
    Regards,
    Silke Arnswald

  • Strange error when using Automatic Row Processing

    Hi All,
    I have a page with 2 regions
    - first is a form for data entry (4 fields - 2 hidden, 1 LOV, 1 text)
    --> 3 buttons - Cancel, Create, Create & Create Another
    --> Create branches to next page, Create Another branches back to same page
    - second is report of items entered into the form (conditional display)
    This all seems to be working, except that when I click either of the buttons, I get this:
    Action Processed. -- The success message - so data is inserted
    Unexpected error, unable to find item name at application or page level.
    Error ERR-1002 Unable to find item ID for item " P31_PIECE_CNT)" in application "122".
    And the 'OK' link. When I use the link to go back to the page, the data shows up in the report. So I know that the process is working up until it does the insert, but not sure why I get the error.
    Corey
    Database Version Information
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE 9.2.0.7.0 Production
    Product Build: 2.0.0.00.49

    All that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.

  • Error when using the admin photo mass upload service

    I created a who's who iview and then I wanted to dispaly the photos of the asociates in the user details iview. I used the photos upload task provided.
    I created the task, then when I run it I get an error (when looking in the log file)
    error :
    Control  5/5/08 10:53:07 AM  AdminPhotoService  TaskID=2104533975041, start batch photo upload for: ; Path=H:\photos; Photo Type=JPG; PortalNode=local 
    Error  5/5/08 10:53:07 AM  AdminPhotoService  TaskID=2104533975041_Parameter 'directory' is not a directory_
    I tried different locations but I'm always getting the same error, Directory is not a directory and the photos are not uploaded.
    Please help!!

    Here is what I did,
    I've put it in KM the photo and called it benelmou.jpg. I'm not using any mapping file because the file name is my ID.
    I put in the directory :
    accpgdci.apps.mars:50200\irj\go\km\docs\mars\Sales Portal\Sales Associates Photos
    and I get in the log file:
    Control  5/6/08 11:06:46 AM  AdminPhotoService  TaskID=2108828942357, start batch photo upload for: ; Path=
    accpgdci.apps.mars:50200\irj\go\km\docs\mars\Sales Portal\Sales Associates Photos; Photo Type=jpg; PortalNode=local 
    Error  5/6/08 11:06:46 AM  AdminPhotoService  TaskID=2108828942357Parameter 'directory' is not a directory
    I tried other names for the directory:
    Path=
    accpgdci.apps.mars:50200\irj\go\km\docs\mars\Sales Portal\Sales Associates Photos
    Path=
    accpgdci.apps.mars:50200\irj\go\km\docs\mars\Sales%20Portal\Sales%20Associates%20Photos
    Path=
    accpgdci.apps.mars:50200/irj/go/km/docs/mars/Sales%20Portal/Sales%20Associates%20Photos
    Path=http://accpgdci.apps.mars:50200/irj/go/km/docs/mars/Sales%20Portal/Sales%20Associates%20Photos
    And All of them failed, giving the same error Directory is not a directory.

  • Error when using the template installer MI post installation process

    Hi all,
    I am busy to configure the Netweaver Administrator in order to create setup packages for mobile devices. This is a WAS 6.40 ABAP JAVA instance with mobile infrastructure.
    I have installed the netweaver SR1 and upgraded abap and java to SPS18 afterwards.
    Afterwards I used the template installer, I executed:  MI post installation process.
    But when I did this an error message occured on the following node:
    step ID 8 registering RFC connection.
    Error message:
    Element
    'SAPConfigLib.<SID>.Unclassified.set_Server_Service':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException:
    <--Localization failed:
    ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle',
    ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments:
    []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!179-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.89
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41 Element 'SAPConfigLib.<SID>.Unclassified.set_Server_Service':Error during executing Java Reflection:JCO.Client not connected in repository call
    Here after I followed manual: MI25 SPS18 inst newtech.pdf for configuring the NWA.
    I checked the complete manual, but still the error message occurs, when I am using the template installer.
    There is one more thing.
    When I go to the NWA, to the Mobile Infrastructure node, allmost all subnodes give me the following error:
    (For instance on hierarchy grouping:)
    Failed to get hierarchy group elements from middleware. Reason: Could not connect to middleware.
    Does this error message relate to the other error message?
    Please give me advise/hints/directions to solve this problem....
    Your help will be appreciated!
    Best regards,
    Jacco Raymakers

    I got error during use of template installer in NWA. It is MI post installation in N/w2004s SP09
    Error message:
    Element
    'SAPConfigLib.<SID>.Unclassified.set_Server_Service':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException:
    <--Localization failed:
    ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle',
    ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments:
    []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!179-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.89
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41 Element 'SAPConfigLib.<SID>.Unclassified.set_Server_Service':Error during executing Java Reflection:JCO.Client not connected in repository call
    Please help me the resolve this.

Maybe you are looking for

  • Itunes screw up my music library

    Attention! I use itunes 7.0.1.8 and used the function "add folder to library". In my case the folder is a network based harddisk. itunes added all of my songs, also the mp3 files which were already on the disc, but SCRAMBLED the whole disc. For examp

  • MBP 2.16 core duo networking slow

    Hi My 2.16 MBP Core duo seems to be having networking speed issues. When I first got it in September 2006, I was seeing bandwidth speeds on my home wireless network comparable to a wired computer on the same router (Apple Extreme base station, comcas

  • Selling Price table

    Hi, where can i get selling price detail in sap table ?

  • Why the account login list does not show up on menu bar?

    I see bunch of other icons including Bluetooth in Tiger on my Intel Mac mini, but somehow the list of accounts disseapared. I have that on my PowerMac Tiger and did exist from the the day I upgraded to Panther, but why it does not show up in Tiger? A

  • MDMGX - After Data Extraction

    Hi, I am new for MDM Generic Extraction concept and understand the process up to generation of XSD and XML file generation. Below are the doubts in my mind. Please help me to get clear. 1. What is the use of XSD file generation. Is it used for source