'Embedded RP on IPv6' + System received a SegV exception

Hi.
I try to configure de folloing scenary - Embedded RP with IPv6
I used 3 cisco 2600 routers:'Cisco IOS Software, C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(5), RELEASE SOFTWARE (fc3)'
For cliente and server streamnig, i used Videolan-Client
I have end-to-end conectivity - in R1 i can ping sucessefully 2001:ddd::1
In R2, i have configured de serial0/1 with: IPv6 address 2001:ccc:beef:feed::1/32
in the same router, R2, i configured: 'ipv6 pim rp-address 2001:CCC:BEEF:FEED::1'
all routers have enable embedded rp: 'IPv6 pim rp embedded'
but when i put VLC to stream at address [FF76:140:2001:CCC:beef:feed::1], the cisco IOS reboot...
What is a problem?? bug in IOS, bad configurations??
i really apreciate you help
thanks in advanced.
thansk, Rui Bernardo
2001:AAA::/32...2001:BBB::/32...2001:CCC::/32...2001:DDD::/32
PC1--- .1[ R1 ].1---serial----.2[ R2 ].2---serial-----.1[ R3].1-----PC2
eth0.......ser0.......ser0/0......ser0/1........s0/0.....eth0/0
R1 con0 is now available
Press RETURN to get started.
15:51:59 UTC Mon Mar 4 2002: Unexpected exception to CPUvector 1200, PC = 0x814D7104, LR = 0x814D70E4
-Traceback= 0x814D7104 0x81F6CDB8 0x819528D8 0x81952914 0x827F6384 0x827F72C8 0x827E2C94 0x827E2EE8 0x827DB198 0x8280D6F0 0x8280D880 0x827DB8E4 0x8280CAF8 0x8280CCE8 0x827CC06C 0x827CB754
CPU Register Context:
MSR = 0x00009032 CR = 0x30009009 CTR = 0x806FAF98 XER = 0x80001C7F
R0 = 0x00000030 R1 = 0x85D5E0D0 R2 = 0x84AD0000 R3 = 0x00000001
R4 = 0x851AE3A0 R5 = 0x851AE1D4 R6 = 0x00000001 R7 = 0x68010000
R8 = 0x00009032 R9 = 0x00000000 R10 = 0x68010000 R11 = 0x84C10000
R12 = 0x02147698 R13 = 0xFFF4B634 R14 = 0x8519F1A8 R15 = 0x00000000
R16 = 0x84C9DBE4 R17 = 0x00000000 R18 = 0x84ED1C1C R19 = 0x84390000
R20 = 0x84390000 R21 = 0x84ED0000 R22 = 0x00000000 R23 = 0x00000590
R24 = 0x85417140 R25 = 0x00000001 R26 = 0x00000560 R27 = 0x00000024
R28 = 0x074050D8 R29 = 0x85D42318 R30 = 0x84FD18FC R31 = 0x84FD18FC
Writing crashinfo to flash:crashinfo_20020304-155159
=== Flushing messages (15:51:59 UTC Mon Mar 4 2002) ===
Queued messages
*** System received a SegV exception ***
signal= 0xb, code= 0x1200, context= 0x84e24818
PC = 0x814d7104, Vector = 0x1200, SP = 0x85d5e0d0
System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 131072 Kbytes of main memory
program load complete, entry point: 0x80008000, size: 0x1c413c0
Self decompressing the image : ##########

Try ff7e instead of ffce for an Embedded RP

