Problem with null reference

Hey,
I have a "Window" class wich extends JFrame and then creates a tabbedPane. In each of the tabs it's necessary to access to another class (Code).
Each of the tabs follows something like this:
public class Tab1 extends JPanel {
   private Code code;
   public Tab1 ( Code c ) {
      code = c;
}When the tabs are created they receive the Code object.
The Code object declared in the main class and passed into the "Window" class (still a null reference) and then to each of the tabs (null). The instantiation of the Code object is done in one of the tabs. The Other tabs need it to set some values.
The problem is the tab that instantiates the Code object is doing so, however the other tabs don't get the new instance (it's always null). Although it's always the same reference.
Any ideas?
Thanks.

It looks like setting the Code is something the Window object will
have to help with.//in Window (assuming Tab is a superclass of Tab1 Tab2
Tab[] tabArr = {new Tab1(null, this), new Tab2(null, this)};
void setCode(Code c) {
    for(Tab tab :tabArr) tab.setCode(c);
//then the Tabs look like
public class Tab1 extends Tab { // or extends JPanel implements Tab
    private Code code;
    private Window wind
    public Tab1( Code c, Window w ) {
        code = c;
        wind = w;
    void setCode(Code c) {
        code = c;
    void someEventPerformed() {
        Code c = null;
            // figure out what flavour of Code the user wants
        switch ( userOption ) {
            case 0:
                code = new Code1 ();
                break;
            case 1:
                code = new CodeY ();
                break;
            // and have the Window tell all the Tabs to use it
        wind.setCode(c);
}

Similar Messages

  • Problem with Assign reference document.

    Hi all,
    I defined transaction input parameter type Xml.
    I used Reference Document Loader to load document (structure.xml) below.
    <?xml version="1.0" encoding="UTF-8"?>
    <SO_VALIDATION>
        <L4_SO_ID/>
        <L4_SOI_NO/>
        <PPC_STATUS/>
        <PPC_INFO/>
    </SO_VALIDATION>
    I used menu command Assign Reference Document, to assign above document to transaction input.
    I tryed to use this transaction in vs.net application as a web service.
    But there is no xml structure in InputParams in web service.
    I tryed alot but i did not achieve.
    What must i do?
    Thanks.

    cml_bzl,
    I'm using version 12.04 and I have not had any problems with assigning reference documents and using .NET.
    You should not have to do anyting special to get the transaction inputs to show up in .Net. To map the output I do the following:
    1. Create an output transaction variable and assign it's type as XML
    2. Using a XML document block to create and XML document for your output transaction variable
    3. Assign the XML document as the reference for the output transaction variable.
    THis works for me every time. If you change the transaction parameters, make sure you update the web service form the .NET side.
    Glenn

  • Reflection problems with null pointer exception

    I am having a problem with reflection. I keep getting a NullPointerException and can't figure out why.
    It is happening when I call this:
    ResponseObject result = (ResponseObject)method.invoke(classInstance, argArray);
    I can't figure out what the problem is. I had this reflection working, and then I made some changes to how the argument array was created. In the end, the argarray is the same.
    Any ideas?

    Also, the API for the method class says that a
    NullPointerException is thrown if the object in the
    first argument is null. I have tested for this, and
    it is not null.does it? read again, because giving 'null' as the first argument is perfectly legal. how else would you reflectively invoke a static method, since you might not have an actual instance of the class to pass

  • Problem with Type Reference "TYPE' in JCO

    Hi All,
    I am facing a weard situation when i am creating a custom RFC function module. This FM is called by Java program with JCO. But, if i define the FM parameters with Reference type as 'TYPE', the Java application is not able to get the data. But the same time, if i declare the parameters with 'LIKE', it is working successfully.
    Can anybody advise me, why it is behaving differently? Is the problem with JCO which is not able to recognise the 'TYPE' reference or from SAP side?
    And, any solution to use 'TYPE' reference successfully?

    hi Sailesh,
    You are right. SAP doesn't recommend the usage of Like in PROGRAMS/REPORTS - mind it, only REPORTS.
    But when it comes to RFC enabled FMs, JCo Understands only LIKE. what you had observed is true. LIKE creates a WA and JCo looks into a workarea. TYPE can refer to a pool of variables but your JCo can't differentiate them. So, you use LIKE.
    Again, you use LIKE only Remote enabled FMs not in Reports/Programs. so, you may use TYPE as your company remommends in reports but in RFMs, use LIKE.
    Hope this cleared.
    Regards
    Ak.
    PS: If my post helped, don't forget the rewards!

  • Why are static methods called with null references,valid ?

    This is my code :
    package inheritance;
    public class inh6{
         public static void method(){
         System.out.println("Called");
         public static void main(String[] args){
              inh6 t4 = null;
         t4.method();
    O/P :
    CalledHere t4 is a null reference and yet we are able to call a method on it,why is null pointerexception not thrown.Why are we able to call static methods using null references ?
    t4 is null means it doesnot refer to any memeory address,hence how is method() called correctly.
    I hope i am clear. :)
    Thank you for your consideration.

    punter wrote:
    jverd wrote:
    Memory addresses have nothing to do with it. I doubt memory addresses are even mentioned once in the JLS.
    By memory address i mean the memory location the reference is pointing to.I know what you mean. But if you think it's relevant, can you show me where in the JLS it says anything about memory locations?
    >
    You can do that because a) t4's type is "reference to inh6" and b) method() is declared static, which means that you don't need an object to call it, just the class. That class comes from the compile time type of t4. The fact that t4 is null at runtime is irrelevant.
    So at compile time the type of t4 is inh6 and hence the method is called.Is it ? Had method() not been static a NullPointerException would have been thrown.Correct.
    With non-static, non-private, non-final methods, which implementation of the method gets called is determined at runtime, buy the class of the object on which it's being called. If any one of those "non"s goes away, then the method is entirely determined at compile time, and in the case of static methods, there's no instance necessary to call the method in the first place.

  • URGENT: Problem with lexical reference in query statement!

    I am modifying the seeded Receipt Traveler report.
    The query I need to modify is the receipts query (Q_RECEIPTS). The entire query statement for this is a lexical reference - &P_SELECT_RECEIPTS. The actual query is being set in the After Parameter Form trigger. I need to add a few columns to the select clause and tables to the from clause. Modifying the query in the trigger alone did not help. I got the error - REP 0498 "selected columns differ from report definition"
    => How do I add these new columns to the report now? Do I need to put them in the initial value of the parameter &P_SELECT_RECEIPTS?
    => I tried modifying P_SELECT_RECEIPTS, but I get a REP 1070 error saying the file cannot be saved.
    => In addition, P_SELECT_RECEIPTS does not have a from clause, which causes a problem for me, but I am wondering how the report was originally saved
    Any help with this rather lengthy question will be greatly appreciated.
    Thanks,
    P.S.
    The initial value of &P_SELECT_RECEIPTS is set to:
    SELECT rrp.item_id,rrp.organization_id rrp_organization_id,MSI.SEGMENT1||''||MSI.SEGMENT2||''||MSI.SEGMENT3||''||MSI.SEGMENT19||''||MSI.SEGMENT20 C_FLEX_ITEM,MCA.SEGMENT1||''||MCA.SEGMENT2||''||MCA.SEGMENT3||''||MCA.SEGMENT19||''||MCA.SEGMENT20 C_FLEX_CAT,rrp.revision_num,rrp.category_id,rrp.item_description,rrp.un_num,rrp.un_description,rrp.hazard_class,rrp.routing_name,rrp.document_type_code,rrp.document_number,rrp.release_num,rrp.line_num,rrp.buyer_preparer_name,rrp.source_type,rrp.source,rrp.source_unit_of_measure,rrp.vendor_product_num,fnd_date.date_to_canonical(rrp.due_date) due_date,round(rrp.quantity_ordered,:P_qty_precision) quantity_ordered,rrp.note_to_receiver,rrp.pll_note_to_receiver,decode(psp.manual_receipt_num_type,'ALPHANUMERIC',rrp.receipt_num,decode(rtrim(rrp.receipt_num,'0123456789'),NULL,to_number(rrp.receipt_num),rrp.receipt_num)) RECEIPT_NUM,rrp.receipt_unit_of_measure,fnd_date.date_to_canonical(rrp.receipt_date) receipt_date,rrp.receipt_location,rrp.receiver_first_name,rrp.receiver_last_name,rrp.freight_carrier,round(rrp.quantity_received,:P_qty_precision) quantity_received,rrp.primary_quantity parent_primary_quantity,round(rrp.quantity_remaining,:P_qty_precision) quantity_remaining,rrp.shipment_num,rrp.bill_of_lading,rrp.vendor_lot_num,rrp.packing_slip_num,rrp.containers,rrp.receiver_comment,rrp.transaction_type rrp_transaction_type,rrp.transaction_id rrp_transaction_id,rrp.shipment_line_id rrp_shipment_line_id,rrp.shipment_header_id rrp_shipment_header_id,rrp.distribution_id rrp_distribution_id,rrp.po_header_id,rrp.po_line_id,rrp.po_line_location_id,rrp.requisition_header_id,rrp.requisition_line_id,rrp.from_interface rrp_from_interface,rrp.deliver_to_location,rrp.license_plate_number

    You can see the query being bulit within the BUILD_QRECIEPTS Program Unit

  • Script for generating XML file ... problem with null values

    Greetings everyone,
    i come here with a question that troubles me for some time now. I have a script which i run from SQLPLUS every now and then to generate an XML file.
    Problem is that data which needs to be in XML is not allways <> NULL and i need to hide those tags that are empty </tag>.
    I will post below my script and if you could help me with it it would be really great!
    Thanks for reading!
    set long 20000000
    set long 20000000
    set linesize 32000
    SET ECHO OFF
    SET TRIMSPOOL on
    SET HEADING OFF
    SET PAGESIZE 50000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET TERMOUT OFF
    spool C:\test.xml
    set serveroutput on
    begin
      dbms_output.put_line('<?xml version="1.0" encoding="utf-8" ?>');
    end;
    SELECT
    XMLELEMENT("ReportRoot",XMLATTRIBUTES('http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi", 'http://www.w3.org/2001/XMLSchema' as "xmlns:xsd" , '1.0' as "Version",sysdate as "CreationDate",to_char(sysdate,'hh:mm:ss') as "CreationTime",'1524544845' as "id"),
    XMLELEMENT("Porocila",XMLELEMENT("JOLY",(SELECT XMLAGG (XMLELEMENT("RefNrReport",replace('SON'||to_char(ref_ST,'00000'),' ',''))) from access_table_2 where ref_ST = &1),
    XMLELEMENT("ReportDate",sysdate),XMLELEMENT("Labeling",'545254450'),
    (SELECT XMLAGG     (XMLELEMENT("Reportf",
                                                                     XMLELEMENT("access",access),
                                                                     XMLELEMENT("date",date),
                                                                     XMLELEMENT("datep",datep),
                                                                     XMLELEMENT("ModificationInfo",'M'),XMLELEMENT("ModificationReason",modireason)))
                                                 from v_xml_test where id_dok = &1 and ind_print = '1'))))
      .extract('/*')
      from dual
         spool off
    exitNow lets pretend that XMLELEMENT("datep",datep), is sometimes NULL and i do not want to display it.

    may be
    with t as
    select sysdate datep from dual union all
    select null datep from dual
    select xmlagg(xmlelement("Reportf",
                             case when datep is not null then XMLELEMENT("datep", datep)
                             end
      from t

  • Problem with jni references

    i have to implement a few standard APIs. As a part of the implementation I have to provide references to an object I create. Now my underlying code is C++ with JNI used to throw the Java APIs. Problem is JNI now returns different references for the same object and hence my prupose id defeated. Could anyone suggest how this problem can be overcome.

    I'm not exactly sure what you're talking about, but it sounds like you may need to look into global references. Look at NewGlobalRef() and DeleteGlobalRef() and see if those help you out.
    God bless,
    -Toby Reyelts
    For all your JNI woes, check out Jace - http://jace.reyelts.com/jace

  • Any help with this program (a bit of a problem with static references)

    Can anyone give me any suggestions for fixing this code:
    package vivarium;
    import javax.swing.JApplet;
    import javax.swing.JFrame;
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    public class Render extends java.applet.Applet {
         static Animal[] animal_array_world;
         public static void main(String s[])  {
              JFrame frame = null;
              Graphics g = null;
              int[][] grassarray = new int[16][16];
              createapplet(frame);
              Render r = new Render();
              r.rendergrass(g, grassarray);
              frame.paint(g);
              //createcreatures(20);
              //live();
         public void rendergrass(Graphics g, int[][] array) {
              URL codebase = getCodeBase();
              java.awt.Image grass =  getImage(codebase, "grass.JPG");
              java.awt.Image deadgrass =  getImage(codebase, "deadgrass.JPG");
              for(int i = 0; i < 16; i++)
                   for(int j = 0; j < 16; j++) {
                        int y = (i * 16);
                        int x = (j * 16);
                   if(array[i][j] == 0) {
                        drawimage(g, grass, y, x);
                   else
                        drawimage(g, deadgrass, y, x);
         public  void drawimage(Graphics g, java.awt.Image img, int y, int x) {
              g.drawImage(img, y, x, this);
         public static void createapplet(JFrame frame) {
              frame = new JFrame();
              frame.setTitle("Kirby's Vivarium Demo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JApplet applet = new RenderApplet();
              applet.init();
              frame.getContentPane().add(applet);
              frame.pack();
              frame.setVisible(true);
         //this creates an array of creatures
         public static void createcreatures(int x) {
              animal_array_world = new Animal[x*2];
         //this will than act on that
         public static void live() {
              while(true) {
              int i = 0;
              while(i != animal_array_world.length - 1) {
                   animal_array_world.live(animal_array_world);
    The problem seems to be with
    URL codebase = getCodeBase();
    java.awt.Image grass =  getImage(codebase, "grass.JPG");
    java.awt.Image deadgrass =  getImage(codebase, but I do not get how. This is a non-static field, but no matter what I do it seems to complain in some manner. Does anyone have any suggestions? Thanks!

    Exception in thread "main" java.lang.NullPointerException
         at java.applet.Applet.getCodeBase(Unknown Source)
         at vivarium.Render.rendergrass(Render.java:29)
         at vivarium.Render.main(Render.java:20)I get this despite whether I put the getCodeBase part in a method, the main or the initialization block.
    Heres line 29: URL codebase = getCodeBase();This is called within my nonstatic method rendergrass.
    And heres line 20: r.rendergrass(g, grassarray);(Where r is a new Render class object)

  • Problem with cross reference

    Hi,
    This is my first post.
    I was getting behind on a particular project so my boss asked me to commission a design agency to complete work being done on some prospectuses I started designing.
    The agency did their bit and sent the Indesign files back to me but the cross references I create do not work properly. The cross referenced page numbers just wont show.
    I have tried copying the text frames to new documents and the cross references work. It's as if someone turned off a switch in that particular document.
    There are 13 individual documents in all, each with a minimum of 20 pages, which I intend putting together using the Book panel - so its important the cross references work.
    Please see the last lines on pages 2 and 3 of the attached document. the 'please see pageXX' is what I mean. these are pages from the rogue document.
    Any help/suggestions will be appreciated.
    Thanks
    please download the sample indesign file using this dropbox link
    http://dl.dropbox.com/u/80149652/sample.zip

    I don't know exactly what is causing the problem, but I can definitely see it in Story Editor.
    In the screen cap below, the story editor windows on the top row are your file, and the bottom row are a new file with your text pasted in and new cross-ref added. Note the differnce in the tags:
    I cant find any casue for the difference, and I don't know what the defective tag is all about. I thought perhaps it was related to a third-party x-ref plugin, but I don't see any sign of that, either. I'm stumped, and the pragmatist in my says copy and paste and move on for now, but save a copy for further exploratin when you have time.
    And ask the other agency to tell you what they did and if they use any third party plugins.

  • Speech recognition problem with null pointer exception

    im trying to run the simple hello program that came with IBM speech for java
    i've put the speech.jar file in the right folder and it compiles all fine but when i run it i get this error:
    locale is en_US
    java.lang.NullPointerException
    at Hello.main(Hello.java:171)
    but i dont know enough about java speech to figure out what is null and what shouldn't be null...
    thx
    nate
    P.S.
    here is the program code
    import java.io.*;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.util.StringTokenizer;
    import javax.speech.*;
    import javax.speech.recognition.*;
    import javax.speech.synthesis.*;
    public class Hello {
    static RuleGrammar ruleGrammar;
    static DictationGrammar dictationGrammar;
    static Recognizer recognizer;
    static Synthesizer synthesizer;
    static ResourceBundle resources;
    static ResultListener ruleListener = new ResultAdapter() {
    public void resultAccepted(ResultEvent e) {
    try {
    FinalRuleResult result = (FinalRuleResult) e.getSource();
    String tags[] = result.getTags();
    if (tags[0].equals("name")) {
    String s = resources.getString("hello");
    for (int i=1; i<tags.length; i++)
    s += " " + tags;
    speak(s);
    } else if (tags[0].equals("begin")) {
    speak(resources.getString("listening"));
    ruleGrammar.setEnabled(false);
    ruleGrammar.setEnabled("<stop>", true);
    dictationGrammar.setEnabled(true);
    recognizer.commitChanges();
    } else if (tags[0].equals("stop")) {
    dictationGrammar.setEnabled(false);
    ruleGrammar.setEnabled(true);
    recognizer.commitChanges();
    } else if (tags[0].equals("bye")) {
    speak(resources.getString("bye"));
    if (synthesizer!=null)
    synthesizer.waitEngineState(Synthesizer.QUEUE_EMPTY);
    Thread.sleep(1000);
    System.exit(0);
    } catch (Exception ex) {
    ex.printStackTrace();
    int i = 0;
    String eh[] = null;
    public void resultRejected(ResultEvent e) {
    if (eh==null) {
    String s = resources.getString("eh");
    StringTokenizer t = new StringTokenizer(s);
    int n = t.countTokens();
    eh = new String[n];
    for (int i=0; i<n; i++)
    eh = t.nextToken();
    if (((Result)(e.getSource())).numTokens() > 2)
    speak(eh[(i++)%eh.length]);
    static ResultListener dictationListener = new ResultAdapter() {
    int n = 0; // number of tokens seen so far
    public void resultUpdated(ResultEvent e) {
    Result result = (Result) e.getSource();
    for (int i=n; i<result.numTokens(); i++)
    System.out.println(result.getBestToken(i).getSpokenText());
    n = result.numTokens();
    public void resultAccepted(ResultEvent e) {
    Result result = (Result) e.getSource();
    String s = "";
    for (int i=0; i<n; i++)
    s += result.getBestToken(i).getSpokenText() + " ";
    speak(s);
    n = 0;
    static RecognizerAudioListener audioListener =new RecognizerAudioAdapter(){
    public void audioLevel(RecognizerAudioEvent e) {
    System.out.println("volume " + e.getAudioLevel());
    static EngineListener engineListener = new EngineAdapter() {
    public void engineError(EngineErrorEvent e) {
    System.out.println
    ("Engine error: " + e.getEngineError().getMessage());
    static void speak(String s) {
    if (synthesizer!=null) {
    try {
    synthesizer.speak(s, null);
    } catch (Exception e) {
    e.printStackTrace();
    } else
    System.out.println(s);
    public static void main(String args[]) {
    try {
    if (args.length>0) Locale.setDefault(new Locale(args[0], ""));
    if (args.length>1) Locale.setDefault(new Locale(args[0], args[1]));
    System.out.println("locale is " + Locale.getDefault());
    resources = ResourceBundle.getBundle("res");
    recognizer = Central.createRecognizer(null);
    recognizer.allocate();
    recognizer.getAudioManager().addAudioListener(audioListener);
    recognizer.addEngineListener(engineListener);
    dictationGrammar = recognizer.getDictationGrammar(null);
    dictationGrammar.addResultListener(dictationListener);
    String grammarName = resources.getString("grammar");
    Reader reader = new FileReader(grammarName);
    ruleGrammar = recognizer.loadJSGF(reader);
    ruleGrammar.addResultListener(ruleListener);
    ruleGrammar.setEnabled(true);
    recognizer.commitChanges();
    recognizer.requestFocus();
    recognizer.resume();
    synthesizer = Central.createSynthesizer(null);
    if (synthesizer!=null) {
    synthesizer.allocate();
    synthesizer.addEngineListener(engineListener);
    speak(resources.getString("greeting"));
    } catch (Exception e) {
    e.printStackTrace();
    System.exit(-1);

    yes, the problem seems to be with allocating the engine, but I don't know exactly why recognizer.allocate() returns null...I have already installed IBM ViaVoice and Speech for Java, and have set the supposedly correct paths...

  • Problem with GET REFERENCE statement

    Hi gurus,
    shortly; I need to populate a table whose elements are made as follows:
    CODE   TYPE MDM_FIELD_CODE (a string, basically)
    VALUE  TYPE REF TO DATA.
    I need to loop over an item table and populate the above sketched table; so I wrote as follows:
    LOOP AT lt_item INTO ls_item.
    *** MDMSRM_SHORT_DESCRIPTION ***
         CLEAR value_pair.
         MOVE 'MDMSRM_SHORT_DESCRIPTION' to value_pair-code.
         GET REFERENCE OF ls_item-short_desc INTO value_pair-value.
         APPEND value_pair TO lt_value_pair.
    ENDLOOP.
    The problem is: each time the loop is performed, all the VALUE fields already appended have the value of the last iteration.
    How can I overcome this problem? Is there a sort of unassignment technique for GET REFERENCE?
    Thanks,

    Had some difficulties in working with field-symbols as I have to reference to a structure which is partly derived from the workarea and partly fixed...
    I did as follows, maybe it's not the best solution, however, seems to work:
    FIELD-SYMBOLS <item>        TYPE zsrm_cat_files_i.
    FIELD-SYMBOLS: <minqty>      TYPE mdm_gdt_quantity-content.
    FIELD-SYMBOLS: <minqty_unit> TYPE MDM_CDT_MEASURE_UNIT_CODE.
    FIELD-SYMBOLS: <minqty_struct> TYPE mdm_gdt_quantity.
    DATA minimum_qty TYPE REF TO mdm_gdt_quantity
    LOOP ... ASSIGNING <item>.
       CREATE DATA minimum_qty.
       ASSIGN minimum_qty->* TO <minqty_struct>.
       ASSIGN COMPONENT 1 OF STRUCTURE <minqty_struct> TO <minqty>.
       ASSIGN COMPONENT 2 OF STRUCTURE <minqty_struct> TO <minqty_unit>.
       <minqty> = <item>-min_qty.
       <minqty_unit> = '$$$'.
       GET REFERENCE OF <minqty_struct> INTO value_pair-value.
       APPEND value_pair TO lt_value_pair.

  • Problems with NULL in dyn text

    I am unable to catch a NULL value before the datetime parse
    function.. the net effect is that when the page loads, and IF there
    is a NULL in the date field, I get the string mismatch type error.
    Please take a look at the code below to help me understand where I
    am going wrong =( I am a little bit of a beginner with the
    Dreamweaver .NET stuff
    <td><span class="style2">First Raid
    </span></td>
    <td><%# PlayerSummary.FieldValue("MinOfDate", null)
    == null ? "NONE" :
    DateTime.Parse(PlayerSummary.FieldValue("MinOfDate",
    Container)).ToString("D") %></td>
    <td>Date of first raid (D1) </td>
    Just to add a little more background, I am populating some
    data in an HTML table from an SQL Server db. Everything works fine
    (NULLs cause no problem) except in the fields that have special
    formatting code on them and when there is a NULL value in the
    dataset field.

    Anyone able to see where I am going wrong here?

  • Problem with find reference and overshooting limits

    I have a two axis system set up (with a 7344 and UMI-7764), axis 2 uses a lead screw and the find center VI works properly, axis 1 however has a much longer travel and uses sprockets and cables to move and is therefore less rigid.  When attempting to find center, unless I run the axis very slowly, when the carriage hits the forward (or reverse) limit it overshoots the limit (inertia) and when the motor jogs to move off the limit it doesn't move far enough to release the switch and identify the location of the limit.
    Is there a way to increase distance that the axis will move to back away from the limit and find its exact location?  I would like to use a fairly high velocity to find center because the travel distance of the axis is up to 10 m and it takes quite a while to located center at the speed I am currently using.
    Thanks

    Good morning David,
    The Offset Move, in counts, is the function or feature that you are looking for.  It is on the Find Reference Settings in MAX, just below the location where the approach velocity is specified.  This is under each specific axis inside of the Default Settings.  The Offset Move specifies the number of counts the system should move to after the Reference Location is found.
    I hope that this information is helpful.  If this is not what you are looking for, please post back and I will do my best to answer your questions!
    Respectfully,
    Jeffrey P.
    LabVIEW Product Management
    National Instruments

  • Problem with Out Reference in jsp

    Hi All
    Please Help Me
    My problem is
    <%
    ResultVo rvo=null;
    for(int i=0;i<alist.size();i++){
    rvo=(ResultVo)alist.get(i);
    %>
    <%=rvo.getData() %><%=rvo.getDel_tim() %>
    <%
    System.out.println("data"+rvo.getData()+""+i);
    System.out.println("dest"+rvo.getDest());
    } %>
    problem:
    1)here i am getting the first expression tag value
    in server it prints perfect (i mean all the values)
    but coming to jsp only the object first value printed on the jsp
    ex:
    alist.size() --10 objects
    and each object contains some values
    i repeated and try to print on the web using expression tag
    it prints only first object first value
    but i am in confusion what is the problem might be
    please help me
    thanking you

    u have to increment ur i
    add this to ur for:
    i++;

Maybe you are looking for

  • How does the time capsule work?

    I am unfamiliar with this device. Can anyone explain how this works? I have a Gateway NV79, an IPad 2 and an IPhone. Will the time capsule work with these devices and a printer(Officejet Pro 8600)? If so, how does it do this? I am also wondering how

  • How to upgrade oracle database 64bit version 10.2.0.1.0 to version 10.2.0.4

    Dear Experts, I installed SAP Solman on Oracle Database 64bits version 10.2.0.1.0, now I need to upgrade to Oracle Database 64 bits version 10.2.0.4(using oracle patch).  Can I upgrade to new version 10.2.0.4 if yes, Can you explain for me how to upg

  • Issue with "Getting Started" tut on Ubuntu

    I have installed the NetBeans IDE for JavaJX (latest as of yesterday). This is NetBeans 6.9.1 and JavaFX 1.3.1. My version of Java is jdk1.6.0_18. I am running Ubuntu 10.04 and am up to date. I am attempting to do the tutorial here. So far I have ent

  • Need help resolving issues with reader X

    whenever adobe tried to update reader it alwaus fails and says I ahve to be in administrator mode, I read on the net that id you right click on a .pdf and go to the advanced tab you can select run as administrator. I did that hoping that would allow

  • I get an error code 50 when downloading digital movie. How can I fix this issue?

    I get an error code 50 when downloading digital copy of a movie to my iTunes. I try to restart and still get the smae error code. I have my PC plugged directly into my modem and still get error, when trying to download failed movies. I have 5 failed