Unexpected behavior when creating Objects in a Vector

I have a situation where Objects in a Vector appear to be getting corrupted. The context is this: I obtain a ResultSet from a database, create a Vector of Strings for each row, and a Vector of these row vectors for the entire ResultSet. This is passed to a method where a POJO is created for each row. This method returns a Vector of these POJOs. In the Object constructor, a String array of initial values is created and also values are assigned to individual variables. Here is a snippet with the Object constructor
public class RefAuthorItem {
     private final String refKey;
     private String authorKey, firstName, lastName, itemKey;
     private int authorPosition;
     private boolean isDeleted, isNew;
     // Keep a copy of the original values
     private final String[] oldValues;
      * The constructor for the data object item.
      * @param dataVals     a String array of the data values
      * @param isNewVal     boolean true if this is a new item, false if it is
      *                                              an existing item
     public RefAuthorItem(final String[] dataVals, final boolean isNewVal) {
          oldValues = dataVals;
          authorKey = dataVals[RefQueryBuilder.AUTH_NUM];
          firstName = dataVals[RefQueryBuilder.AUTH_FIRST_NAME];
          itemKey = dataVals[RefQueryBuilder.AUTH_PKEY];
          lastName = dataVals[RefQueryBuilder.AUTH_LAST_NAME];
          refKey = dataVals[RefQueryBuilder.AUTH_REF_FKEY];
          isNew = isNewVal;
          isDeleted = false;
          // the author position integer value is used to sort the display
          authorPosition =
                    Integer.parseInt(dataVals[RefQueryBuilder.AUTH_POS]);
     }It seems the oldValues[] values should be identical to the corresponding individual variable values. When the following code is used to create the objects, they are not.
          final boolean isNew = isNewVal;
          Vector<RefAuthorItem> returnSet = new Vector<RefAuthorItem>();
          final String queryString = QueryBuilder
               .getRefQuery(keyString, tableName);
          Vector<Vector> dataSet = QueryDB.getResultSet(queryString);
          int columnTot = dataSet.firstElement().size();
                String[] itemVals = new String[columnTot];
          for (Iterator iter = dataSet.iterator(); iter.hasNext();) {
               Vector element = (Vector) iter.next();
               for (int i = 0; i < columnTot; i++) {
                    itemVals[i] = (String) element.get(i);
               RefAuthorItem item = new RefAuthorItem(itemVals, isNew);
               returnSet.add(item);
          }What happens is this. I returned four rows from the database and the oldValues[] array for each of the four corresponding objects contains the data from the fourth row. However, when I retrieve the corresponding individual values (e.g., authorLastName) from the Object, it is correct. I checked the object values (oldValues versus individual values retrieved via getters) right after the object is created (the line: RefAuthorItem item = new RefAuthorItem(itemVals, isNew);) and get the correct results. Also, results are correct when the itemVals constructor is moved within the loop, as below
          int columnTot = dataSet.firstElement().size();
          for (Iterator iter = dataSet.iterator(); iter.hasNext();) {
               Vector element = (Vector) iter.next();
               String[] itemVals = new String[columnTot];
               for (int i = 0; i < columnTot; i++) {
                    itemVals[i] = (String) element.get(i);
               RefAuthorItem item = new RefAuthorItem(itemVals, isNew);
               returnSet.add(item);
          } There is a problem here. Am I missing a subtle Java issue with instantiating the String array within the loop? Or is there a problem with Vectors? Thanks!

Dear ejp,
In the non-working code, I rewrite the itemVals[], create a new RefAuthorItem using the itemVals[] and repeat. I checked the RefAuthorItem immediately after it was created (with println()) and the oldValues and individual String values in the object are concordant. However, after the loop is completed (all RefAuthorItems are created and added to the Vector), the oldValues[] in the objects all have the values from the last row. The individual String variables in the object all have the correct value from the ResultSet row.

Similar Messages

  • Unexpected Error When Creating Network

    Running 10.9.1 and getting "Unexpected Error" When Creating a new network. Need help getting started.
    Thanks for the support!

    You need to use the alternatives under options..
    It will never pick this option itself.. so click Other Options.
    and use replace an existing device.
    Or simply remove the existing setup and start over..
    Reset to factory every time you start a setup.. and create a new network.. then reset the older units once this is working and use them to extend the network.
    Personally I prefer to replace and start afresh as it just leads to less issues.
    As far as range is concerned the new AC models are variously reported  as excellent to worse than existing old models.. wireless is simply another form of voodoo only in white plastic instead of black.. which sort of suits the black arts better.

  • ClassNotFoundException when creating objects

    Hi, am am pretty new to using java reflection and all that stuff - so this could be a fairly obvious question.
    I am using reflection to create objects whose names are only known at runtime. The method is as follows:
        public static IGene getRandomGene(Vector genes){
            int size = genes.size();
            int rndOp = (int)Math.floor(Math.random() * size);
            String newClassName = (String)genes.get(rndOp);
            IGene newGene = null;
            try {
                Class geneDefinition = Class.forName(newClassName);
                Constructor cons = geneDefinition.getConstructor(new Class[0]);
                newGene = (IGene)GeneUtils.createObject(cons, new Object[0]);
            } catch (ClassNotFoundException e) {
                System.out.println(e); //And the ClassNotFoundException is encountered
            } catch (NoSuchMethodException e) {
                System.out.println(e);
            return (OperatorGene)newGene;
        }The name of the class to be created (newClassName) is found fine.
    My includes are:
    package simplegp;
    import java.util.Vector;
    import java.lang.reflect.*;
    import simplegp.operandGenes.*;
    import simplegp.operatorGenes.*;
    import simplegp.operatorGenes.doubleOps.*;
    import simplegp.operatorGenes.singleOps.*;These includes definatly cover the classes to be included.
    Am i maknig a silly mistake? I cannot fingure it out.
    Many thanks for any help
    Adam
    PS. The code is for some evolutionay programming, hence havnig Genes

    I seem to have solved the problem - sorry for not searching the forums first.
    I had to specify the class names as:
    simplegp.operandGenes.IntOperandGene
    Rather than just: IntOperandGene
    adam

  • Is there a switch for 'FORCE' when creating object type?

    Where is the property to indicate whether or not to include the keyword FORCE when creating an object type?

    Thanks, the support that SDDM provides for Object Types is much better than Oracle Designer. I am looking forward to the release where we can flag a method's parameter as 'DEFAULT NULL' and especially the ability to include an inherited or included attribute as part of the primary key or the primary key. With the last release where the method body is stubbed out with 'BEGIN NULL; END;' really provided the basic ability for rapid prototyping. Once the key 'FORCE' is in place, the ability to rapid prototype will become even more functional.

  • How can I importing when create object?

    Hi Gurus,
    I’m beginner with OO Abap. Please give me a hand with this.
    I’m using the programming interface REPORT  Z_TEST_ST_TEXT_EDITOR for text editor found on /people/igor.barbaric/blog/2005/06/06/the-standard-text-editor-oo-abap-cfw-class which is good and useful for me (highly recommended) but I need to import the text created (t_text)  in method constructor in order to send it via e.mail.
    Could anybody tell me how to get/import the text created?
    Thank you in advance.
    Below is the coding. (program which uses the developed class and method consisting the created text)
    DATA: o_txe     TYPE REF TO <b>zcl_standard_text_editor</b>,
          v_caption TYPE char100,
          s_thead   TYPE thead.
    call screen
    CALL SCREEN 0100.
    MODULE s0100_start
    MODULE s0100_start OUTPUT.
        SET PF-STATUS 'BASIC'.
        s_thead-tdname   = 'VENDOR0000000011'.
        s_thead-tdid     = 'ST'.
        s_thead-tdobject = 'TEXT'.
        s_thead-tdspras  = sy-langu.
        CONCATENATE 'Standard text:' s_thead-tdname
                    INTO v_caption SEPARATED BY space.
        IF o_txe IS INITIAL.
    <b>       CREATE OBJECT o_txe</b>         
    EXPORTING i_thead   = s_thead
                       i_caption = v_caption. 
    <b>IMPORTING????</b>
         ENDIF.
    ENDMODULE.
    <b>method CONSTRUCTOR</b>.
    DATA: o_dialogbox TYPE REF TO cl_gui_dialogbox_container,
          t_text      TYPE STANDARD TABLE OF tdline,
          s_event     TYPE cntl_simple_event,
          t_events    TYPE cntl_simple_events,
          t_lines     TYPE STANDARD TABLE OF tline,
          v_text      TYPE tdline,
          v_text_temp TYPE tdline,
          v_line_temp TYPE tdline,
          v_line_len  TYPE i,
          v_index     TYPE i.
    FIELD-SYMBOLS: <line> TYPE tline.
    me->thead   = i_thead.
    me->caption = i_caption.
    *------ containers
    IF i_container IS INITIAL.
        CREATE OBJECT o_dialogbox
                EXPORTING top     = 50
                          left    = 200
                          height  = 150
                          width   = 500
                          caption = i_caption.
        me->main_container = o_dialogbox.
        SET HANDLER me->on_container_close FOR o_dialogbox.
    ELSE.
        me->main_container = i_container.
    ENDIF.
    IF me->splitter IS INITIAL.
        CREATE OBJECT me->splitter
                EXPORTING
                     parent        = me->main_container
                     orientation   = me->splitter->orientation_vertical
                     sash_position = 10. "percentage of containers
       ------ toolbar
        CREATE OBJECT me->toolbar
              EXPORTING parent = me->splitter->top_left_container.
        CALL METHOD me->toolbar->add_button
             EXPORTING  fcode       = me->c_save
                        is_disabled = ' '
                        icon        = '@2L@' "icon_system_save
                        butn_type   = cntb_btype_button.
        CALL METHOD me->toolbar->add_button
             EXPORTING  fcode       = me->c_close
                        is_disabled = ' '
                        icon        = '@3X@' "icon_close
                        butn_type   = cntb_btype_button.
    *------ register events
        REFRESH t_events.
        s_event-eventid = cl_gui_toolbar=>m_id_function_selected.
        s_event-appl_event = ' '.
        APPEND s_event TO t_events.
        CALL METHOD me->toolbar->set_registered_events
              EXPORTING events = t_events.
        SET HANDLER: me->on_toolbar_func_sel FOR me->toolbar.
    *------ create textedit control
        CREATE OBJECT me->textedit
           EXPORTING parent = me->splitter->bottom_right_container.
    ENDIF.
    get text
    CALL FUNCTION 'READ_TEXT'
            EXPORTING ID       = me->thead-tdid
                      LANGUAGE = me->thead-tdspras
                      NAME     = me->thead-tdname
                      OBJECT   = me->thead-tdobject
            TABLES    LINES    = t_lines
            EXCEPTIONS ID                      = 1
                       LANGUAGE                = 2
                       NAME                    = 3
                       NOT_FOUND               = 4
                       OBJECT                  = 5
                       REFERENCE_CHECK         = 6
                       WRONG_ACCESS_TO_ARCHIVE = 7
                       OTHERS                  = 8.
    *------- convert text to text editor format
    LOOP AT t_lines ASSIGNING <line>.
        IF <line>-tdformat = space OR <line>-tdformat = '=' OR sy-tabix = 1.
            v_line_temp = <line>-tdline.
            CONCATENATE v_text v_line_temp INTO v_text_temp.
        ELSE.
            CONCATENATE: cl_abap_char_utilities=>cr_lf <line>-tdline
                         INTO v_line_temp.
            CONCATENATE  v_text v_line_temp   INTO v_text_temp.
        ENDIF.
        IF sy-subrc = 0.
            v_text = v_text_temp.
        ELSE.
            APPEND v_text TO t_text.
            v_text = v_line_temp.
        ENDIF.
    ENDLOOP.
    IF sy-subrc = 0.
        APPEND v_text TO <b>t_text</b>.
    ENDIF.
    *------- display text
    CALL METHOD me->textedit->set_text_as_stream
             EXPORTING text = t_text.
    me->t_initial_text = t_text.
    endmethod.

    good book on ABAP objects(OOPS)
    http://www.esnips.com/doc/bc475662-82d6-4412-9083-28a7e7f1ce09/Abap-Objects---An-Introduction-To-Programming-Sap-Applications
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Rewards if useful......................
    Minal

  • Unexpected behavior when moving a shape & text

    Any one else run into this on Mac CS6?
    I've selected a shape layer and a text layer at the same time. When I move the shape layer, the text goes in unexpected directions. But when I move the text layer, the objects move as expected. Weird!
    Does CC1 and CC2014 still do this?

    I can replicate your behavior by selecting the text layer and the diamond layer then dragging. That's completely normal because the position parented diamond layer becomes 0,0 when parented and movement of the selected Text layer is based on the recalculated positions. When you get all layers to move together you have selected all 3 ayers. The behavior is completely normal. The only way to prevent this kind of odd movement when selecting two objects, one of which is parented to another, is to work in a square composition. If you can wrap your head around the math you'll figure out why.

  • 4.0 EA2 - Insufficient Privileges When Creating Object With Proxy

    When I have connected by proxying to another user, I receive the following message when trying to create a new object:
    The database user has insufficient privileges for the given operation.
    Steps to reproduce:
    Connect by proxying to another user
    Right Click on Views
    Select New View
    I noticed this under EA1, though, not sure if reported.  This worked under 3.2.2

    Sounds like your management needs a stern lecture on the concept of change management. <g>
    I am not debating what you do. I am questioning the logic, or lack thereof, of doing it that way. My recommendation would be to change your procedure to one that:
    A. Is more in line with good change management practices.
    B. Works.

  • Error when creating object of OTM

    Hi All,
    Virtual machine running Oracle Linux 2.6.18-238.el5 has been created in the Virtual Box.
    OTM version of 6.1.6 has been installed.
    Login by user DBA.ADMIN.
    When select the menu option :
    Shipment Management --> Location Manager
    and click button NEW then error message appear:
    java.lang.NoClassDefFoundError: org/apache/taglibs/standard/tag/common/xml/IfTag : javax/servlet/jsp/jstl/core/ConditionalTagSupport
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1303)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at org.apache.jasper.compiler.JspDocumentParser.parseCustomAction(JspDocumentParser.java:1170)
         at org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:405)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
         at org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:179)
         at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:283)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:344)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
         at glog.webserver.util.AbstractServletProducer.forwardRequest(AbstractServletProducer.java:230)
         at glog.webserver.util.AbstractServletProducer.dispatchDisplay(AbstractServletProducer.java:207)
         at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:105)
         at glog.webserver.servprov.custscreen.LocationCustManagementServlet.process(LocationCustManagementServlet.java:41)
         at glog.webserver.util.BaseServlet.service(BaseServlet.java:705)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:31)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:61)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:890)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:619)
    When select the menu option :
    Brokerage and Order Management --> Order Release --> Order Release
    and click button NEW then error message appear:
    java.lang.NoClassDefFoundError: org/apache/taglibs/standard/tag/common/core/WhenTagSupport : javax/servlet/jsp/jstl/core/ConditionalTagSupport
    When select the menu option :
    Business Process Automation --> Communication Management --> Contacts
    to create a contact, the error does not occur and the contact is created.
    Some other objects can be successfully created, some can not.
    When installing OTM I had to rename the jar-file jstl.jar in jstl.jar.orig.
    File jstl.jar I had download from internet by link pointed in the Installation Guide for OTM.
    Unfortunately, the file jstl.jar for unknown reasons was lost.
    This procedure with standard.jar I ran successfully:
    file has been renamed and uploaded by reference in accordance with the Installation Guide for OTM.
    1. Is it because of mistake with version of jar-file ?
    2. If yes, where can I download original jstl-jar file ?
    3. Otherwise what is the possible reason of this error ?
    Edited by: 795935 on Feb 20, 2012 8:24 AM

    There is section in ReadMe.txt :
    The following files MUST be installed prior to starting Oracle Transportation Management:
    1. Download the following file into a temporary directory: ...
    These instructions were not fully implemented.
    It was necessary to copy file jstl.jar into directory :
    $OTM/glog/gc3webapp/WEB-INF/lib/3rdparty
    After that, the above problem has been resolved.

  • Unexpected Error when creating groups

    Hello All!
    Perhaps someone here can help:
    -Recently upgraded our DC's from Win2003r2 to Win2008r2 and extended the schema, dc promo went as expected, things working okay.
    -Running 10.8 server here; our DNS admittedly a bit messy so rather than use deploy studio I've been using ML Server for netrestores when imaging machines.  It's been working great, but I'd like to manage the labs with more granularity by using Profile Manager, so:
    -Server is bound to our AD and I've enabled OD for profile management
    -Server sees AD objects okay, but certain things aren't quite right....for example, its sees our 'students' group, but it's empty (figures, the most important one).  Other OUs are populated correctly (like faculty, or staff).
    -When attempting to create a new computer group from within Workgroup Manager, I get the following error:
    "Error of type eDSInvalidRecordType (-14130) on line 4451 of /SourceCache/WorkgroupManager/WorkgroupManager-409/PMMUGMainView.mm"
    I have no idea what this means.  I am a domain admin and i've authenticated as such within both the server app and workgroup manager.
    If anyone can steer me in the right direction so I can use Workgroup manager to manage the labs rather than building those prefs into the image prior to rollout that would be a big help.
    Bonus points if you can help me figure out why certain groups don't populate.
    Cheers and thanks to anyone kind enough to share their 2 cents!

    Hi I am also experiencing this problem did you manage to find a solution?
    Thank you

  • Strang behavior when creating folders

    Hi all!
    Ever since I went from my old tower with Snow Leopard to a new 12-core running Lion this summer, Logic has been acting strangely when I'm trying to create a new folder in the Save As... dialog window. The normal behavior would be that you end up in the new folder after creating it, while I'm now endig up in the root folder every time. Are anyone else experiencing this? It seems to be happening only in Logic.
    Ginge

    Yes, I'm experiencing this. Once you've created a folder you then have to go back and direct Logic to that folder before saving. Otherwise it jumps back to the root and will make another folder there thinking that there's no new folder.
    No idea why but this is happening, but it started on my recent Macbook Pro upgrade too.

  • An unexpected error when create a web application

    hello,
    I'm trying to create a new web application ( under Deployments in console). I
    just manually create an sub-dir under ".\config\<active-domain>\applications"
    directory, say WebAppDir. Then I went to the console and right-click on the "Web
    Applications" and select "Configure a new Web Application", then I filled out
    the Name, URI, and Path as follows:
    Name: WebAppDir
    URI: WebAppDir
    Path: .\config\<active-domain>\applications
    then click "Create" , I then got the following error message, I don't know why
    and what i did wrong... please let me know what did i do wrong ? I don't have
    any things under the new dir i created, but I thought i would be fine, but it
    didn't.
    Here is the error message:
    An unexpected error was encountered in processing your request.
    Exception
    java.lang.NullPointerException
         at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Current Date
    Wed Jun 06 17:01:25 CDT 2001
    thanks so much...i really appreciate your helps.
    -Kieu

    hello,
    I'm trying to create a new web application ( under Deployments in console). I
    just manually create an sub-dir under ".\config\<active-domain>\applications"
    directory, say WebAppDir. Then I went to the console and right-click on the "Web
    Applications" and select "Configure a new Web Application", then I filled out
    the Name, URI, and Path as follows:
    Name: WebAppDir
    URI: WebAppDir
    Path: .\config\<active-domain>\applications
    then click "Create" , I then got the following error message, I don't know why
    and what i did wrong... please let me know what did i do wrong ? I don't have
    any things under the new dir i created, but I thought i would be fine, but it
    didn't.
    Here is the error message:
    An unexpected error was encountered in processing your request.
    Exception
    java.lang.NullPointerException
         at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Current Date
    Wed Jun 06 17:01:25 CDT 2001
    thanks so much...i really appreciate your helps.
    -Kieu

  • Strange behavior when creating a document with an "html" node

    A strange thing is happening here. I'm using the javax.xml.transform.Transformer to save some XML documents. I can create documents with any arbitrary DOM tree I want, but if I have the root node have a name of "html". somehow the Transformer decides to apply its own HTML rules and handles it differently from all other document types. The problem is that its html-specific rules are not what I want. Specifically, it is doing things like outputting <br> instead of
    , putting in meta-equiv tags that I don't want, etc. This is all bad because I'm not writing HTML. I'm writing carrier-specific mobile xhtml documents and I don't want the javax.xml.transform.Transformer to be "helping" me out any.
    There must be some way to get this under control. Can anyone advise me?
    Thanks

    I think I solved the problem: I need to put this line in:
    transformer.setOutputProperty(OutputKeys.METHOD, "xml");and that does the trick, and forces it to not get fancy when it's outputting <html>. I suppose there's a way of setting that in the TransformerFactory so I don't have to set it in every individual transformer I create but that's a minor issue.

  • Unexpected results, when creating a pdf from Illustrator (cs3)

    A customer has supplied a 'print ready' pdf, created in Illustrator [cs3]. The file contains grey text [20% black], but when they have printed to pdf [using acrobat 8], the breakdown of the 'grey' changes in colour to a cmyk value [45,36,35,1) instead of 0,0,0,20 as originally created in Illustrator.
    I've replicated the customers error from scratch, and have found that, when you save [save-as] the file as a pdf [using acrobat 8 settings] and resulting pdf is correct = 20% black.
    These errors where generated using a pc platform. We also tried to reproduce the error on our Mac's, but the Mac system didn't generate any issues.
    Does anyone know why illustrator would produce [using the same native file] two different results when producing pdf's? We've check all colour management, etc. and still can't figure out why this is happening.

    I have heard of this issue, but trying to remember is an issue by itself. lol. Seams to me there is an option for true blacks 0,0,0,? and cmy blacks ?,?,?,0. I am almost positive there are a few threads on this forum about this.

  • Illustrator CS6: Missing small pixels box that should follow the cursor when creating objects

    Somehow I've managed to disable a feature in Illustrator CS6 that does two things: 1) it causes a small box to follow the cursor when I'm drawing an object 2) the light green lines or x's are gone now, too. How can I get them back? Are they only visible under certain circumstances?  Thanks!

    SmartGuides is not simply "on" or "off". It has settings for what displays. Check your SmartGuides preferences.
    JET

  • Unexpected problem when creating package

    Hi Expert
    I have a big problem that just has been happened to me unexpectedly.
    I am tried to create package which contains inset into statement. Fields are composed of varchar2, objtype and nested ref obj.
    Before this, I was able to execute this statement through sqlplus from the win 98 client to linux server (oracle for linux is here).
    But now i cannot do it anymore, my linux server was shuted down automatically once I hit the enter key to execute the statement in sqlplus program.
    What 's a problem?
    ps: I am to execute a small statement such as create table or select statement.
    Pls suggest
    sasi

    Hi, Puce!
    I know that this solution can help.
    However it is unclear to me, how my component differs from standard JComboBox for security, as JComboBox doesn't require JAR signature.
    My question is: what should I do in order to make security allow my component, as it allows JComboBox.
    Thanks!

Maybe you are looking for