Variable initialization error

import java.io.*;
import java.util.*;
import java.sql.*;
public class ReadCSVFile
public void StatementQuery(String Version , String Doctype_id)
String docfamilyid,docfamilyid_upd;
String sqlstr = "select DOCFAMILYID_ID from master table where doctypeid=\""+Doctype_id+"\"";
public static void main(String[] args)
ReadCSVFile obj = new ReadCSVFile();
String str,doctype=null,version=null,doctype_id=null;
     int i=0;
     String prevdoctype,prevdoctype_id;
try
BufferedReader in = new BufferedReader(new FileReader("RecordsNet_DocType_List1.csv"));
while ((str = in.readLine()) != null)
String s[] = str.split(",");//splitting string based on ','
if (s[1]!=null)
     doctype_id=s[1];
          if (s[5]!=null)
doctype=s[5].trim();
if (s[8]!=null)
version=s[8];
if (s[1].length()==0 && s[5].length()==0)
     System.out.println("Another version for "+ prevdoctype_id);
if ( doctype.equalsIgnoreCase("Statement")) {
          obj.StatementQuery(version,doctype_id);
          prevdoctype_id=doctype_id;
     if ( doctype.equalsIgnoreCase("Report Class A")) {
                    //System.out.println("Report Class A"+ i + doctype);
                    prevdoctype_id=doctype_id;
     if ( doctype.equalsIgnoreCase("Report Class B")) {
                    //System.out.println("Report Class B"+ i + doctype);
                    prevdoctype_id=doctype_id;
     if ( doctype.equalsIgnoreCase("Report Class D")) {
                              //System.out.println(doctype);
                              prevdoctype_id=doctype_id;
     if ( doctype.equalsIgnoreCase("Trade Confirm")) {
                              //System.out.println("Trade Confirm"+ i + doctype);
               prevdoctype_id=doctype_id;
in.close();
catch (IOException e)
}//class main end
}// class ReadCSVFile end
error is
variable prevdoctype_id might not have been initialized
if i initialize it then it get's initialized everytime..but when some parameters are blank in a file i just want to resuse the value stored in variable prevdoctype_id

if i initialize it then it get's initialized everytime.You only need to initialize it one time outside of the while loop for example by setting it to null then the variable is initialized and it will not be overwritte each time.
btw. the
if (s[X]!=null)seems to be wrong.
a) array indices are 0 based. i.e. the first index is 0
b) split returns an array of Strings based on the regular expression
so will split return a one element array for the String "token 1" containing ["token 1"]
a three element array for the String "token 1, token 2, token 3", containing ["token 1", "token 2", "token 3"]
You should replace your
if (s[X]!=null) {
}by
if (s.length > X) {
}

Similar Messages

  • PartnerLink Input Variable initialization error for xsd:any datatype

    I have a web service which use the xsd:any for the message type( segment of the wsdl given below):
    - <message name="post_ps_apg_services0Request">
    <part name="fa_form" type="**xsd:any**" />
    </message>
    <portType name="ps_services_wsPortType">
    - <operation name="post_ps_apg_services">
    <input name="post_ps_apg_services0Request" message="tns:post_ps_apg_services0Request" />
    <output name="post_ps_apg_services0Response" message="tns:post_ps_apg_services0Response" />
    </operation>
    <binding name="ps_services_wsBinding" type="tns:ps_services_wsPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="post_ps_apg_services">
    <soap:operation soapAction="" style="rpc" />
    - <input name="post_ps_apg_services0Request">
    <soap:body use="literal" namespace="ps_services_ws" />
    </input>
    - <output name="post_ps_apg_services0Response">
    <soap:body use="literal" namespace="ps_services_ws" />
    </output>
    </operation>
    <service name="ps_services_ws">
    - <port name="ps_services_wsPort" binding="tns:ps_services_wsBinding">
    <soap:address location="http://spider.apollogrp.edu:4400/sst/runtime.asvc/ps_services" />
    </port>
    </service>
    I have created a Partnerlink Invoke_ps_apg_services with Input Variable 'Invoke_ps_apg_services_post_ps_apg_services_InputVariable'.
    During Compilation of the process I get the following exception:
    Error: Couldn't initialize variable.
    Error occurred while initializing BPEL variable "Invoke_ps_apg_services_post_ps_apg_services_InputVariable" at line 51, the schema processor could not find type "{http://www.w3.org/2001/XMLSchema}any" for part "fa_form", in the following schemas:
    Schema 0 ---> namespace=http://edu.apollogrp.ws.ps_services/Ips_services_ws.xsd
    location=file:/C:/BPELProjects/FAPP/FAPP_PS_Service/bpel/PostFAFormsPSSchema.xsd.__OAUX_GENXSD_.TOP.XSD
    Schema 1 ---> namespace=http://xmlns.oracle.com/pcbpel/adapter/jms/
    location=file:/C:/BPELProjects/FAPP/FAPP_PS_Service/bpel/jmsAdapterInboundHeader.wsdl.__OAUX_GENXSD_.TOP.XSD
    Schema 2 ---> namespace=null
    location=file:/C:/BPELProjects/FAPP/FAPP_PS_Service/bpel/FAPPService.wsdl.__OAUX_GENXSD_.TOP.XSD
    Please make sure that the type "{http://www.w3.org/2001/XMLSchema}any" is valid in your wsdl.
    Has anyone have seen this error ? What is the fix/workaround ?
    Thanks in advance

    The "any" type is not defined in the standard http://www.w3.org/2001/XMLSchema namespace. Try changing the type name to "anyType" and it should not give that error anymore.
    The valid types defined under that namespace are located at [http://www.w3.org/TR/xmlschema-2/#built-in-datatypes|http://www.w3.org/TR/xmlschema-2/#built-in-datatypes].

  • Initialization error : class file has wrong version 49.0, should be 45.3 or

    I have Jdeveloper Base installation and JDK 1.5..the classpath and JAVA_HOME environment variables are set to the respective JDK1.5\bin folders. Even then when i try to make a web application, with a simple JSP page i get the following error :
    Initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on CLASSPATH ..(followed by a long list of paths)
    pls help,
    thanks

    i have windows XP. i have tried to unset the class path...i get the same error.
    i have JDeveloper 10g 10.1.2.
    i have changed the jdev.conf file to set the Java Home to the path that contains the JDK 1.5..

  • Variable initialization

    Hello guys,
    Is there anybody know how and when java checks for variable initialization?For example if we change a value, assume a without initializing it we get variable a might not have been initialized.I wish to know how java checks that the variable is already assigned or not.
    int a;
    a++;//How java checks this
    regards,
    Haddock

    Rules is:
    To variables of instance - It's default value attribute automatically if not initialize with value.
    To local variable (methods for example) - It's default value in initialization has been MUST attributed
    Instance variables has a folliwing default value:
    class A{
    int i; //default value is 0
    char c; //default value is '\u0000'
    byte b; //default value is 0
    short s; //default value is 0
    long l; //default value is 0
    float f; //default value is 0.0
    double d; //default value is 0.0
    boolean bl; //default value is false
    String str; //Object is always null
    int x[]; // null. It's Object's array
    int x[5]; // 5 times default value 0.
    void testInitializeValue(){
    int x; // Compiler error; This variable has been initialized
    if(x == 5){
    return;
    Ok..Thanks!!

  • Message variable initialization

    Hello,
    We had this ridiculous situation a while ago where out service instances create their variables with multiple nodes.
    For example if we have xsd looking like this:
    <element name="Response">
    <complexType>
    <sequence>
    <element name="Result">
    <simpleType>
    <restriction base="string">
    <enumeration value="OK"/>
    <enumeration value="ERR"/>
    </restriction>
    </simpleType>
    </element>
    <element name="Comment" minOccurs="0" type="string"/>
    </sequence>
    </complexType>
    </element>
    In BPEL we have message variable which part is this "Response" element. Everything is fine till the moment we start getting initial variable looking like this:
    <outputVariable>
    <part name="payload" >
    <Response>
    <Result/>
    <Result/>
    <Result/>
    <Result/>
    <Result/>
    <Result/>
    </Response>
    </part>
    </outputVariable>
    Of course we have no reason for this, no logs, no info and so on. Any idea anyone?
    Everything is normal concerning the BPEL, no errors are raised till the moment we need to populate the variable. The process is working correctly but we cannot return result to the caller.
    WL version: 10.3.5.0
    SOA version: 11.1.1.5.0
    BPEL version: 2.0
    Best regards.

    could you please send your test case to our support team? this doesn't look right. bpel engine would initialize the variable based on the xpath usage in to-spec expressions. you can try turning of variable initialization for that particular component using bpel.config.initializeVariables to false. and go with literal xml variable initiation. [http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html#SA00038]
    http://docs.oracle.com/cd/E28271_01/dev.1111/e10224/bp_manipdoc.htm#BABHDFBJ
    here is the sample for that property
    in composite.xml, find the component, under that component add this property, and re-deploy with your literal variable init.
    <property name="bpel.config.initializeVariables">false</property>

  • Class variable initialization

    I have noticed that class variable initialization occurs AFTER the constructor is called.
    Why is this, and is this intentional?
    It has caused strange behaviour in my SE java applications I am porting to MIDP.
    Thanks
    - Adam

    Hi,
    Error 1:
    The problem only arises if you use the unassigned variable:
    int i;
    int y = i; // Use of unassigned variable here
    you can just assign a value to i to solve this:
    int i = 0;
    int y = i; // Use of unassigned variable here
    Error 2 and 3 have to do with static and non-static, not with the initialization per se. This is how it works:
    static members (e.g. fields) can be accessed using this syntax: <Classname>.<FieldName>, e.g:
    public static class Helpers
    public static int SomeDataValue { get; set; }
    class Program
    static void Main(string[] args)
    Helpers.SomeDataValue = 22;
    On the other hand, non-static members are accessed like this: <instance>.<fieldname>. So you always need an instance of a class to access the field:
    public class Order
    public int OrderNumber { get; set; }
    class Program
    static void Main(string[] args)
    Order o = new Order();
    o.OrderNumber = 12;
    Rgds MM

  • Oracle 10g: Initialization error SQL*Net not properly installed

    Hello, everyone.
    I have an app that uses Oracle 10g client to connect a remote Oracle 10g server.
    I encountered a pop-up error saying
    " Initialization error SQL*Net not properly installed. "
    OracleHomeKey: SOFTWARE\ORACLE
    OracleHomeDir:
    Please advise a fix.
    Thanks.

    Maybe PL/SQL Developer is trying to use some missing registry values, or a missing ORACLE_HOME environment variable
    Check the ORACLE_HOME is pointing to your 10g client path, and then try to add the following entries in the registry, making a .reg file with the following, replacing with your paths, and executing (from Windows PATH variable
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE]
    "inst_loc"="C:
    Program Files\\Oracle
    Inventory"
    "API"="D:\\oracle\\product\\10.1.0
    db_1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES]
    "HOME_COUNTER"="1"
    "DEFAULT_HOME"="HOME0"
    "LAST_HOME"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES\ID0]
    "NAME"="Oracle - ORACLE_HOME"
    "PATH"="D:\oracle\product\10.1.0\db_1"
    "NLS_LANG"="NA"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0]
    "ID"="0"
    "ORACLE_GROUP_NAME"="Oracle - ORACLE_HOME"
    "ORACLE_HOME_NAME"="ORACLE_HOME"
    "ORACLE_HOME"="D:\\oracle\\product\\10.1.0\\db_1"
    I hope this help
    Regards,
    Alfonso Vicente

  • Customer Exit Variable - Variable Value Error BRAIN 000

    I created a variable which is processed by 'Customer Exit'. This variable is 'optional' and NOT user input required.
    And i have written my code in customer exit under I_STEP EQ 1.
    I used the variable in my query as a default value for a free characteristic.
    The query runs fine and return me the correct result.
    The problem is when i used the same variable as a default value of a free characteristic in another query which has another user input variable for another characteristic, i got a warning message after input a value for another variable.
    Variable Value Error BRAIN 000 <<i>my variable name</i>>
    How to make it work in the second query?
    Please help as I am new to this.
    Thanks,
    CH

    Hi Fernanda,
    Try this:
    DATA:  LS_RA_SID  TYPE   RSR_S_RANGESID.
    DATA:  fst_date LIKE sy-datum.
       CASE i_vnam.
              WHEN 'ZRANGE_PREVMONTH'.
    fst_date = sy-datum - 1.
    concatenate fst_date(6) '01' into ls_ra_sid-low.
          ls_ra_sid-sign = 'I'.
          ls_ra_sid-opt = 'BT'.
          ls_ra_sid-high = fst_date.
          APPEND ls_ra_sid TO e_t_range.
    ENDLOOP.
    ENDCASE.
       ENDIF.
    Just post here for any queries..
    Regards,
    Loed

  • "not all variables bound" error in a BI publisher report

    Hi, I'm getting a "ORA-01008: not all variables bound" error in my BI publisher report. The SQL query looks like this:
    select
    ...--a bunch of rows
    from
    tbl1,tbl2,...,tblk
    where
    ...--and conditions performing inner joins
    and
    (('*') in &p_SomeParameter or tbl3.SomeValueOfSameType in &p_SomeParameter)
    Yet, when I comment out this last and condition, it works. Also, the default value for this parameter is ('*'). I get this error even when just trying to look the xml data itself. Has anyone seen "ORA-01008: not all variables bound" caused by a BI-Publisher report before?
    Why haven't I gotten a reply to this? Did I make myself clear enough? The query runs fine in Toad. Therefore this means that BI Publisher is mangling the query before it has a chance to be processed by the Oracle RDBMS. Therefore I want to know why BI Publisher is mangling my select query and causing the RDBMS to return a "not all variables bound" error.
    Message was edited by:
    user586835

    Try, (use ':' instead of '&')
    (('*') in :p_SomeParameter or tbl3.SomeValueOfSameType in :p_SomeParameter)
    )

  • I am getting ORA-01008:not all variables bound error

    Hi all,
    i am getting ORA-01008:not all variables bound error while executing the following code...
    Could any one help me to find out the problem...i am very new to ODP.net and Oracle ..
    I am using VC++.net for run this code.
    Here is the code.....
    #include <iostream>
    using namespace std;
    using namespace System;
    using namespace Oracle::DataAccess::Client;
    class Sample
    public:
         Sample();
    ~Sample();
    Sample::Sample()
         int num = 100;
         int sal = 200;
    //connect to Oracle
         OracleConnection ^con ;
         con = gcnew OracleConnection();
         con->ConnectionString = "User Id=test;Password=test;Data Source=test.local.com";
         //Oracle command part
         OracleCommand ^cmd;
         cmd = con->CreateCommand();
         cmd->CommandText = "insert into simple values (:num, :sal)";
         try
              con->Open();
              cmd->ExecuteNonQuery();
         catch (Exception ^e)
              Console::WriteLine("Execution Failed:" + e->Message);
    finally
              con->Close();          
    Sample::~Sample()
    int main()
         Sample samp;
         return 0;
    sorrry lack of comments.....
    plz help me out..
    thanks in advance..
    justin

    Hello,
    You have 2 bind variables in your statement (:num and :sal) but you have not created parameters and bound them to the bind variables.
    - Mark

  • Initialization error [-70012] in Mavericks

    Have a MBP 15”, Early 2011 with a 2 GHz Intel Core i7, 8 GB 1333 MHz DDR3, 1 TB 72000 rpm HD fused with a 120 GB SSD, running OS X 10.9.1 (12B42) the original CD/DVD SuperDrive is removed for the SSD, but installed into an USB case and connected external via USB.
    After installing the SSD and fuse it with the HD, the original, now the external CD/DVD SuperDrive, via USB connected, worked fine under Mountain Lion but now, since upgraded to Mavericks, OS X 10.0.1, it works only with CD’s and even opens DVD’s but the DVD Player does not work at all (initialization error [-70012]) and prevents to watch any DVD movie.
    I researched the Apple discussions boards and others but found not any helpful solution. There are not any DVD or iDVD files on my system. Checked visible as well as invisible files and documents. The Terminal also indicates that there is no such CD or DVD (iDVD) “No such file or directory”.
    However, the System Profiler shows clearly that there is a MATSHITA DVD-R   UJ-8A8: connected with “ Firmware Revision:          HB14 / Interconnect:          USB / Burn Support:          Yes (Apple Shipping Drive) / Cache:          1024 KB / Reads DVD:          Yes / CD-Write:          -R, -RW/ DVD-Write:          -R, -R DL, -RW, +R, +R DL, +RW / Write Strategies:          CD-TAO, CD-SAO, CD-Raw, DVD-DAO.”
    Resetting NVRAM/PRAM did not resolve the issue either. Tried to use 0xED Editor but the command at the “DVDPlayback.framework: /System/Library/Frameworks/DVDPlayback.framework/Versions/A”, brought no indicators of “Internal” or the equivalent hex code. Any smart individual out there, which can help, step by step to get the DVD Player working?
    Thank you.

    Logical or not, and that is your opinion, it is how it works and doesn't work. Sorry but the built in DVD Player App only works with the Superdrive installed inside the system.
    Maybe you applied the HACK in Mt Lion, and don't recall you did it, and when you upgraded to Mavericks is got overwritten.
    Been like that for years with many different versions of OS X and DVD Player App.
    If the Superdriove is installed inside the system you can use the DVD Player App with another DVD drive connected by USB but the Superdrive must be installed inside the case, and or connected to the secondary SATA connector.

  • I can't get dvds to play "There was an initialization error. A valid video device could not be found for playback. [-70017]  Anybody know how to resolve this?

    I can't get dvds to play and, instead, get "There was an initialization error.  A valid video device could not be found for playback. [-70017]"  I went in for a Genius appt Friday and it played for the tech...but now I'm back home (one and a half hours from the store) and I'm getting the error message again when I try to load a dvd.  Any recommendations?

    Hello, try this...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    Reboot... any change?

  • Macbook pro external DVD drive initialization error 70012

    This is an answer to my own question and a comment about finding answers to questions on Apple forums.
    The situation
    I have a Macbook Pro, late-2009 model. In 2013, the internal DVD or optical drive died. I purchased an Apple external DVD drive to be able to read DVD disks, listen to audio, and watch video content. Because the computer I own was built to read only the internal DVD drive, it did not recognize this new external drive. When I plugged it in, I received an error: A valid DVD drive could not be found [-70012]. Or , or DVD could not be found, initialization error[- 70012].
    The question
    Given this situation, my question was, how do I solve DVD initialization error 70012?
    The answer
    Since my Apple Care plan had long since expired, before spending time and money at the Apple store to solve this, I decided to look online. After searching general sites and more and more specific sites, I found several posts on forums about my problem. The most helpful of these, with respect to an external DVD drive, was posted on CNET, by Topher Kessler (June 10, 2011 2:24 PM PDT):
    http://www.cnet.com/news/addressing-dvd-player-error-70012-when-using-external-d rives-in-os-x/
    The key to his advice was twofold:
    1. Hardware: The Macbook Pro was programmed to recognize the internal DVD/optical drive alone.
    2. Software: The preferences in the Macbook Pro were set to open Apple's DVD Player when a disc is inserted into the drive.
    To play audio or video discs on an external drive, the computer needed to be instructed to recognize the external drive, plus appropriate software needed to be opened. Mr. Kessler's advice went from hardware (i.e., get a new internal drive), to software (i.e., use different audio or video software), to operating system (i.e., alter the code in the operating system). Like with Goldie Locks, the first was too expensive, the last was too invasive, but the middle option was just right.
    I searched for free software to display audio and video on my external drive and found two that could do the job quite nicely. There are others, but these seemed to be the most recognized and highly rated:
    1. MPlayerX (http://mplayerx.org/download.html)
    2. VLC Media Player (http://download.cnet.com/mac/media-players/?rpp=30)
    So, I didn't have to buy an internal DVD drive and I didn't have to alter the code of the operating system. I just needed to download free software, install, and play.
    The points to learn
    1. Computers involve both hardware and software, therefore solutions to computer problems can require fixes to one, the other, or both.
    2. The simplest solution, and the least expensive, is to be preferred over the more complex.
    3. What went wrong for someone else is not necessarily what happened to your computer or software.
    4. What solved someone else's problem may not solve your problem.
    5. Just because nobody has posted information on how to solve your problem doesn't mean there isn't a solution to it.

    Hi Duane,
    Thanks for the info! That's some catch-22 for DVD Player... but useful info. I guess I'll just pick up a generic DVD-ROM to replace the drive with.
    As to the external drive, do not USB 2.0 cases run at the same speeds at Firewire 400 cases? (the same drive has no issues on other machines for playing dvds... just the lampshade iMac)

  • File Adapter: Initialization error: Conversion initialization failed

    Hi all,
    I'm trying to establish a file adapter (FTP, File Content Conversion).
    In the adapter monitor I' ve got the following error:
    Sender Adapter v1325 for Party '', Service 'BS_ACN_PCS_A':
    Configured at 14:49:34 2005-08-29
    Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Format error in 'xml.recordset' argument: incomplete structure (name,number) pair
    My content conversion parameters are:
    BP_BusinessPartnerMasterData_IncomingData.fieldFixedLengths:
    20,50,50,1,10,50,10,50,5,20,20,15,15
    BP_BusinessPartnerMasterData_IncomingData.fieldNames: Number,Name2,Name1,Gender,Birthdate,City,Postcode,Street,
    HouseNo,PhoneNumber,Fax,BankId,BankAccount
    BP_BusinessPartnerMasterData_IncomingData.fieldContentFormating:
    trim
    BP_BusinessPartnerMasterData_IncomingData.keyFieldInStructure:
    ignore
    What could be the error or where I have to look for it?
    Thanks,
    Fabian

    Yes,
    Recordset name: BP_BusinessPartnerMasterData_IncomingData
    Recordset structure: BP_BusinessPartnerMasterData_IncomingData
    The corresponding Message Type:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://pcs.acn.com/basicdata" targetNamespace="http://pcs.acn.com/basicdata">
         <xsd:element name="BP_MasterDataIncomingFil" type="BP_BusinessPartnerMasterData_IncomingData" />
         <xsd:complexType name="BP_BusinessPartnerMasterData_IncomingData">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   f323a4b018a911da9fd9000bcd69ce64
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="Number">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8500fe111da89f2d1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             Id from Sender for BP
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Name2">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8510fe111dacfd7d1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             Last name or Company name
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Name1">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8520fe111da94bad1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             First name or Company name 2
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Gender">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8530fe111da99add1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             m or f or blank
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="1" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Birthdate">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8540fe111dab156d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="City">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8550fe111daa58cd1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Postcode">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8560fe111dac0c2d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Street">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8570fe111dabbd3d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="HouseNo">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8580fe111dab63fd1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="5" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="PhoneNumber">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8590fe111dac782d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Fax">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e85a0fe111daa9ebd1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="BankId">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e85b0fe111dace1ed1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="15" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="BankAccount">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e85c0fe111da8801d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="15" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>

  • Photoshop CS3 Initialization Error

    Successfully installed & activated Photoshop CS3  on a new PC with a fresh Windows 7 Pro 64bit installation, along with Photoshop CS3 10.0.1 & Bridge CS3 2.1.1.9 updates.  Bridge runs fine, but Photoshop returns the following error when attempting to launch the program, "Could not initialize Photoshop because of a program error."  Attempted to resolve by the following steps:
    Remove/reinstall CS3 in root directory
    Remove/reinstall CS3
    Disable TWAIN driver
    Downloaded & installed latest NVidia video card drivers.
    Noticed the following message in PSErrorLog.txt every time Photoshop CS3 is launched, "2013:10:31 09:41:33 : ..\..\sources\OWLPanelManager.cpp : 1602 : REQUIRE failed"  Downloaded & installed AdobeOwl.dll for this reason, but without success. 
    ALM.log prinout indicates that several steps failed, but I do not know whether this is a problem or how it might be resolved:
    2013-10-31 09:08:41 [4064] ALM: _info_: ==========================================
    2013-10-31 09:08:41 [4064] ALM: _info_: Start ALM 2.1 Release (build 2.1.2.1082)
    2013-10-31 09:08:41 [4064] ALM: _info_:      TYPE = 1
    2013-10-31 09:08:41 [4064] ALM: _info_:      GUID = License-GUID-Photoshop-CS3-Win
    2013-10-31 09:08:41 [4064] ALM: _info_:      LANG = en_US
    2013-10-31 09:08:41 [4064] ALM: _info_: Load AdobeConfig (version = 1.3)
    2013-10-31 09:08:41 [4064] ALM: _info_: Use Serial Number In PCD
    2013-10-31 09:08:42 [4064] ALM: _info_: Find License (type = 0x01, property = 0x00, status = 0x00)
    2013-10-31 09:08:42 [4064] ALM: _info_: Start License Session Succeed!
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Photoshop_Premium (version = 10.0) Failed (status = -5)
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Photoshop_Standard (version = 10.0) Succeed
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Bridge_Base (version = 2.0) Succeed
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Bridge_CameraRaw (version = 2.0) Succeed
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature MobileCenter_Base (version = 1.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: ==========================================
    2013-10-31 09:18:20 [3180] ALM: _info_: Start ALM 2.1 Release (build 2.1.5.1504)
    2013-10-31 09:18:20 [3180] ALM: _info_:      TYPE = 2
    2013-10-31 09:18:20 [3180] ALM: _info_: Start License Session Succeed!
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_Base (version = 2.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_Base (version = 2.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_ColorSettings (version = 2.0) Failed (status = -5)
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_CameraRaw (version = 2.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_PhotoshopElements (version = 2.0) Failed (status = -5)
    2013-10-31 09:18:45 [3180] ALM: _info_:
    2013-10-31 09:18:45 [3180] ALM: _info_: End License Session!
    2013-10-31 09:18:45 [3180] ALM: _info_: End ALM
    2013-10-31 09:18:45 [3180] ALM: _info_: ==========================================
    AMT.log report is as follows:
    2013-10-31 09:41:20 [3264]  AMT: START SESSION, library version 1.0.0.1082,46.278103
    2013-10-31 09:41:20 [3264]  AMT: Initializing C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\ [en_US]
    2013-10-31 09:41:20 [3264]  AMT: Adobe License Manager version 2.1 (build 2.1082) RELEASE
    2013-10-31 09:41:20 [3264]  /AMT0069688654/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0194694755/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0073107491/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0087759331/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0051932803/ License-GUID-Photoshop-CS3-Win
    2013-10-31 09:41:20 [3264]  /AMT0186350190/
    2013-10-31 09:41:20 [3264]  /AMT0013778542/
    2013-10-31 09:41:20 [3264]  /AMT0141832179/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT
    2013-10-31 09:41:20 [3264]  /AMT0166617427/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT\application.sif
    2013-10-31 09:41:20 [3264]  /AMT0268432926/ 91198956814627932656
    2013-10-31 09:41:20 [3264]  /AMT0172021198/
    2013-10-31 09:41:20 [3264]  /AMT0201805758/
    2013-10-31 09:41:20 [3264]  /AMT0013754766/
    2013-10-31 09:41:20 [3264]  /AMT0088421566/
    2013-10-31 09:41:20 [3264]  /AMT0171050355/
    2013-10-31 09:41:33 [3520]  AMT: START SESSION, library version 1.0.0.1082,46.278103
    2013-10-31 09:41:33 [3520]  AMT: Initializing C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\ [en_US]
    2013-10-31 09:41:33 [3520]  AMT: Adobe License Manager version 2.1 (build 2.1082) RELEASE
    2013-10-31 09:41:33 [3520]  /AMT0069688654/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0194694755/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0073107491/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0087759331/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0051932803/ License-GUID-Photoshop-CS3-Win
    2013-10-31 09:41:33 [3520]  /AMT0186350190/
    2013-10-31 09:41:33 [3520]  /AMT0013778542/
    2013-10-31 09:41:33 [3520]  /AMT0141832179/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT
    2013-10-31 09:41:33 [3520]  /AMT0166617427/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT\application.sif
    2013-10-31 09:41:33 [3520]  /AMT0268432926/ 91198956814627932656
    2013-10-31 09:41:33 [3520]  /AMT0172021198/
    2013-10-31 09:41:33 [3520]  /AMT0201805758/
    2013-10-31 09:41:33 [3520]  /AMT0013754766/
    2013-10-31 09:41:33 [3520]  /AMT0088421566/
    2013-10-31 09:41:33 [3520]  /AMT0171050355/
    Any suggestions to resolve this dilemma are appreciated. 

    I managed to resolve the Photoshop CS3 initialization error by reinstalling Windows 7 Pro 64-bit from scratch.  This took a lot of time, but it amounted to less effort than I had spent troubleshooting the problem. 

Maybe you are looking for