Similar Messages

  • How to test if remote R/3 system (Receiver) is down in case of Async RFC ?

    Hi Experts,
       How to test if remote R/3 system (Receiver) is down in case of Async RFC call? There is no BPM as well. I have configured an alert category and created a rule in runtime workbench's Alert Configuration for the specific inbound interface.
       I have tried by stopping the channel and also by changing the server name in the communication channel but all in vail. XI still shows message successfully processed.
      Kindly help me
    Thanks
    Gopal

    Hi,
    How to test system down in XI? Kindly help!
    Have answered here as well.
    Meanwhile, you would have an error in the receiver RFC adapter in Comm Channel Monitoring.
    Maybe you change another RFC adapter rather than the one being used in the receiver agreement.
    regards
    Bhavesh

  • VNC tool compatibility with WinCE and Windows Embedded Compact 2013 operating systems

    What are all the VNC tools that are compatible with WinCE and Windows Embedded Compact 2013 operating systems or are there any RDP solutions available?
    I am looking for a common VNC tool which is compatible on both the operating systems?

    This forum is for POSREady. Please try one of the Windows CE forums:
    http://social.msdn.microsoft.com/Forums/en-US/category/windowsembeddedcompact
    Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com

  • No interface Idoc in Business system Receiver

    Hello,
    I have one question concerning my interface for receiver.
    My scenarion is File to Idoc and when I configure my receiver determination, and I choose my business system receiver 'BS_ER6CLNT001' I don't find my interface 'CREMAS.CREMAS05' insinde, I have to click first to 'All' and there I find it.
    Is it normal? Because I receive in 'sxmb_moni' the error receiver could not be determined.
    Thank you,
    Mohamed.

    Hi
    This is not like that. It depends on the software component in which you have imported the idoc.
    If the software componet where the idoc was imported ,is included in the Business System then you can find all the interfaces,idocs,rfcs directly.
    In your case you might have imported the CREMAS in a different software component ,which is not included in your Business System.
    You can just check by adding that softwar component to Business System in SLD,then you can
    try in Integration Directory .
    Thanks
    Prasad Nemalikanti

  • RFC_ERROR_LOGON_FAILURE: System received an expired SSO ticket

    Hi All,
    We installed NW 7.0 SP 14 with EP 7.0; All the post-installation steps were completed and JCo's configured with SSO to backend ECC 6.0 system.
    Since morning we are getting he below mention error when trying to test the JCo's for all the users.
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: System received an expired SSO ticket.
    Tried many variations and also changed the Ticket expiration time(to 24 from 8) restarted the server but the problem still remains. Can any one suggest any more ideas on how to sole this?
    Is this problem any where related to CR Content? If so can you suggest how to check the current veriosn and how to find out the exact level which would be supported for our NW system.
    Thanks in advace for you help.
    Thanks,
    Sravanthi

    Hi,
    Your portal certificate has expired.
    To renew - you need to generate a new one in the ticket keystore using Visual Admin.
    Next you export the new updated ticket to the trusting system (in yoru case ECC) using tcode STRUSTSSO2.
    You then import the ticket and assign it to the ACL.
    Issue should then be resolved.

  • Copy & paste embeded object to file system

    Cross-post at:
    http://stackoverflow.com/questions/27685791/copy-paste-embeded-object-to-file-system
    Background:
    I wrote a large piece of VBA code in an Excel workbook to help handle a lot of repeating jobs. I found it is painful to maintain and modify the code by using the "pool" VBA Editor. Then, I decided to move those VBA code to C# solutions, which I
    suppose I can benefit from the modern editor - Visual Studio.
    Problem:
    Although I don't know too much about VBA, I know even less about C#. Hence I got some problem when I try to "translate" my VBA code to C#, and here is one of them:
    I create a document-level solution for Excel. I need to embed some files (.cab, .exe) into the solution, so when I run a method (e.g. by clicking a button), those files will be copied to the file system, and do some job.
    In VBA, I embedded those files in the Excel workbook, then I can copy the embedded objects to the clipboard by using the following VBA code:
    Sheet1.OLEObjects("obj_cab").COpy
    And then I can paste the object to the file system by using the following VBA code:
    CreateObject("Shell.Application").Namespace("C:\Sample\").Self.InvokeVerb "Paste"
    In the C# solution, I can use the following equivalent method to copy the embedded object to the clipboard:
    Microsoft.Office.Interop.Excel.OLEObject OLEobj = (Microsoft.Office.Interop.Excel.OLEObject)sheet1.OLEObjects("obj_cab");
    OLEobj.Copy();
    Then I stuck here, I don't know how to get this object from clipboard and put it to the file system. The 'CreateObject' method does not exist in C#.
    Anyone can help? Either a better way to embed those files or a working way to paste those objects (files) from clipboard to the file system?
    Thanks a lot!

    Hi FantaC,
    It's possible to save the oleobject to the disk. But it's not very simple. Because when you call the Copy method of OLEObject to clipboard, it's actually not the exact the oleobject file itself, it's actually a wrapper of the file, it means that it has different
    file headers and some other information from the original oleobject file.
    To save oleobject on the disk, you need to analyze the byte array by yourself, this would be a little complicated. You could check the answer in this thread for the code sample:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/1ab7a178-8021-4c67-a14b-5031a254fd9c/saving-oleobject-content-to-a-file
    The original poster of this thread also write a blogpost about this, you can check it here:
    Saving OLEObject Content To File
    Detailed information and code samples are provided in this blogpost.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • System received a Bus Error exception

    Hello everbody,
    when i power off and power on again my  router, i did not start. it says the message like this:
    -Traceback= 0x4027754C 0x400886BC 0x4008CDE4 0x400BAA5C
    $0 : 00000000, AT : 42F60000, v0 : 00000303, v1 : BFA00000
    a0 : 00000303, a1 : 00000000, a2 : 00000000, a3 : 00000005
    t0 : 000F4240, t1 : 0000000B, t2 : 0000000B, t3 : FFFFFFFE
    t4 : 4AB8C413, t5 : 00000000, t6 : 43130000, t7 : 4AB8C029
    s0 : 43137F24, s1 : 00000006, s2 : 00000000, s3 : 00000000
    s4 : 438FACE0, s5 : 42F40000, s6 : BEEFBACC, s7 : 00000000
    t8 : BFA00000, t9 : 00000003, k0 : 00000020, k1 : 00000000
    gp : 42F600E0, sp : 438FAC68, s8 : 43974F28, ra : 40277540
    EPC  : 4027754C, ErrorEPC : BFCC0E8C, SREG     : 34008003
    MDLO : 000003E8, MDHI     : 00000000, BadVaddr : 00000110
    DATA_START : 0x419E4B00
    Cause 0000000C (Code 0x3): TLB (store) exception
    -Traceback= 0x4027754C 0x400886BC 0x4008CDE4 0x400BAA5C
    No warm reboot Storage
    *** System received a Bus Error exception ***
    signal= 0xa, code= 0xc, context= 0x4313c01c
    PC = 0x4008d45c, Cause = 0x20, Status Reg = 0x34008002
    i need help urgently, what should i do. thanks in advance

    Thanks Leo for help,
    my router model is 2811. Do you have any information/document to fix the hardware failure.
    what should i do.

  • EEM smtp maxrun - System received a Bus Error exception

                       Hello, I need help with problem on my cisco 2901 router. If internet connection is down, and in this momen router try send mail over SMTP (tcl script) script was finish over maxrun.(it is normal for router). Auto my router rebooted
    In log I see:
    No warm reboot Storage
    *** System received a Bus Error exception ***
    signal= 0xa, code= 0x8, context= 0x29c1cdc4
      PC = 0x26310d54, SP = 0x317c09f8, RA = 0x22895e30
      Cause Reg = 0x00000008, Status Reg = 0x50009fe3
    sh ver:
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.1(4)M4, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2012 by Cisco Systems, Inc.
    Compiled Tue 20-Mar-12 18:57 by prod_rel_team
    If i disable scrip all work fine.

    You will need to open a TAC case for this.  The image you are running supports a feature called ASLR which requires additional information be collected to try and decode things.  Also it would be best to get the entire stack trace from the crashinfo file rather than just the RA and PC from the console dump.  It is best to have this worked by TAC to understand the root cause.
    Mike

  • Why am I receiving Null pointer Exception Error.

    why am I receiving Null pointer Exception Error.
    Hi I am developing a code for login screen. There is no syntex error as such ut I am receving the aove mentioned error. Can some one please help me ??
    ------------ Main.java------------------
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Main implements ActionListener
    Frame mainf;
    MenuBar mb;
    MenuItem List,admitform,inquiry,exit,helpn;
    Menu newm,update,help;
    Inquiry iq;
    Admit ad;
    // HosHelp hp;
    Howuse hu;
    Register reg;
    Main()
    mainf=new Frame(" Engg College V/S Mumbai University ");
         mb=new MenuBar();
         newm=new Menu(" New ");
         update=new Menu(" Update ");
         help=new Menu(" Help ");
         List=new MenuItem("List");
         admitform=new MenuItem("Admit");
         inquiry=new MenuItem("Inquiry");
         exit=new MenuItem("Exit");
         helpn=new MenuItem("How to Use?");
    newm.add(List);
                   newm.add(admitform);
    newm.add(inquiry);
                   newm.add(exit);
         help.add(helpn);
              mb.add(newm);
              mb.add(update);
              mb.add(help);
    mainf.setMenuBar(mb);
                   exit.addActionListener(this);
                   List.addActionListener(this);
         inquiry.addActionListener(this);
         admitform.addActionListener(this);
    helpn.addActionListener(this);
         mainf.setSize(400,300);
         mainf.setVisible(true);
    public void actionPerformed(ActionEvent ae)
    if (ae.getSource()==List)
              reg=new Register();
         if(ae.getSource()==inquiry)
         iq=new Inquiry();
    if(ae.getSource()==admitform)
         ad=new Admit();
              if(ae.getSource()==helpn)
              hu=new Howuse();
              if(ae.getSource()==exit)
         mainf.setVisible(false);
    public static void main(String args[])
              new Main();
    -------------Register.java---------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Register implements ActionListener//,ItemListener
    Label id,name,login,pass,repass;
    Button ok,newu,cancel,check;
    Button vok,iok,lok,mok,sok; //buttons for dialog boxes
    TextField idf,namef,loginf,passf,repassf;
    Dialog valid,invlog,less,mismat,acucreat;
    Frame regis;
    Checkbox admin,limit;
    CheckboxGroup type;
    DBconnect db;
    Register()
         db=new DBconnect();
    regis=new Frame("Registeration Form");
              type=new CheckboxGroup();
              admin=new Checkbox("Administrator",type,true);
              limit=new Checkbox("Limited",type,false);
              id=new Label("ID :");
    name=new Label("Name :");
         login=new Label("Login :");
         pass=new Label("Password :");
         repass=new Label("Retype :");
    idf =new TextField(20); idf.setEnabled(false);
         namef=new TextField(30); namef.setEnabled(false);
    loginf=new TextField(30); loginf.setEnabled(false);
         passf=new TextField(30); passf.setEnabled(false);
         repassf=new TextField(30); repassf.setEnabled(false);
    ok=new Button("OK"); ok.setEnabled(false);
         newu=new Button("NEW");
    cancel=new Button("Cancel");
         check=new Button("Check Login"); check.setEnabled(false);
    vok=new Button("OK");
         iok=new Button("OK");
              lok=new Button("OK");
              mok=new Button("OK");
              sok=new Button("OK");
    valid=new Dialog(regis,"Login name is valid !");
         invlog=new Dialog(regis,"Login name already exist!");
         less=new Dialog(regis,"Password is less than six characters !");
    mismat=new Dialog(regis,"password & retyped are not matching !");
    acucreat=new Dialog(regis,"You have registered successfully !");
         regis.setLayout(null);
    //     regis.setBackground(Color.orange);
    valid.setLayout(new FlowLayout());
         invlog.setLayout(new FlowLayout());
         less.setLayout(new FlowLayout());
         mismat.setLayout(new FlowLayout());
    acucreat.setLayout(new FlowLayout());
    id.setBounds(35,50,80,25); //(left,top,width,hight)
    idf.setBounds(125,50,40,25);
    name.setBounds(35,85,70,25);
    namef.setBounds(125,85,150,25);
    login.setBounds(35,120,80,25);
    loginf.setBounds(125,120,80,25);
    check.setBounds(215,120,85,25);
         pass.setBounds(35,155,80,25);
    passf.setBounds(125,155,80,25);
    repass.setBounds(35,190,80,25);
    repassf.setBounds(125,190,80,25);
    admin.setBounds(35,225,100,25);
    limit.setBounds(145,225,100,25);
              ok.setBounds(45,265,70,25);
         newu.setBounds(135,265,70,25);
    cancel.setBounds(225,265,70,25);
         passf.setEchoChar('*');
    repassf.setEchoChar('*');
         regis.add(id);
         regis.add(idf);
    regis.add(name);
         regis.add(namef);
         regis.add(login);
         regis.add(loginf);
         regis.add(check);
    regis.add(pass);
         regis.add(passf);
    regis.add(repass);
         regis.add(repassf);
         regis.add(ok);
         regis.add(newu);
         regis.add(cancel);
    regis.add(admin);
         regis.add(limit);
    valid.add(vok);
         invlog.add(iok);     
         less.add(lok);
         mismat.add(mok);
    acucreat.add(sok);
    ok.addActionListener(this);
         newu.addActionListener(this);
    check.addActionListener(this);
    cancel.addActionListener(this);
         // limit.addItemListener(this);
         //admin.addItemListener(this);
              vok.addActionListener(this);
              iok.addActionListener(this);
         lok.addActionListener(this);
         mok.addActionListener(this);
         sok.addActionListener(this);
    regis.setLocation(250,150);
    regis.setSize(310,300);
    regis.setVisible(true);
         public void actionPerformed(ActionEvent ae)
         if(ae.getSource()==check)
              try{
                   String s2=loginf.getText();
    ResultSet rs=db.s.executeQuery("select* from List");
                        while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
    //                    invlog.setBackground(Color.orange);
                             invlog.setLocation(250,150);
                             invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                             break;
                        else
                        //     valid.setBackground(Color.orange);
                             valid.setLocation(250,150);
                             valid.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                   valid.setVisible(true);
                        }catch(Exception e)
                   e.printStackTrace();
    if(ae.getSource()==newu)
         try{
              ResultSet rs=db.s.executeQuery("select max(ID) from List");
         while(rs.next())
    String s1=rs.getString(1).trim();
                   int i=Integer.parseInt(s1);
    i++;
                   String s2=""+i;
    idf.setText(s2);
                   newu.setEnabled(false);
                   namef.setText(""); namef.setEnabled(true);
              loginf.setText(""); loginf.setEnabled(true);
              passf.setText(""); passf.setEnabled(true);
              repassf.setText(""); repassf.setEnabled(true);
              ok.setEnabled(true);
                   check.setEnabled(true);
                   }catch(Exception e)
              e.printStackTrace();
         if(ae.getSource()==ok)
              try
              String s1=idf.getText();
              String s2=loginf.getText();
              String s3=passf.getText();
         String s4=repassf.getText();
         int x=Integer.parseInt(s1);
         int t;
         if(type.getSelectedCheckbox()==admin)
              t=1;
              else
              t=0;
    ResultSet rs=db.s1.executeQuery("select* from List");
                   while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
                        invlog.setBackground(Color.orange);
                        invlog.setLocation(250,150);
                        invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                        break;
                   else
                        if (s3.length()<6)
                        less.setBackground(Color.orange);
                             less.setLocation(250,150);
                             less.setSize(300,100);
                   ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        less.setVisible(true);
    else if(!(s3.equals(s4)))
                        mismat.setBackground(Color.orange);
                        mismat.setLocation(250,150);
                        mismat.setSize(300,100);
                        ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        mismat.setVisible(true);
                        else
    db.s1.execute("insert into User values("+x+",'"+s2+"','"+s3+"',"+t+")");
                        acucreat.setBackground(Color.orange);
                        acucreat.setLocation(250,150);
                        acucreat.setSize(300,100);
                        regis.setVisible(false);
                        acucreat.setVisible(true);
                   }//else
              }//while
                   } //try
              catch(Exception e1)
              // e1.printStackTrace();
              if (ae.getSource()==cancel)
              regis.setVisible(false);
              if (ae.getSource()==vok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   valid.setVisible(false);
              if (ae.getSource()==iok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   invlog.setVisible(false);
              if (ae.getSource()==lok)
              less.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
              if (ae.getSource()==mok)
              mismat.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
    if (ae.getSource()==sok)
              acucreat.setVisible(false);
              ok.setEnabled(false);
                   newu.setEnabled(true);
                   regis.setVisible(true);
         public static void main(String args[])
         new Register();
    -----------DBConnect.java------------------------------------
    import java.sql.*;
    public class DBconnect
    Statement s,s1;
    Connection c;
    public DBconnect()
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              c=DriverManager.getConnection("jdbc:odbc:Sonal");
              s=c.createStatement();
    s1=c.createStatement();
         catch(Exception e)
         e.printStackTrace();
    ----------Login.java----------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Login implements ActionListener
    Frame log;
    Label login,pass;
    TextField loginf,passf;
    Button ok,cancel;
    Dialog invalid;
    Button iok;
    Register reg;
    DBconnect db;
    Main m;
    Login()
    db=new DBconnect();
         log=new Frame();
         log.setLocation(250,210);
         login=new Label("Login :");
    pass=new Label("Password :");
         loginf=new TextField(20);
         passf=new TextField(20);
         passf.setEchoChar('*');
         ok=new Button("OK");
         // newu=new Button("New User");
         cancel=new Button("CANCEL");
         iok=new Button(" OK ");
    invalid=new Dialog(log,"Invalid User!");
    //log.setBackground(Color.cyan);
    //log.setForeground(Color.black);
         log.setLayout(null);
         // iok.setBackground(Color.gray);
         invalid.setLayout(new FlowLayout());
         login.setBounds(35,50,70,25); //(left,top,width,hight)
         loginf.setBounds(105,50,100,25);
         pass.setBounds(35,85,70,25);
         passf.setBounds(105,85,70,25);
         ok.setBounds(55,130,70,25);
    // newu.setBounds(85,120,80,25);
    cancel.setBounds(145,130,70,25);
    log.add(login);
    log.add(loginf);
    log.add(pass);
    log.add(passf);
    log.add(ok);
    // log.add(newu);
    log.add(cancel);
         invalid.add(iok);//,BorderLayout.CENTER);
    ok.addActionListener(this);
    // newu.addActionListener(this);
    cancel.addActionListener(this);
         iok.addActionListener(this);
    log.setSize(300,170);
    log.setVisible(true);
    public void actionPerformed(ActionEvent a)
    if(a.getSource()==ok)
         try{
              String l=loginf.getText();
              String p=passf.getText();
              ResultSet rs=db.s.executeQuery("select * from List");
              while(rs.next())
              if(l.equals(rs.getString(2).trim())&& p.equals(rs.getString(3).trim()))
                        String tp=rs.getString(4).trim();
                             int tp1=Integer.parseInt(tp);
    log.setVisible(false);
    if(tp1==1)
                             m=new Main();
                        // m.List.setEnabled(true);
                             else
                             m=new Main();
                             m.List.setEnabled(false);
                        break;
    else
                   invalid.setBackground(Color.orange);
                   invalid.setSize(300,100);
                   invalid.setLocation(250,210);
                   cancel.setEnabled(false);
              ok.setEnabled(false);
                   invalid.setVisible(true);
                   }catch(Exception e1)
                   e1.printStackTrace();
         if (a.getSource()==cancel)
         log.setVisible(false);
         if (a.getSource()==iok)
         invalid.setVisible(false);
         loginf.setText("");
         passf.setText("");
         cancel.setEnabled(true);
    ok.setEnabled(true);
         public static void main(String[] args)
         new Login();
    -------------inquiry.java---------------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    import java.sql.*;
    public class Inquiry implements ActionListener
    Frame inqry;
    Label name,addr;
    TextField namef,addrf;
    Button ok,cancel,dok;
    Dialog invalid;
    Frame result; //Result of the inquiry....
    Label lrname,lraddr,lward,lrdate,lcdate;
    TextField rname,raddr,ward,rdate,cdate;
    Date d;
    DateFormat df;
    Button rok,rcancel;
    Dialog success;
    Button rdok;
    DBconnect db;
    Inquiry()
              db=new DBconnect();
              inqry=new Frame("Inquiry Form");
              inqry.setLayout(null);
    inqry.setBackground(Color.cyan);
              name=new Label(" NAME ");
              addr=new Label("ADDRESS");
              namef=new TextField(20);
              addrf=new TextField(20);
              ok=new Button("OK");
              cancel=new Button("CANCEL");
              dok=new Button("OK");
              invalid=new Dialog(inqry,"Invalid Name or Address !");
              invalid.setSize(300,100);
         invalid.setLocation(300,180);
              invalid.setBackground(Color.orange);
              invalid.setLayout(new FlowLayout());
    result=new Frame(" INQUIRY RESULT "); //Result Window......
    result.setLayout(null);
    result.setBackground(Color.cyan);
    lcdate=new Label(" DATE ");
         lrname=new Label(" NAME ");
    lraddr=new Label(" ADDRESS ");
         lward=new Label(" WARD ");
         lrdate=new Label(" ADMIT-DATE ");
    cdate=new TextField(10);
         rname=new TextField(20);
    rname.setEnabled(false);
         raddr=new TextField(20);
         raddr.setEnabled(false);
         ward=new TextField(20);
         ward.setEnabled(false);
         rdate=new TextField(10);
         rdate.setEnabled(false);
         cdate=new TextField(20);
         d=new Date();
         df=DateFormat.getDateInstance(DateFormat.MEDIUM,Locale.KOREA);
         cdate.setText(df.format(d));
         cdate.setEnabled(false);
    rok=new Button(" OK ");
         rcancel=new Button("CANCEL");
              name.setBounds(40,50,50,25);
    namef.setBounds(120,50,130,25);
    addr.setBounds(40,100,60,25);
    addrf.setBounds(120,100,80,25);
    ok.setBounds(60,145,70,25);
              cancel.setBounds(140,145,70,25);
              lcdate.setBounds(200,50,60,25); //Result Window......
    cdate.setBounds(270,50,80,25);      
    lrname.setBounds(35,85,70,25);
    rname.setBounds(140,85,180,25);
    lraddr.setBounds(35,120,80,25);
         raddr.setBounds(140,120,100,25);
    lward.setBounds(35,155,80,25);
    ward.setBounds(140,155,100,25);
    lrdate.setBounds(30,190,80,25);
    rdate.setBounds(140,190,80,25);
    rok.setBounds(70,240,70,25);
    rcancel.setBounds(170,240,70,25);
              inqry.add(name);
              inqry.add(namef);
              inqry.add(addr);
              inqry.add(addrf);
              inqry.add(ok);
              inqry.add(cancel);
    invalid.add(dok);
         result.add(lcdate); //Result Window......
         result.add(cdate);
              result.add(lrname);
              result.add(rname);
              result.add(lraddr);
              result.add(raddr);
              result.add(lward);
              result.add(ward);
              result.add(lrdate);
              result.add(rdate);
              result.add(rok);
              result.add(rcancel);
         ok.addActionListener(this);
         cancel.addActionListener(this);
         dok.addActionListener(this);
    rok.addActionListener(this); //Result Window......
         rcancel.addActionListener(this);
         inqry.setSize(280,180);
         inqry.setLocation(300,180);
         inqry.setVisible(true);
              result.setSize(400,280); //Result Window......
         result.setLocation(200,150);
         result.setVisible(false);
              public void actionPerformed(ActionEvent ae)
                   if(ae.getSource()==ok)
                   try
                             String nm=namef.getText();
                             String ad=addrf.getText();
                             inqry.setVisible(false);
                             ResultSet rs=db.s.executeQuery("select * from Billinformation");
                             while(rs.next())
                                  String nm1=rs.getString(2).trim();
                                  String ad1=rs.getString(3).trim();
                                  int k=0;
                                  if((nm1.equals(nm))&&(ad1.equals(ad)))
                             String adm=rs.getString(5).trim();
                             String wr=rs.getString(6).trim();
                             String bd=rs.getString(8).trim();
                                  String wrb=wr+"-"+bd;
    result.setVisible(true);
                                  rname.setText(nm1);
                             raddr.setText(ad1);
                             ward.setText(wrb);
                             rdate.setText(adm);
    k=1;
                                  break;
                                  }//if
                             else if(k==1)
                             invalid.setVisible(true);
                             }//while
    }//try
                             catch(Exception e)
                             e.printStackTrace();
                        } //getsource ==ok
                   if(ae.getSource()==cancel)
    inqry.setVisible(false);
                        if(ae.getSource()==rok) //Result Window......
                        namef.setText("");
                             addrf.setText("");
                             result.setVisible(false);
                        inqry.setVisible(true);
    if(ae.getSource()==rcancel)
    result.setVisible(false);
                        if(ae.getSource()==dok)
                        namef.setText("");
                             addrf.setText("");
                             invalid.setVisible(false);
                             inqry.setVisible(true);
         public static void main(String args[])
              new Inquiry();
    PLease Help me !!
    I need this urgently.

    can you explain what your program tries to do... and
    at where it went wrong..Sir,
    We are trying to make an project where we can make a person register in our data base & after which he/she can search for other user.
    The logged in user can modify his/her own data but can view other ppl's data.
    We are in a phase of registering the user & that's where we are stuck. The problem is that after the login screen when we hit register (OK- button) the data are not getting entered in the data base.
    Can u please help me??
    I am using "jdk1.3' - studnet's edition.
    I am waiting for your reply.
    Thanks in advance & yr interest.

  • System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid.

    When I run my app on device and the internet is connected its ok, but if I use the emulator (althought the internet is connected):
    $exception{System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid.  Check InnerException for exception details. ---> System.Net.WebException: The remote server returned
    an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
       at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
       at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
       --- End of inner exception stack trace ---
       at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
       at System.Net.DownloadStringCompletedEventArgs.get_Result()
       at FitnessApp.BL.ServerConnection.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
       at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
       at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)}
    System.Exception {System.Reflection.TargetInvocationException}
    this is the stack trace:
       at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
       at System.Net.DownloadStringCompletedEventArgs.get_Result()
       at FitnessApp.BL.ServerConnection.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
       at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
       at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
    this is my code:
    void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
    try
    if (e.Error != null)
    string error = e.Error.Message;
    string functionCall = e.UserState.ToString();
    if (!string.IsNullOrEmpty(e.Result)) //this line throws an exception
    if (functionCall == "getProductCode")
    ProductsList productsList = JsonConvert.DeserializeObject<ProductsList>(e.Result);
    if (productsList.products != null)
    serverProducts = productsList.products.Select(p =>
    new BE.Product
    Product_code = p.PID,
    Product_name = p.Name
    }).ToList();
    else
    serverProducts.Clear();
    if (DataDownloadCompleted != null)
    if(functionCall =="getProductCode")
    DataDownloadCompleted(this, new BE.StringEventArgs("getProductCode"));
    catch (Exception)
    throw;
    public void searchProductCode(string productName)
    try
    if (DeviceNetworkInformation.IsNetworkAvailable && DeviceNetworkInformation.IsCellularDataEnabled)
    wc.DownloadStringAsync(new Uri(baseURI + "get_products_json.php?search=" + productName), "getProductCode");
    else
    throw new Exception(FitnessApp.Resources.AppResources.ErrorServerConnection);
    catch (Exception )
    throw ;
    Any solution?
    thank you..

    The server did not find the resource you asked for.
    You might want to make sure your emulator is connected to the internet and can go online.
    http://blogs.msdn.com/b/wsdevsol/archive/2013/10/01/why-can-t-the-windows-phone-emulator-go-online.aspx

  • -17500 System Our of Memory Exception

    Hello,
    I am seeing strange behavior when I first start TestStand. I am getting an error -17500 'System Out Of Memory Exception was thrown' when executing the 'Create plug-in cache' step in the sequence 'Initialize Model Plugins' in the ModelSupport.seq. Here's the kicker: I only see this error when I try to run TestStand through a LabWindows/CVI GUI. I do not see this error when running TestStand from the Sequence Editor or a LabVIEW GUI I am using TS 2012 and CVI 2012. I am rnning the Parallel model. When I look at the Windows Task Manager Performance I do not see any memory issues. I have uninstalled and reinstalled TS and CVI to no avail. I am hoping someone else may have experienced this problem o rhave an idea of what the possible culprit is. I am running out of options.
    I have attached a screen shot of the Run-Time Error window.
    Thank you in advance for your help,
    Jim
    Solved!
    Go to Solution.
    Attachments:
    TestStand Out of Memory.jpg ‏44 KB

    See the following(Why do I Get an Out of Memory Exception (Error Code -17500; Operation Failed) when Using LabWindows/CVI Built TestStand User Interface with .NET 4.5?):
    http://digital.ni.com/public.nsf/allkb/0136A53F98D​69B7286257AD70069A735?OpenDocument
    -Doug

  • System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" --- Microsoft.SharePoint.Client. ServerException: $Resources:core,ImportErrorMessage;

    Hi,
    I am getting an error  System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" ---> Microsoft.SharePoint.Client. ServerException:
    $Resources:core,ImportErrorMessage;
    Following is my powershell script on line
    $context.ExecuteQuery(); it is throwing this error.
    function AddWebPartToPage([string]$siteUrl,[string]$pageRelativeUrl,[string]$localWebpartPath,[string]$ZoneName,[int]$ZoneIndex)
        try
        #this reference is required here
        $clientContext= [Microsoft.SharePoint.Client.ClientContext,Microsoft.SharePoint.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]
        $context=New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
        write-host "Reading file " $pageRelativeUrl
        $oFile = $context.Web.GetFileByServerRelativeUrl($pageRelativeUrl);
        $limitedWebPartManager = $oFile.GetLimitedWebPartManager([Microsoft.Sharepoint.Client.WebParts.PersonalizationScope]::Shared);
        write-host "getting xml reader from file"
        $xtr = New-Object System.Xml.XmlTextReader($localWebpartPath)
         [void] [Reflection.Assembly]::LoadWithPartialName("System.Text")
        $sb = new-object System.Text.StringBuilder
             while ($xtr.Read())
                $tmpObj = $sb.AppendLine($xtr.ReadOuterXml());
             $newXml =  $sb.ToString()
        if ($xtr -ne $null)
            $xtr.Close()
        #Add Web Part to catalogs folder
        write-host "Adding Webpart....."
        $oWebPartDefinition = $limitedWebPartManager.ImportWebPart($newXml);
        $limitedWebPartManager.AddWebPart($oWebPartDefinition.WebPart, $ZoneName, $ZoneIndex);
    $context.ExecuteQuery();
        write-host "Adding Web Part Done"
        catch
        write-host "Error while 'AddWebPartToPage'" $_.exception| format-list * -force
    ERROR:
    Error while 'AddWebPartToPage' System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" ---> Microsoft.SharePoint.Client.
    ServerException: $Resources:core,ImportErrorMessage;
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
       at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
       at ExecuteQuery(Object , Object[] )
       at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
       --- End of inner exception stack trace ---
       at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
       at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, Object[] arguments)
       at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, Object[] arguments)
       at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, Object valueToSet)
       at System.Management.Automation.MethodCallNode.InvokeMethod(Object target, Object[] arguments, Object value)
       at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
       at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
       at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
           

    Thanks Sethu for your comments. However i am running this powershell directly on server so believe
    SharePointOnlineCredentials is not required.
    I have tried it but still giving me same error

  • System.out of memory exception

    I am running a TestStand sequence, using the .NET adaptor I am creating a class, and calling methods of a Class Library I created in VB.NET. I tested my class library in VB.NET and everything works in that environment. The sequence I call is pretty simple,
    create an instance of my class, then
    call a method that setups and initializes a camera
    call a method that runs through the tests of a test sequence
    The first pass of the sequence, it runs, the second pass of the sequence, whether in a For loop or the entire TestStand Sequence started again, it initializes the camera, but the second sequence, TestStand reports a system.out of memory exception in an underlying assembly/dll of my dll. But, when I call my dll from a .exe I made to test my dll, it works fine.
    Thanks

    Thanks for you reply.
    I am calling the setup and initialization of the camera once; it is the calling the method that runs a sequence of tests that I am repeating calls to and subsequently failing on the second call. The interesting thing is if I close out of TestStand completely after the first run. Then run my TestStand sequence again, it reportsd the same error. It seems something is not being released, or cleared, or something. Keep in mind, I am only getting this with TestStand, I do not get it when I run a test .exe that calls my dll. I since have tested calling my .exe in TestStand that calls my DLL and that works. The problem is clearly in using TestStand to create the class and call the methods.
    Thanks

  • Convention for embedding IPv4 into IPv6?

    All,
    I read in rfc 4038 that representing IPv4 address in an IPv6 address should be like 2001::FFFF:192.168.1.1, which would be  2001::FFFF:c0a8:101, or 2001.2.3.4::FFFF:192.168.1.1 (2001:2:3:4:0:ffff:c0a8:101).  However, setting up NAT-PT any 96 bit prefix will work.  So I'm wondering if the standard set forth in rfc4038 (its informational) really applies to NAT-PT, or just for IPv4 applications not being natted (which doesn't make sense unless some other 4to6 mechanism is involved). 
    Any thoughts?
    John

    John,
    it is not very clear what are you trying to achieve by "embedding" ipv4 (address|traffic) into ipv6.
    By what you are discussing apperaars you are talking about the rappresentation of an IPv4 address into an IPv6 address field. Fact is that all bit being born equal they mean differently based on contest.
    Each 4 hex digit are 16 bit and two groups of 4 hex digits (any)  can contain and IPv4 address.
    So an IPv4 compatible IPv6 address would be 0:0:0:0:0:0:192.168.1.1 which can also be rapresented as ::c0a8:101.
    What that means and how edge routers/devices and gateway would handle such address depends on context/configuration. 6to4 6rd autotunnels ipv4 compatible ipv6 and ISATAP tunnels carry within their address field tunnel end point/ipv4 destination addresses that are extracted and used to route traffic.
    I know I did not clear the issue up but it really depends on what you are doing/trying to achieve how you embed an ipv4 address (of what) in an IPv6 address field and what that meas.
    I would definitely recommand:
    http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-addrg_bsc_con_ps10890_TSD_Products_Configuration_Guide_Chapter.html#wp1038821
    and
    http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-tunnel_ps10890_TSD_Products_Configuration_Guide_Chapter.html#wp1055999
    Actually the whole book is a good read.
    Hope this helps
    Cheers
    Fabio

  • Receiving null pointer exception

    Created the following program to read and output a file:
    import java.io.*;
    import java.util.StringTokenizer;
    public class ReadSource {
    public static void main(String[] arguments) {
         StringTokenizer st1;
         try {
              FileReader file = new
                        FileReader("C:/upload/DS121002.csv");
                        BufferedReader buff = new BufferedReader(file);
                        boolean eof = false;
                        while (!eof) {
                        String line = buff.readLine();
                             if (line == null)
                             eof = true;
                             else
                             System.out.println(line);
                                  st1 = new StringTokenizer(line,",");
                                  System.out.println("Token 1: " + st1.nextToken());
                                  System.out.println("Token 2: " + st1.nextToken());
                        buff.close();
              } catch (IOException e) {
              System.out.println("Error -- " + e.toString());
    I am receiving the following error message when the program completes:
    Exception in thread "main" java.lang.NullPointerException
    at java.util.StringTokenizer.<init>(StringTokenizer.java:122)
    at java.util.StringTokenizer.<init>(StringTokenizer.java:138)
    at ReadSource.main(ReadSource.java:18)
    What do I need to change to prevent this error?

    You coded:
    if (line == null)
    eof = true;
    else
    do something else;
    // then, regardless of the above,
    st1 = new StringTokenizer(line,","); // line is still null here
    So there's the problem.

Maybe you are looking for

  • MacBook Pro will not boot. What to do?

    MacBook Pro 13 inch 320GB Operating on 10.9.3 -  or so i believe Tried Disk Utility: Verifying disk - failed Received the following message: Disk Utility stopped verifying "Macintosh HD" This disk needs to be repairs. Click Repair Disk. Repairing dis

  • Force SB-Messaging to use HTTP

    HI, Is there a way of forcing SB-Messaging adapter to use http insteed of tcp? I am behind a firewall where I can't open the tcp ports. I did a C# app where I by adding "ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http;" solved t

  • GR-based IV and ERS

    Hi Gurus, 1) A PO is created on Sept15th(say). Then a GR has been done on Sept 20th.(say). While the PO was created, then it was non-ERS. Now after receiving of goods, say on Sept 25th, we check ERS by ME22n. Now , since now it is ERS, will the syste

  • WF Policies not working as expected

    Hi , I have created three WF Polices for New, Update and Delete of records. I seem to have two problems. 1. When I create a New Record all the three WF policies (New , Update and Delete) are triggering. 2. When I delete a record I am not able to capt

  • Repair library stalls at same place

    created my first vault .... ran all night.... no progress after about 70%.....forced quit.... restarted....library repair necessary....stalls at 60% every time...what now?  Half a vault on external and library won't repair.  Thanks.  PS. Aperture has