Equals problem

Hi, there,
why I use equals method to compare if two strings equals, I always get the wrong infomation:
java.lang.NullPointerException
what kind of class should I import?
thanks!!

Hi, dear friends,
thank you very much for the help. I got the answer now. just as you said, one of the string is null.
thanks again!

Similar Messages

  • Fustrating equality problem, pls help

    Hello ppl. Im here with a rather silly but fustrating problem...
    I have a conditional like this:
    String host = request.getRemoteHost();
    if(host != "localhost"){
    // code...
    Im the localhost and the value of host is localhost but java thinks otherwise, so therefore the conditional returns false and the code is executed! WHY?? I've even tried this...
    if(String.valueOf(host) != "localhost"){
    // code...
    That still didnt work! I dont want that piece of code executing if the host value is localhost. Help appreciated. Thanks.

    Thanks jesperdj that worked a treat. I was aware of the equals() method but i wasnt quite sure how to test for unequality using the equals() method. Thanks.

  • .equals Problem in 2D Array

    I get the problem, "int cannot be dereferenced" for cell[x][y].equals(1)) etc. How can I check if the cells have 1 in them correctly?
    //Figures out how many neighbors the live cells have.
        for (int x = 1; x < row; x++)
           for (int y = 1; y < col; y++)
            if (cell[x][y].equals(1))
              if (cell[x--][y--].equals(1))
                neighbors++; 
              if (cell[x--][y].equals(1))
                neighbors++;
              if (cell[x--][y++].equals(1))
                neighbors++;
              if (cell[x][y--].equals(1))
                neighbors++;
              if (cell[x][y++].equals(1))
                neighbors++;
              if (cell[x++][y--].equals(1))
                neighbors++;
              if (cell[x++][y].equals(1))
                neighbors++;
              if (cell[x++][y++].equals(1))
                neighbors++;
        }            

    Your code makes be nervous:
    1. All those increments and decrements in the array subscripts -- do you really want to do that, or do you want to do this:
    if (cell[x-1][y-1] == 1)2. Boundary conditions. I see that x and y start at 1, what happens when x is row-1 or y is col-1? will [x+1] or [y+1] be out-of-bounds?
    3. Parentheses: do you realize this:
    if (cell[x][y] == 1)
              if (cell[x--][y--] == 1)
                neighbors++; 
              if (cell[x--][y] == 1)
                neighbors++;
              if (cell[x--][y++] == 1)
                neighbors++;
              if (cell[x][y--] == 1)
                neighbors++;
              if (cell[x][y++] == 1)
                neighbors++;
              if (cell[x++][y--] == 1)
                neighbors++;
              if (cell[x++][y] == 1)
                neighbors++;
              if (cell[x++][y++] == 1)
                neighbors++;Is really this:
    if (cell[x][y] == 1)
              if (cell[x--][y--] == 1)
                neighbors++; 
    if (cell[x--][y] == 1)
        neighbors++;
    if (cell[x--][y++] == 1)
        neighbors++;
    if (cell[x][y--] == 1)
        neighbors++;
    if (cell[x][y++] == 1)
        neighbors++;
    if (cell[x++][y--] == 1)
        neighbors++;
    if (cell[x++][y] == 1)
        neighbors++;
    if (cell[x++][y++] == 1)
        neighbors++;

  • About equals problem

    Hi, there,
    why I use equals method to compare if two strings equals, I always get the wrong infomation:
    java.lang.NullPointerException
    what kind of class should I import?
    thanks!!

    Hi,
    You don't need to import any classes when trying to compare two string.
    You get 'java.lang.NullPointerException' when one of the two strings youare trying to compare is null. So have a check for null first before making the comparison.
    Regards,
    Anupama

  • Struts logic:equal problem

    Hi,
    I'm having trouble with the following:
    <logic:equal name='searchSizeTracker' property='page_no' value='<%searchActionForm.getCurrentPage()%>'>
    even when the page_no value of searchSizeTracker and the currentPage property of searchActionForm both = 1, the logic doesn't display the contents of the logic:equal tags???
    I've included a JSP fragment below.
    Thanks.
    ==============================
    JSP Fragment
    ==============================
    <logic:present name="searchActionForm" scope="session">
    <bean:define id="searchActionForm" name="searchActionForm" scope="request"/>
    </logic:present>
    <tr>
    <td align="center" colspan="4">
    currentPage = <bean:write name='searchActionForm' property='currentPage'/>
    <br>
    currentActionID = <bean:write name='searchActionForm' property='currentActionId'/>
    <br>
    <logic:iterate id="searchSizeTracker" name="searchSizeTracker" type="uk.co.troutlure.bom.SearchTrackerObject" scope="request">
    <logic:equal name='searchSizeTracker' property='page_no' value='<%searchActionForm.getCurrentPage()%>'>
    <strong>
    <jsp:getProperty name="searchSizeTracker" property="page_no"/>
    </strong>
    </logic:equal>
    <logic:notEqual name='searchSizeTracker' property='page_no' value='<%searchActionForm.getCurrentPage()%>'>
    <a href="<%=request.getContextPath()%>/performSearch.do?pageRequired=<bean:write name='searchSizeTracker' property='page_no'/>&action_id=<bean:write name='searchActionForm' property='currentActionId'/>&searchType=2&currentScreen=search_reorder"><jsp:getProperty name="searchSizeTracker" property="page_no"/>
    </a>
    </logic:notEqual>
    </logic:iterate>
    </td>
    </tr>
    ==============================

    Hi
    You have made a small mistake in the coding of your JSP. You please replace
    <logic:equal name='searchSizeTracker' property='page_no' value='
    <%searchActionForm.getCurrentPage()%>'>
    with
    logic:equal name='searchSizeTracker' property='page_no' value='
    <%=searchActionForm.getCurrentPage()%>'>

  • HELP NEEDED! Not Equal problem!!

    Hi, I had written a page that does some validation and in the end if validation are done, insert records into the database.
    However I am not sure why my not equals is not working, therfore not inserting records into the database.
    WOuld appreciate if anyone can help me out.
         if(event.getSource() == RegisterButton)
                   String user;
                   //Get username and pwd
                   user=txtusername.getText();
                   String pass1=new String(txtpassword1.getPassword());
                   String pass2=new String(txtpassword2.getPassword());
              if(user.equals("")||pass1.equals("")||pass2.equals("")) {
              JOptionPane.showMessageDialog (this, "Please entered all the fields");
              else if(!pass1.equals(pass2)) {
               JOptionPane.showMessageDialog (this, "Password does not match");
              //Connecting to database for retrival
                   String data = "jdbc:mysql://localhost:3306/mydatabase";
                   try {
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection conn = DriverManager.getConnection(data, "root", "admin");
                   Statement st = conn.createStatement();
                   ResultSet rec = st.executeQuery("SELECT * FROM userInfo WHERE userID='" +user+"' ");
                   while(rec.next()) {
                   String users = rec.getString("userID");
                    System.out.println(users);
                    if(user.equals(users)) {
                    JOptionPane.showMessageDialog (this, "Please enter a new username");
                   if(!user.equals(users)) {
                   st.executeUpdate("INSERT INTO userInfo VALUES (user,pass1)");
                   st.close();
                   catch (SQLException s) {
                   System.out.println("SQL Error: " + s.toString() + " "+ s.getErrorCode() + " " + s.getSQLState());
                   catch (Exception e) {
                   System.out.println(" Error: " + e.toString() + e.getMessage());
                   }the part that i highlighted is not working.

    i have edited the codes,it insert but doesn't validate 1 of my requirement.
    that is when it had the same username,it suppose to prompt user to enter naother new username.
    now it inserts duplicate copies of it.
    when i insert i also got an erorr saying operation not allowed after result set closed.
    can help mi do some editing please.
    thanks
         if(event.getSource() == RegisterButton)
                   String user;
                   //Get username and pwd
                   user=txtusername.getText();
                   String pass1=new String(txtpassword1.getPassword());
                   String pass2=new String(txtpassword2.getPassword());
              if(user.equals("")||pass1.equals("")||pass2.equals("")) {
              JOptionPane.showMessageDialog (this, "Please entered all the fields");
              else if(!pass1.equals(pass2)) {
               JOptionPane.showMessageDialog (this, "Password does not match");
              //Connecting to database for retrival
                   String data = "jdbc:mysql://localhost:3306/mydatabase";
                   try {
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection conn = DriverManager.getConnection(data, "root", "admin");
                   Statement st = conn.createStatement();
                   boolean allow=true;
                   ResultSet rec = st.executeQuery("SELECT * FROM userInfo");
                   while(rec.next()) {     
                   String users = rec.getString("userID");
               //     System.out.println(users);
                    if(user.equals(users)) {
                         allow=false;
                    JOptionPane.showMessageDialog (this, "Please enter a new username");
                   if(allow)  {
                   st.executeUpdate("INSERT INTO userInfo VALUES ('"+user+"','"+pass1+"')");
                   st.close();
                   conn.close();
                   catch (SQLException s) {
                   System.out.println("SQL Error: " + s.toString() + " "+ s.getErrorCode() + " " + s.getSQLState());
                   catch (Exception e) {
                   System.out.println(" Error: " + e.toString() + e.getMessage());
              

  • Problem start-up N95

    If I will startup my N95, I only get a white screen with the Nokia sign.
    The start will not go further, till the inlogpage.
    I saw an almost equal problem from Willowrise - subject"Nokia N95 frozen at start up".
    I tried all the suggestions without any solution.
    Please who can help me?

    Try advice from second post
    /discussions/board/message?board.id=hardware&thread.id=6601
    N95 & N96 User

  • MCF hashcode problem explained.

    Hi all,
              did anyone read an article about overriding hashCode and equals in one of
              the recent JavaReport issues?
              The problem that weblogic denotes as hashCode problem is actually equals
              problem. The point is that whenever you override hashCode, you MUST provide
              "correct" equals implementation, because collection classes use both
              hashCode and equals to find an object.
              Here's what the real problem is:
              public class MyManagedConnectionFactory ... {
              private String url;
              public int hashCode() {
              return url.hashCode();
              public boolean equals(Object obj) {
              if (obj instanceof MyManagedConnectionFactory) {
              /// This is THE problem ^^^^^^^^^^^^^^^^^^^^
              return ((MyManagedConnectionFactory)obj).url.equals(url);
              } else {
              return false;
              obj instanceof MyManagedConnectionFactory requires obj.getClass() ==
              this.getClass().
              So where's the problem? Please remember that you are in J2EE environment
              with lots of different classLoaders and class is defined not only by it's
              name, but by classloader as well. In order to ivestigate this problem I
              added simple debug printout to equals:
              debug("MCF.equals("+this.getClass().getClassLoader()+","+obj.getClass().getC
              lassLoader()+")");
              This gave me: MCF.equals
              (weblogic.utils.classloaders.RarClassLoader@62041,weblogic.utils.classloader
              s.GenericClassLoader@70d7f5 finder:
              weblogic.utils.classloaders.MultiClassFinder@1db0ad)
              Why are they different? There may be lots of reasons, but as long as they
              are different obj instanceof MyManagedConnectionFactory gives you result you
              not expected.
              Possible workaround is:
              Managed connection factory is not likely to be checked for equals with
              anything other than ManagedConnectionFactory. If you care about classname,
              then it's better to check by obj.getClass().getName(), otherwise you can
              simply cast obj to desired type (but be sure to check for exceptions).
              So the problem with hashCode actually is a problem with equals. I would not
              consider this a bug in weblogic. It's rather developer's misunderstanding of
              J2EE architecture (it's complicated enough to confuse any expert :-)
              Hope this helps someone.
              Dmitri "Vinny" Girenko [email protected]
              Software Developer http://www.akumiitti.fi/
              Akumiitti Ltd GSM: +358 40 846 2486
              Tammasaarenkatu 5 B Tel: +358 201 500 574
              00180 Helsinki FAX: +358 201 500 502
              Finland
              

    Hi,
              I was also facing this problem, but I sloved it this way.
              My ManagedConnectionFactoryImpl extends another base class. So I cast it to
              the base class rather than this class.
              Its working then. So its like :
              ManagedConnectionFactoryImpl x = (ManagedConnectionFactoryImpl (obj);
              if (obj instance of BaseManagedConnectionFactory)
              Why its not working for the this class is strange.
              Thanks
              Amit Chauhan
              Dimitry Girenko <[email protected]> wrote in message
              news:[email protected]...
              > Hi all,
              >
              > did anyone read an article about overriding hashCode and equals in one of
              > the recent JavaReport issues?
              > The problem that weblogic denotes as hashCode problem is actually equals
              > problem. The point is that whenever you override hashCode, you MUST
              provide
              > "correct" equals implementation, because collection classes use both
              > hashCode and equals to find an object.
              >
              > Here's what the real problem is:
              >
              > public class MyManagedConnectionFactory ... {
              > ...
              > private String url;
              > public int hashCode() {
              > return url.hashCode();
              > }
              > public boolean equals(Object obj) {
              > if (obj instanceof MyManagedConnectionFactory) {
              > /// This is THE problem ^^^^^^^^^^^^^^^^^^^^
              > return ((MyManagedConnectionFactory)obj).url.equals(url);
              > } else {
              > return false;
              > }
              > }
              > }
              >
              > obj instanceof MyManagedConnectionFactory requires obj.getClass() ==
              > this.getClass().
              > So where's the problem? Please remember that you are in J2EE environment
              > with lots of different classLoaders and class is defined not only by it's
              > name, but by classloader as well. In order to ivestigate this problem I
              > added simple debug printout to equals:
              >
              >
              debug("MCF.equals("+this.getClass().getClassLoader()+","+obj.getClass().getC
              > lassLoader()+")");
              > This gave me: MCF.equals
              >
              (weblogic.utils.classloaders.RarClassLoader@62041,weblogic.utils.classloader
              > s.GenericClassLoader@70d7f5 finder:
              > weblogic.utils.classloaders.MultiClassFinder@1db0ad)
              >
              > Why are they different? There may be lots of reasons, but as long as they
              > are different obj instanceof MyManagedConnectionFactory gives you result
              you
              > not expected.
              >
              > Possible workaround is:
              > Managed connection factory is not likely to be checked for equals with
              > anything other than ManagedConnectionFactory. If you care about classname,
              > then it's better to check by obj.getClass().getName(), otherwise you can
              > simply cast obj to desired type (but be sure to check for exceptions).
              >
              > So the problem with hashCode actually is a problem with equals. I would
              not
              > consider this a bug in weblogic. It's rather developer's misunderstanding
              of
              > J2EE architecture (it's complicated enough to confuse any expert :-)
              >
              > Hope this helps someone.
              > --
              > Dmitri "Vinny" Girenko [email protected]
              > Software Developer http://www.akumiitti.fi/
              > Akumiitti Ltd GSM: +358 40 846 2486
              > Tammasaarenkatu 5 B Tel: +358 201 500 574
              > 00180 Helsinki FAX: +358 201 500 502
              > Finland
              >
              >
              >
              

  • Irq Problem Lenovo N200 Vista Business

    Hi,
    i have a "Irq not less or equal" problem and get always after loggin in in Vista a blue screen and restart.
    I can not change any irq numbers in the resourcess of for example graphic card device.
    There is Automatic config marked and i have not the option to cancel this option and change the irq number to another.
    How can i chang the irq's under vista?
    The bios in my Lenovo N200 notebook gives me not the option.
    Can someone help me?

    Seems like we got the problem. Are you setting up an audio interface?

  • Can't connect to database or Database Home Page (after installation)

    sorry that i have to make another thread for this problem, but i didnt found an equal problem to mine.
    after installing oracleXE 10, i get an error message in my firefox, if want to start 127.0.0.1:8080/apex.
    i have win xp pro. in command line i tryed to connect to sqlplus:
    c:\>sqlplus
    user-name: system
    password: <password>
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    and by trying:
    C:\>sqlplus system/<password>@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 13 17:37:21 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    my services are running. (Listener and ServiceXE)
    lsnrctl status says:
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=compi)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    i think the problem is the status UNKNOWN
    in windows the PATH is set to: E:\oraclexe\app\oracle\product\10.2.0\server\bin
    i hope i have the important details posted
    its my second day, and i have no clues what to do. its my first time for Oracle.
    can someone help?
    Message was edited by:
    crunchy_nut

    it seems he can not find the file spfileXE.ora while i tried to shutdown the database, the folder dbs is empty.
    the best is, i show you what the command tells me:
    C:\Dokumente und Einstellungen\Daniel>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 14 07:32:17 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> shutdown immediate
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file 'E:\oraclexe\app\oracle\product\10.2.0\serv
    er\dbs/spfileXE.ora'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) Das System kann die angegebene Datei nicht finden.
    during installation of oracle, i got no error message or something.
    i hope this is not a big problem :-(
    Message was edited by:
    crunchy_nut

  • Message error: "Saving a PDF file when printing is not supported. Instead, choose File Save."

    I have 2 problems creating a .ps file.
    As i know, there are 2 ways of creating a Postcript file from a PDF.
    The first is from the Print monitor. I go through menu File/Page Setup i give the exact dimensions from my spreaded pages and after that i go to Print and when this window opens,
    i go down and left and i open the pop-up menu on"PDF" and i choose "Save PDF as Postscript"
    There is where i get the above error message :
    "Saving a PDF file when printing is not supported. Instead, choose File > Save."
    And the second scenario, i get an equal problem.
    If i go to Page setup and give the right dimensions of my spreaded document, after that i go to the File/Save as command, there is choose from the bottom pop-up menu, the option at Format: Postscript
    If i do that i get the following message:
    "The document could not be saved. An internal error occured."
    What is wrong with all this?
    Can anyone help me out?
    System preferences.
    Mac OS X 10.4.11
    Acrobat professional 8.1.2
    Thank you

    Jon Bessant asked:
    "Does this occur on every PDF file? The internal error message that is ..."
    Yes, it happens on every PDF

  • Report Painter - new Basic Key Figure for Currency Translation

    Hi,
    I need a report painter report which allows to translate the company code currency HSL in GLPCT into several target currencies. Theoretically I need to translate each month with an own translation rate and possible different translation keys.
    In table T804B I tried to create a new basic key figure for GLPCT in order to translate the HSL amount with a second TCURR rate. I copied the original basic key figure GLPCT - CC_HSL. I selected structure GLBDZ and fields CCH++ as data source and assigned new variables for the TCURR selection.
    The report painter report is setup with three columns : one in HSL, one with CC_HSL and one with the new key figure. In the selection screen of the report painter report I can enter two rates. But after execution the translation of the new basic key figures is done with the same rate as the CC_HSL column is using.
    Did anybody encounter an equal problem?
    Many thanks and regards
    Markus

    have you created a new calculation routine in form pool SAPFGRWG equivalent to E06_CALC_CURR_CONV_HSL? doesnt this explicitly get the company code currencies

  • Application Server instance shutdown for no apparent reason

    Hi Experts,
    Our production ECC 6.0 Application server instance work process ended by itself, and this is the second time it happens;
    Our Platform is;
    Windows 2003 server, ECC 6.0, SQL Server 2005,
    Kernel Release : 150
    here are the sm21, dev_disp, dev_icm, dev_rd, dev_w0 logs;
    How can i prevent this error,
    Regards
    sm21 logs;
    03:02:49 RD                                  Q0  I Operating system call recv failed (error no. 10054)
    03:02:49 RD                                  Q0  I Operating system call recv failed (error no. 10054)
    03:02:49 RD                                  Q0  I Operating system call recv failed (error no. 10054)
    03:02:49 RD                                  Q0  I Operating system call recv failed (error no. 10054)
    03:02:50 RD                                  S3  0 SAP gateway was closed
    03:03:00 DP                                  Q0  M Message server disconnected
    03:03:00 DP                                  Q0  5 Stop SAP System, Dispatcher Pid 28
    dev_disp;
    Tue Aug 12 21:15:12 2008
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 7 / sock 164
        (SI_ECONN_BROKEN/10054; I4; ST; 192.168.0.211:1592) [nixxi.cpp    4424]
    Network error of client T28, NiBufReceive (-6: NIECONN_BROKEN), dp_tm_status=3
    Client address of T28 is 192.168.0.211(192.168.0.211)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (11539HASANS 28 EnAltDepo ) [dpxxdisp.c   11577]
    RM-T28, U11539, 100       HASANS, EnAltDepo, 21:14:47, M1, W1,     , 3/1
    Wed Aug 13 03:02:48 2008
    DpSigInt: caught signal 2
    DpHalt: shutdown server >sapapp1_KEC_00                          < (normal)
    DpModState: change server state from ACTIVE to SHUTDOWN
    Stop work processes
    Wed Aug 13 03:02:49 2008
    Stop gateway
    Stop icman
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    waiting for termination of gateway ...
    Wed Aug 13 03:02:50 2008
    wait for end of icman
    waiting for termination of icman ...
    Wed Aug 13 03:02:51 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:52 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:53 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:54 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:55 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:56 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:57 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:58 2008
    waiting for termination of icman ...
    Wed Aug 13 03:02:59 2008
    DpStartStopMsg: send stop message (myname is >sapapp1_KEC_00                          <)
    DpStartStopMsg: stop msg sent
    Wed Aug 13 03:03:00 2008
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12213]
    MBUF state OFF
    MBUF component DOWN
    cleanup EM
    ***LOG Q05=> DpHalt, DPStop ( 2804) [dpxxdisp.c   10461]
    dev_rd ;
    Thu Aug 07 10:51:11 2008
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 13 / sock 464
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3707) [nixxi.cpp    4424]
    Wed Aug 13 03:02:34 2008
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 43 / sock 468
        (SI_ECONN_BROKEN/10054; I4; ST; 192.168.0.201:2898) [nixxi.cpp    4424]
    Wed Aug 13 03:02:49 2008
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 14 / sock 440
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2503) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 5 / sock 44
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:4669) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 38 / sock 52
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2508) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 3 / sock 492
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2421) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 8 / sock 420
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2480) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 9 / sock 408
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2481) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 10 / sock 396
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2482) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 11 / sock 384
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2483) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 37 / sock 72
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3043) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 41 / sock 40
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2657) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 480
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3318) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 40 / sock 48
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3462) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 13 / sock 464
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:4059) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 12 / sock 372
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2862) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 15 / sock 340
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2548) [nixxi.cpp    4424]
    Wed Aug 13 03:02:50 2008
    ***LOG S30=> GwStopGateway, gateway stopped () [gwxxrd.c     14656]
    dev_icm ;
    trc file: "dev_icm", trc level: 1, release: "700"
    sysno      00
    sid        KEC
    systemid   562 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    148
    intno      20050900
    make:      multithreaded, Unicode, 64 bit, optimized
    pid        3012
    [Thr 3008] started security log to file dev_icm_sec
    [Thr 3008] ICM running on: sapapp1.koyuncu.com.tr
    [Thr 3008] MtxInit: 30001 0 2
    [Thr 3008] IcmInit: listening to admin port: 65000
    [Thr 3008] DpSysAdmExtCreate: ABAP is active
    [Thr 3008] DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    [Thr 3008] Thu Jul 10 09:14:17 2008
    [Thr 3008] DpShMCreate: sizeof(wp_adm)          42016     (1616)
    [Thr 3008] DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    [Thr 3008] DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    [Thr 3008] DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    [Thr 3008] DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    [Thr 3008] DpShMCreate: sizeof(comm_adm)          552080     (1088)
    [Thr 3008] DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    [Thr 3008] DpShMCreate: sizeof(slock_adm)          0     (104)
    [Thr 3008] DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    [Thr 3008] DpShMCreate: sizeof(file_adm)          0     (72)
    [Thr 3008] DpShMCreate: sizeof(vmc_adm)          0     (1864)
    [Thr 3008] DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    [Thr 3008] DpShMCreate: sizeof(gw_adm)     48
    [Thr 3008] DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000001FB0050, size: 6365440)
    [Thr 3008] DpShMCreate: allocated sys_adm at 0000000001FB0050
    [Thr 3008] DpShMCreate: allocated wp_adm at 0000000001FB2150
    [Thr 3008] DpShMCreate: allocated tm_adm_list at 0000000001FBC570
    [Thr 3008] DpShMCreate: allocated tm_adm at 0000000001FBC5D0
    [Thr 3008] DpShMCreate: allocated wp_ca_adm at 0000000002520470
    [Thr 3008] DpShMCreate: allocated appc_ca_adm at 0000000002526230
    [Thr 3008] DpShMCreate: allocated comm_adm at 0000000002528170
    [Thr 3008] DpShMCreate: system runs without slock table
    [Thr 3008] DpShMCreate: system runs without file table
    [Thr 3008] DpShMCreate: allocated vmc_adm_list at 00000000025AEE00
    [Thr 3008] DpShMCreate: allocated gw_adm at 00000000025AEE80
    [Thr 3008] DpShMCreate: system runs without vmc_adm
    [Thr 3008] DpShMCreate: allocated ca_info at 00000000025AEEB0
    [Thr 3384] IcmProxyWatchDog: proxy watchdog started
    [Thr 3008] CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 0
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 1
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 2
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 3
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 4
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 5
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 6
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 7
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 8
    [Thr 3008] IcmCreateWorkerThreads: created worker thread 9
    [Thr 3428] IcmWatchDogThread: watchdog started
    [Thr 3432] *** WARNING => HttpPlugInInit: Parameter icm/HTTPS/trust_client_with_issuer or icm/HTTPS/trust_client_with_subject not set => do not trust any intermediary
    X.509 cert data will be removed from header [http_plg.c   720]
    [Thr 3432] ISC: created 400 MB disk cache.
    [Thr 3432] ISC: created 50 MB memory cache.
    [Thr 3432] HttpSubHandlerAdd: Added handler HttpCacheHandler(slot=0, flags=12293) for /:0
    [Thr 3432] HttpExtractArchive: files from archive E:\usr\sap\KEC\D00\exe/icmadmin.SAR in directory E:/usr/sap/KEC/D00/data/icmanroot are up to date
    [Thr 3432] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=1, flags=4101) for /sap/admin:0
    [Thr 3432] CsiInit(): Initializing the Content Scan Interface
    [Thr 3432]            PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)
    [Thr 3432] CsiInit(): CSA_LIB = "E:\usr\sap\KEC\D00\exe\sapcsa.dll"
    [Thr 3432] Thu Jul 10 09:14:18 2008
    [Thr 3432] HttpSubHandlerAdd: Added handler HttpAuthHandler(slot=2, flags=12293) for /:0
    [Thr 3432] HttpSubHandlerAdd: Added handler HttpSAPR3Handler(slot=3, flags=1052677) for /:0
    [Thr 3432] Started service 8000 for protocol HTTP on host "sapapp1.koyuncu.com.tr"(on all adapters) (processing timeout=60, keep_alive_timeout=30)
    [Thr 3432] Thu Jul 10 09:14:24 2008
    [Thr 3432] *** WARNING => IcmNetCheck: NiAddrToHost(10.0.0.1) took 6 seconds [icxxman.c    4578]
    [Thr 3432] *** WARNING => IcmNetCheck: 1 possible network problems detected - please check the network/DNS settings [icxxman.c    4634]
    [Thr 3008] Tue Jul 22 16:47:29 2008
    [Thr 3008] *** WARNING => IcmMsgProcess: connection to WP 1 broken (rc=-8,nirc=-6)
    [Thr 3008] Tue Jul 22 16:49:43 2008
    [Thr 3008] *** WARNING => IcmMsgProcess: connection to WP 2 broken (rc=-8,nirc=-6)
    [Thr 3008] Wed Jul 23 15:06:44 2008
    [Thr 3008] *** WARNING => IcmMsgProcess: connection to WP 1 broken (rc=-8,nirc=-6)
    [Thr 3008] Wed Jul 23 15:23:34 2008
    [Thr 3008] *** WARNING => IcmMsgProcess: connection to WP 1 broken (rc=-8,nirc=-6)
    [Thr 3008] Wed Jul 23 16:54:47 2008
    [Thr 3008] *** WARNING => IcmMsgProcess: connection to WP 2 broken (rc=-8,nirc=-6)
    [Thr 3008] Thu Aug 07 09:50:19 2008
    [Thr 3008] *** WARNING => IcmMsgProcess: connection to WP 0 broken (rc=-8,nirc=-6)
    [Thr 3384] Wed Aug 13 03:02:58 2008
    [Thr 3384] IcmProxyWatchDog: Shutdown request received
    [Thr 3384] *** IcmProxyWatchDog: exit thread ***
    [Thr 3428] Wed Aug 13 03:02:59 2008
    [Thr 3428] IcmWatchDogThread: Shutdown request received
    [Thr 3428] *** IcmWatchDogThread: exit thread ***
    [Thr 3008] IcmLoop: Shutdown request received
    [Thr 3008] Deactivated service 8000 for protocol HTTP on host: "sapapp1.koyuncu.com.tr"(on all adapters) (timeout=30)
    [Thr 3008] Deactivated service 0 for protocol SMTP on host: "sapapp1.koyuncu.com.tr"(on all adapters) (timeout=30)
    [Thr 3008] Removed service 8000 for protocol HTTP on host: "sapapp1.koyuncu.com.tr"(on all adapters) (timeout=30)
    [Thr 3008] Removed service 0 for protocol SMTP on host: "sapapp1.koyuncu.com.tr"(on all adapters) (timeout=30)
    [Thr 3008] *** ICM shutdown completed (pid: 3012) ***
    dev_w0
    A Mon Aug 11 09:32:57 2008
    A  GENER starting inline generation: AQA0SYSTQV000006ZFI_MBL_001=== (reason: explicit generation).

    A Mon Aug 11 09:35:51 2008
    A  GENER starting remote generation: /1BCDWB/SAPLIQ000000000079 (requested by W1).

    M Mon Aug 11 11:08:35 2008
    M  *** WARNING => ThSndDelUser: delete client/user 100/HIKMETB      (T100) on server sapapp1_KEC_00     

    M Mon Aug 11 11:40:23 2008
    M  *** WARNING => ThSndDelUser: delete client/user 100/MURATU       (T81) on server sapapp2_KEC_00     

    M Mon Aug 11 11:51:37 2008
    M  *** WARNING => ThSndDelUser: delete client/user 100/HIKMETB      (T28) on server sapapp1_KEC_00     

    M Mon Aug 11 12:21:53 2008
    M  *** WARNING => ThSndDelUser: delete client/user 100/HIKMETB      (T99) on server sapapp1_KEC_00     

    A Mon Aug 11 22:28:59 2008
    A  GENER starting remote generation: SAPL0F21 (requested by W1).

    M Tue Aug 12 09:47:58 2008
    M  *** WARNING => PfStatWrite: missing STAT_END for opcode STAT_GUI [pfxxstat.c   4133]

    M Tue Aug 12 15:34:33 2008
    M  ***LOG US1=> Login, Wrong Password (UMITK ) [sign.c       4523]

    M Wed Aug 13 03:02:48 2008
    M  in_ThErrHandle: 1
    M  ThIErrHandle: new stat of W0 is WP_SHUTDOWN   
    M  ThIErrHandle: I'm during shutdown
    M  PfStatDisconnect: disconnect statistics
    M  Entering ThSetStatError
    M  ThCallDbBreak: use db_sqlbreak
    C  SQLBREAK: DBSL_CMD_SQLBREAK: CbOnCancel was not set. rc: 1
    M  ThIErrHandle: don't try rollback again
    M  ThShutDownServer: shutdown server
    M  PfStatIndInit: Initializing Index-Record
    M  PfWriteIntoFile: copied shared buf (0 bytes) to local buf
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 INACTIVE     NO  YES NO  000 255 255 20080807 095145 SAPDB          

    B Wed Aug 13 03:02:49 2008
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=252484, com_tx=21560)
    B  statistics db_con_rollback (roll_total=984, roll_tx=11)
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 4192) [dpnttool.c   333]

    Hi, i have the equal problem :
    Fri Sep 11 11:51:48 2009
    TRACE FILE TRUNCATED ( pid =     2328 )
    sysno      00
    sid        PRD
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    201
    intno      20050900
    make:      multithreaded, ASCII, optimized
    pid        2328
    kernel runs with dp version 242(ext=110) (@(#) DPLIB-INT-VERSION-242)
    length of sys_adm_ext is 364 bytes
    Fri Sep 11 12:01:34 2009
    SoftCancel request for T39 U9644 M2 received from REMOTE_TERMINAL
    Fri Sep 11 12:05:20 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 24 / sock 808
        (SI_ECONN_BROKEN/10054; I4; ST; 192.168.254.87:2122) [nixxi.cpp    4424]
    Network error of client T28, NiBufReceive (-6: NIECONN_BROKEN), dp_tm_status=3
    Client address of T28 is 192.168.254.87(192.168.254.87)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (9645 MAGAZZ-ORIO 28 paolo ) [dpxxdisp.c   12205]
    RM-T28, U9645, 200  MAGAZZ-ORIO, paolo, 12:05:20, M2, W5,     , 3/1
    Fri Sep 11 12:18:01 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 23 / sock 1120
        (SI_ECONN_BROKEN/10054; I4; ST; 192.168.254.98:1542) [nixxi.cpp    4424]
    Network error of client T80, NiBufReceive (-6: NIECONN_BROKEN), dp_tm_status=3
    Client address of T80 is 192.168.254.98(192.168.254.98)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (9730 MAGAZZ-ORIO 80 HP-DIREZIONE) [dpxxdisp.c   12205]
    RM-T80, U9730, 200  MAGAZZ-ORIO, HP-DIREZIONE, 12:17:23, M0, W10, SP02, 2/1
    Fri Sep 11 13:21:19 2009
    DpHdlDeadWp: restart wp (pid=4152) automatically
    Fri Sep 11 14:06:55 2009
    SoftCancel request for T56 U9281 M4 received from REMOTE_TERMINAL

  • Transformation in JDeveloper

    Sorry if the question may be a bit offtopic but I didn't find a better fitting Forum in time. I'm trying to map a source-xml to a target-xml in the JDeveloper using the transformation-activity. The Problem ist that the source-xml looks like this:
    <...>
    <Produkt1>62</Produkt1>
    <Produktzusatz1>64</Produktzusatz1>
    <Geschaeftsfall1>66</Geschaeftsfall1>
    <Stueck1>68</Stueck1>
    <Produkt2>69</Produkt2>
    <Produktzusatz2>71</Produktzusatz2>
    <Geschaeftsfall2>73</Geschaeftsfall2>
    <Stueck2>75</Stueck2>
    <Produkt3>76</Produkt3>
    <Produktzusatz3>78</Produktzusatz3>
    <Geschaeftsfall3>80</Geschaeftsfall3>
    <Stueck3>82</Stueck3>
    <...>
    But the target-xml should be transformed to:
    <auftragPosition>
    <Produkt>62</Produkt>
    <Produktzusatz>64</Produktzusatz>
    <Geschaeftsfall>66</Geschaeftsfall>
    <Stueck>68</Stueck>
    </auftragPosition>
    <auftragPosition>
    <Produkt>69</Produkt>
    <Produktzusatz>71</Produktzusatz>
    <Geschaeftsfall>73</Geschaeftsfall>
    <Stueck>75</Stueck>
    </auftragPosition>
    <auftragPosition>
    <Produkt>76</Produkt>
    <Produktzusatz>78</Produktzusatz>
    <Geschaeftsfall>80</Geschaeftsfall>
    <Stueck>82</Stueck>
    </auftragPosition>
    Is it possible to get this transformed? My problem is the different node-Name in the source-xml (product1, product2...). Otherwise a for-each "product" could be used.

    I found it by myself, although it's not too elegant...
    <xsl:for-each select='//*\[starts-with(name(), "Produkt1")\]'>
    <!-- Nur falls Produkt wirklich gefuellt ist uebernehmen -->
    <xsl:if test="string()!=''">
    <types:auftragPosition>
    <types:Produkt>
    <xsl:value-of select="string()"/>
    </types:Produkt>
    <xsl:for-each select='//*\[starts-with(name(), "Produktzusatz1")\]'>
    <types:Produktzusatz>
    <xsl:value-of select="string()"/>
    </types:Produktzusatz>
    </xsl:for-each>
    <xsl:for-each select='//*\[starts-with(name(), "Geschaeftsfall1")\]'>
    <types:Geschaeftsfall>
    <xsl:value-of select="string()"/>
    </types:Geschaeftsfall>
    </xsl:for-each>
    <xsl:for-each select='//*\[starts-with(name(), "Stueck1")\]'>
    <types:Stueck>
    <xsl:value-of select="string()"/>
    </types:Stueck>
    </xsl:for-each>
    </types:auftragPosition>
    </xsl:if>
    </xsl:for-each>
    Hmm... maybe someday someones reads this while searching for an equal problem ;)

  • InDesign CC (CS7) Scrolling and moving around so slow and choppy!!

    Adobe - please send out an update for CC!! Me and IT dept checked my Mac system requirements and all is fine there. Moving around on my pages (e.g. hand tool) and scrolling is so choppy, slow, and lags. And sometimes my art disappears and I'm looking at blank pages until I stop or let refresh for a bit.
    I also noticed that when I'm in "preview mode," CPUs go down and much less choppy and smoother moving around, but I can't work in preview mode. (e.g. I need hidden characters on for Indexing markers, and my frames and guides on).
    CS6 works MUCH smoother, but I can't save client files down if that's how they provide them to me. Please recommend any other suggestions or hopefully an update will help this issue.

    I also hop on the issue to give it some more attention.
    InDesign scolling lags badly, Tools are slow, Program crashes. Equal problems using Illustrator/Photoshop.
    My Mac is not the newest – but CS6 was running like a charm before.
    Some TechSpecs:
    OSX Mavericks (Clean Install)
    Core2Duo 2.4 GhZ
    8GB 1067MhZ DDR3 RAM
    OCZ Vertex SSD 256GB
    Currently using the Test-Period of CC on this machine to figure out how it works – but that should not be a problem as the Programs are the same. As a student I would prefer the current discount offer (the normal rate is al little too much for me right now). Please fix this problem, otherwise I can't buy it the next year. Btw. Subscription method is great compared to the old payment method.

Maybe you are looking for

  • RRI list all sales orders in VA05.

    Hi, For all queries of infoprovider I created a RRI based on - Sales organization VKORG -> VKORG - Sold-to- party KUNDE -> KUNDE_D When I execute VA05 with "Sold-to- party" and "Sales organization", it returns only the the "Sold-to- party" orders. Wh

  • Unable to Update Database.

    Hi All, I was trying to load data thru load files and got the following message. Unable to update database while in readonly mode for backup Unexpected Essbase error 1013231I tried looking at Information Help Menu. I could not find the error number.

  • Can I improve my 2009 iMac ?

    I have  24" iMac purchased in 2009 , came with 2.66 Ghz, Intel core 2 Duo, 4 GB memory, Ive recently upgraded it to Maverick 10.9 and as I write there is another software update in progress! I've never had a problem with this computer and always reco

  • My Apple id is not active or never used for app store?

    i don't lnow why i can't used my new apple id for doqnload app

  • Option 1- Slow speed - order not completed ??

    Hi I was previously on another BT Package and upgraded to Option 1. Previously I was getting speeds up to 5.9. I have wireless and hard wired devices and the speed was consistent with the hard wired device typically 1 Mbps above the wireless device (