ConcurrentModificationException when creating Toplink java object

When I am adding a new java object based on a view, i get at the end of the wizard this exception and jdeveloper freezes.
I'm using Jdeveloper 10.1.3 (latest version)
java.util.ConcurrentModificationException
     at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
     at java.util.HashMap$EntryIterator.next(HashMap.java:829)
     at java.util.HashMap$EntryIterator.next(HashMap.java:827)
     at oracle.ideimpl.controls.SwitchablePanel.getTabPageForComponent(SwitchablePanel.java:556)
     at oracle.ideimpl.controls.FlatTabbedWindow.getTabPageForComponent(FlatTabbedWindow.java:304)
     at oracle.ideimpl.log.TabbedPage.getTabPageForLogPage(TabbedPage.java:238)
     at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:100)
     at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
     at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
     at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
     at java.lang.Thread.run(Thread.java:595)
Does anyone know what the reason might be?

Could it be you are creating a collection that can be modified when an iterator is al ready going over this collection.
Could you be more specific on your project, any other toplink objects that might be manipulating the same data?
kind regards.

Similar Messages

  • 2 TopLink Java Object from Table to be used in single selectOneChoice

    Hello everyone, can I ask for help on how to solve my problem....
    Here's my scenario, I have 2 tables namely tblCollege and tblCourse, they are related through tblCourse.CollegeCode = tblCollege.Code.
    I use the jdeveloper wizard using TopLink -> Java Object from Table to add these table to my project. I created an EJB Data Control so that I can use them to my Userinterface using ADF Faces.
    What I really want to do is that I need to have selectOneChoice component displaying:
    tblCollege.Name + tblCourse.Name, and it should have a value of tblCollege.Code + tblCourse.Code,
    so for example in my
    tblCollege:
    Code---------Name
    1---------------Science
    2---------------Music
    tblCourse
    Code-------Name-----------CollegeCode
    1-------------Biology----------1
    2-------------Computer-------1
    3-------------Guitar------------2
    what I want in my selectOneChoice is like this:
    value----------display
    1-1--------------Science-Biology
    1-2--------------Science-Computer
    2-3--------------Music-Guitar
    I'm a little stuck on how I'm going to that. Thanks.

    Bawasi,
    I see a couple of angles of attack, but this really depends on the technologies involved. If you are using ADF Bindings in combination with ADF Faces then you need to shape the data at the entity level. If ADF Bindings are no the in equation, you can take a less aggressive approach and shape the data in a managed bean. What is not clear to me is the end-to-end use-case. I see the read-only (i.e. how to get data to the drop box), but I am
    not certain what attribute on an entity you are attempting to set. Are you trying to set the course for the current user or for a master schedule? Finally, notice that the final shape of your data set shows a unique combinations, you could increase the performance of your use-case and ease of development simply by denormalizing your schema.
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error when creating a Proxy Object from WSDL

    Hi,
    when creating a proxy object in abap based on the [WSDL|http://download.mapandguide.com/EN/dev/xserver/XLocate-1.6.0.3.wsdl] i get the error 'Incorrect value: Unknown Type Referencens0:ArrayOfString'.
    1- Is there a conflict with the type 'String' that's also a type in ABAP
    <complexType name="ArrayOfString">
      <sequence>
      <element name="String" type="xsd:string" minOccurs="0" maxOccurs="unbounded" nillable="true" />
      </sequence>
      </complexType>
    2- Is it a name space problem?
    xmlns:ns0="http://types.xlocate.xserver.ptvag.com"
    type="ns0:ArrayOfString"
    3- Something else?
    Please Help!
    Thank
    Fouad

    Hi Isaias,
    we are working with this versions:
    SAP_BASIS     700     0015     SAPKB70015     SAP Basiskomponente
    SAP_AP                     700     0013     SAPKNA7013     SAP Application Platform
    We are not working with developer studio, only with the regular tools of the abap development workbench Transaction SE80.
    Thanks,
    Fouad

  • How to create a Java Object dynamically

    I want to convert a "DataObject (SDO) " into "Pure java object".
    For this i want to create a java object with the fields in Dataobject, and this should be in generic way.

    I want to convert a "DataObject (SDO) "What is a "DataObject (SDO)"?
    into "Pure
    java object".What is a "Pure java object"?
    For this i want to create a java object with the
    fields in Dataobject, What is stopping you? Do you not know how do define a class? Do you think you can add fields to the Object class? If that's what you mean, you're out of luck.
    and this should be in generic
    way.What do you mean "in generic way"? "Generic" is a very generic term. There are lots of contexts in which it could apply and lots of different possible meanings for "generic way."
    You'll have to explain your queston more clearly.

  • Which is better ? Toplink Java objects or Toplink Entities ?

    Hi
    We are planing to use Toplink JPA that comes with JDeveloper 11g preview release
    I have a question here!
    I would like to get clarified which is better to use :
    1. Toplink Java Objects from Tables ,
    2.Toplink Entities from Tables
    Could you suggest the best approach, and pros and cons of both the approaches?
    Thanking you ,
    Samba

    Samba,
    Ultimately both are using the same TopLink runtime. In the case of Entities you are using JPA and Java Objects you are using TopLink native API and metadata.
    Going forward I would recommend JPA with TopLink extensions as required.
    Doug

  • Error when creating a ReportDocument object in ver 11.5.3300.0

    When I try to create a new ReportDocument from .NET the application exists with no other information. There is an event log entry similar to this one:
    Faulting application CrystalTest1.vshost.exe, version 9.0.21022.8, time stamp 0x47316898, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x04525da0, process id 0x10fc, application start time 0x01c9c2d6d624913d.
    Investigating more I tracked down that the error happens when I try to create various COM objects from Crystal Reports (for example by running the following vbscript: Set o = CreateObject("CrystalClientDoc.ReportClientDocument")). The error is always an Access Violation in cachemanager.dll on address 3f8691b5:
    3F869172 push ebx
    3F869173 push esi
    3F869174 push edi
    3F869175 push 3F873464h
    3F86917A call dword ptr ds:3F86C04Ch
    3F869180 mov ebx,dword ptr esp+10h
    3F869184 mov esi,eax
    3F869186 mov eax,dword ptr esi
    3F869188 mov ecx,esi
    3F86918A mov dword ptr esi+4,ebx
    3F86918D call dword ptr eax+8
    3F869190 push esi
    3F869191 lea edi,esi+14h
    3F869194 push eax
    3F869195 mov ecx,edi
    3F869197 call 3F8690EE
    3F86919C mov edi,dword ptr edi
    3F86919E push edi
    3F86919F push 0FFFFFFFCh
    3F8691A1 push ebx
    3F8691A2 call dword ptr ds:3F86C254h
    3F8691A8 push dword ptr esp+1Ch
    3F8691AC push dword ptr esp+1Ch
    3F8691B0 push dword ptr esp+1Ch
    3F8691B4 push ebx
    3F8691B5 call edi
    3F8691B7 pop edi
    3F8691B8 pop esi
    3F8691B9 pop ebx
    3F8691BA ret 10h
    The full stack trace is:
    00455B60()
    cachemanager.dll!3f8691b7()
    http://Frames below may be incorrect and/or missing, no symbols loaded for cachemanager.dll
    user32.dll!7735f8d2()
    user32.dll!7735f794()
    user32.dll!7735f73d()
    user32.dll!77360817()
    user32.dll!773539f7()
    ntdll.dll!771f99ce()
    user32.dll!77353cf7()
    user32.dll!77353b94()
    user32.dll!77353cc3()
    atl71.dll!7c12c51d()
    atl71.dll!7c12c633()
    atl71.dll!7c121653()
    user32.dll!77353d9a()
    cachemanager.dll!3f86922f()
    cachemanager.dll!3f86949e()
    cachemanager.dll!3f869600()
    cachemanager.dll!3f868aec()
    msvcr71.dll!7c349565()
    kernel32.dll!760e4911()
    ntdll.dll!771de4b6()
    ntdll.dll!771de489()
    The address called at 3f8691b5 seem to always contain the following data in my case:
    00455B51 00 00 add byte ptr eax,al
    00455B53 00 00 add byte ptr eax,al
    00455B55 00 00 add byte ptr eax,al
    00455B57 00 DA add dl,bl
    00455B59 44 inc esp
    00455B5A 44 inc esp
    00455B5B 3A 00 cmp al,byte ptr eax
    00455B5D 00 00 add byte ptr eax,al
    00455B5F 8B db 8bh
    00455B60 C7 44 24 04 70 1F F4 01 mov dword ptr esp+4,1F41F70h
    00455B68 E9 4E 39 41 3F jmp 3F8694BB
    00455B6D 00 00 add byte ptr eax,al
    00455B6F 00 DF add bh,bl
    00455B71 44 inc esp
    00455B72 44 inc esp
    00455B73 3A 00 cmp al,byte ptr eax
    00455B75 00 00 add byte ptr eax,al
    00455B77 88 E0 mov al,ah
    00455B79 66 45 inc bp
    00455B7B 00 90 5B 45 00 B8 add byte ptr eax-47FFBAA5h,dl
    The data and the address seem to be always the same in my case.
    I am running 32-bit Vista Ultimate on a dual core Intel Centrino CPU. I have a Crystal Reports Deployment suite installed. The cachemanager.dll is 106,496 bytes and the file version is 11.5.8.998
    Pelase help!

    Hi Ludek,
    Thanks for looking into this.
    > What version of .NET are you using?
    I have all version of .NET installed but please note that .NET is not required to reproduce the problem. Please read again my initial post. The error can be reproduced with this single line of VB Script and there is no .NET involved:
    Set o = CreateObject("CrystalClientDoc.ReportClientDocument")
    The same can be reproduced by creating a new ReportDocument object from .NET in any type of .NET application.
    > What CR Service Pack are you on?
    I haven't installed any additional service packs. Please see the versions of the files I have on my system to figure out the service pack:
    Crystaldecisions.Crystalreports.Engine.dll file version = 11.5.9708.998
    cachemanager.dll file version = 11.5.8.998
    clientdoc.dll file version = 11.5.8.998
    The other computers where all works good have the same versions installed.
    > What .NET Service Pack are you on?
    All latest service packs and updates from Microsoft are installed
    > What is the version of the CR assembly crystaldecisions.Crystalreports.engine.dll referenced in your application?
    The assembly version is 11.5.3700.0, file version: 11.5.9708.998, file size: 393,216 bytes
    > Is this a web or a win app?
    The error happens in btoh web and windows forms applications as well as by simply trying to create the Crystal COM object directly from VB Script without involving any .NET. So the same error will occur if CR are used from VB6 for example.
    > What OS are you on?
    Again as per my original post I am using a 32-bit Vista Ultimate on a dual core Intel Centrino CPU
    > What happens if you try to run an existing application?
    I get a crash in unmanaged code in cachemanager.dll at 0x3f8691b7. All the details are in my original post (scroll up). When this happens in a .NET application, the process is terminated and Vista shows a message that the program has stoped working. There is an error in the event log (see my original post)
    > There are different ways of instantiating a report. The sample app vbnet_win_simplepreview has all of these. Running the app with the different options may give us a clue... Was Crystal Reports installed before .NET or after?
    Crystal Reports Basic for Visual Studio 2008 was installed with VS 2008. After that I installed Crystal Reports Server Deployment
    > Have you tried to reinstall Crystal Reports?
    Yes I did reinstall both Crystal Reports Basic for Visual Studio 2008 and Crystal Reports Server Deployment in reverse order (i.e. the server deployment first and then the basics)

  • How to create new java objects in native methods?

    Hello,
    Is it possible to create java objects and return the same to the java code from a native method?
    Also is it possible to pass java objects other than String objects (for example, Vector objects) as parameters to native methods and is it possible to return such objects back to the java code?
    If so how can I access those objects (say for example, accessing Vector elements) inside the native code?
    What should I do in order to achieve them?
    Regards,
    Satish

    bschauwe is correct in that constructing Java objects and calling methods on Java objects from native code is tough and takes some study. While you're at it, you might want to check out Jace, http://jace.reyelts.com/jace. It's a free open-source toolkit that really takes the nastiness out of doing this sort of stuff. For example,/**
    * A C++ function that takes a java.util.Vector and plays around with it.
    public void useVector( java::util::Vector& vector ) {
      // Print out all the contents of the vector
      for ( Iterator it = vector.iterator(); it.hasNext(); ) {
        cout << it.next();
      // Add some new elements to the vector
      vector.addElement( "Hello" );
      vector.addElement( "world" );
    } All this code just results in calls to standard JNI functions like FindClass, NewObject, GetMethodID, NewStringUTF, CallObjectMethod, etc...
    God bless,
    -Toby Reyelts

  • Entry in CRMC_OBJECTS when creating new BOL Object??

    Hi All,
    when creating an new BOL Object, that is creating an entry in SPRO under
    Extend Model for Business Transactions with New Nodes
    the second field is called "Object Name". One must enter a value there when creating a new BOL Object.
    This field accepts entries in CRMC_OBJECTS. The problem is that I cannot make an entry in CRMC_OBJECTS since it is a SAP table.
    Does anybody know what to do to get an entry in CRMC_OBJECTS? Is there any other way to do this?
    Thanks, Johannes

    Hi!
    For maintaining CRMC_OBJECTS table you should use view CRMV_OBJECTS. (in transaction SM30).
    Regards,
    Alejandro.

  • Empty strings when passing a Java object to a Stored Procedure

    Hi,
    I'm using the interface SQLData to pass Java objects to StoredProcedures. All the object's attributes 'arrive' to the Stored Procedure ok, except the strings, which are empty.
    Here is my Oracle object:
    TYPE OBJ_ASJFF_OBJ1 IS OBJECT (
    ARG1 CHAR(3),
    ARG2 NUMBER(4),
    ARG3 CHAR(4),
    ARG4 NUMBER(7),
    ARG5 NUMBER(13,2),
    ARG6 CHAR(1));
    The nested table of that object:
    TYPE TAB_ASJFF_OBJ1 AS TABLE OF OBJ_ASJFF_OBJ1;
    The procedure declaration:
    PROCEDURE Pup_Instaura_Processo (                              x_crCert IN TAB_ASJFF_OBJ1,
    x_cResult OUT CHAR(4)
    My SQLData implementation:
    public void writeSQL(SQLOutput stream) throws SQLException {
                   stream.writeString(getArg1());     
                   stream.writeInt(getArg2().intValue());
                   stream.writeString(getArg3());          
                   stream.writeLong(getArg4().longValue());     
                   stream.writeBigDecimal(getArg5());
                   stream.writeString(getArg6());
    Can anybody help me?
    Thanks in advance
    Rui Gonçalves

    not exactly what you wanted but ingredients can be found at
    - JPublisher's docuemntation (especially "Type Mapping Support Through PL/SQL Conversion Functions")
    - http://otn.oracle.com/sample_code/tech/java/jsp/Oracle9iJSPSamples.html (Best Hotels PL/SQL Sample )
    - http://otn.oracle.com/tech/xml/xdk_sample/xdksample_093001i.html
    hope this helps
    Kuassi
    I have a Java Stored procedure which takes an instance of a different java object as its parameter.
    I need to do this from a pl/sql package - can anyone point me to a sample etc (looked on the website but don't see one) ?
    Andrew

  • Using transaction activation policy together with TOPLINK Java object/relational mapping "commit and resume" transaction?

    Has any one has experience using WLE transaction context together with TOPLINK Java
    version of "commit and resume" context?

    Has any one has experience using WLE transaction context together with TOPLINK Java
    version of "commit and resume" context?

  • Java.lang.NoClassDefFoundError when trying to create JNI Java object

    Can anyone give some clue for the following errors:
    //// JSP code:
    <%
    UIAccessCheckNat access = new UIAccessCheckNat();
    int nbrwdSifd = access.checkNbrwsSfid();
    %>
    //// Java code:
    UIAccessCheckNat.java
    package test.JS;
    public class UIAccessCheckNat
    public UIAccessCheckNat()
    //Empty constructor
    // this method check if NBRWS is turned on
    public int checkNbrws()
    int rc = 0;
    return rc;
    // Load native library.
    static
    System.loadLibrary("UIAccessCheckNat");
    ////The JNI c library code:
    #include <string.h>
    #include <stdio.h>
    #include <jni.h>
    #include "UIAccessCheckNat.h"
    /*ARGSUSED*/
    JNIEXPORT jint JNICALL Java_test_JS_UIAccessCheckNat_nativeCheck
    (JNIEnv * env, jobject jthis, jint id)
    jint rc=1;
    return rc;
    Testing result:
    1. Sunny day case, everything is OK if don't load the library (comment the following line and recompile the java class)
    // Load native library.
    // static
    // System.loadLibrary("UIAccessCheckNat");
    2. Rainy day case: wen put the above lines in the java class and recompile the Java class and load the JSP again, it cause error as following:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
         at org.apache.jsp.Login_jsp._jspService(Login_jsp.java:434)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NoClassDefFoundError
         at org.apache.jsp.Login_jsp._jspService(Login_jsp.java:96)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note The full stack trace of the root cause is available in the Tomcat logs.
    I am using Apache Tomcat/5.0.18 as servlet container.
    Can anyone plesae help?
    Thanks

    I would normally do:
    <jsp:useBean id="access" scope="session" class="YourPackageName.UIAccessCheckNat()" />
    Then int nbrwdSifd = access.checkNbrwsSfid(); should work
    You MUST put your class into a package:
    Tomcat 5.0\webapps\yourApplication\WEB-INF\classes\YourPackageName

  • Create a Java Object with Dynamic Variables

    Hi ,
    I am constructing a web based system which stores personal information on people. I have created a Person class with all the obvoius variables, forename, surname, address etc.. My problem is that some clients wish to make use of some of the variables, some want other variables and as i meet others they wish to add in some new variables eg
    Client 1 wishes to store; Forename, Surname and Address
    Client 2 wishes to store Forename, AltForename, Surname, AltSurname and Address ( AltForename - this is an alternative Forename in this case the Irish translation of their English name)
    Client 3 wishes to store Forename, Surname, Title, Address, Height, Weight, DOB, School, Occcupation.
    Each of the clients above need to submit these in an online form with each form looking different due to the fields they have to enter and also with different validation rules.
    At present i have a Person object handling all fields i can think of and different validation methods depending on the client, but there must be a better way of doing this as each time a new field is added by a new or existing client, i not only have to update the java and jsp but also the DB.
    This is all web based and i wish to use the same code base and data source for all clients. I also wish it to be all web based. So in theory if a client asked to add in a "middle name" field to their form and make it mandatory, i could go to an admin page which lists all the possible input element types and select the "field type" then set validation rules on it.
    All the web based and DB parts can be ignored - the main issue here is creating a Person class which can have any number of variables of varying types ( String, Int, etc)
    Regards,
    Cormac
    Edited by: cormacodonnell on Jun 27, 2008 6:33 AM

    cormacodonnell wrote:
    Hi ,
    I am constructing a web based system which stores personal information on people. I have created a Person class with all the obvoius variables, forename, surname, address etc.. My problem is that some clients wish to make use of some of the variables, some want other variables and as i meet others they wish to add in some new variables eg
    Client 1 wishes to store; Forename, Surname and Address
    Client 2 wishes to store Forename, AltForename, Surname, AltSurname and Address ( AltForename - this is an alternative Forename in this case the Irish translation of their English name)
    Client 3 wishes to store Forename, Surname, Title, Address, Height, Weight, DOB, School, Occcupation.You could extend the Person class with 3 sub classes, but that might be overkill just to store personal info.
    Each of the clients above need to submit these in an online form with each form looking different due to the fields they have to enter and also with different validation rules.
    At present i have a Person object handling all fields i can think of and different validation methods depending on the client, That's probably how I'd do it if it's not too much trouble. But to be OO you should probably go the inheritence route.
    but there must be a better way of doing this as each time a new field is added by a new or existing client, i not only have to update the java and jsp but also the DB. Welcome to software development. It's called "feature creep" or "scope creep". As soon as you get your code working right and deploy it and get ready to go on vacation, the customer always comes back with something else they "need" or "forgot". The app I'm building right now I've rewritten or changed 7 times in 3 months because nobody has a clue what they really need.

  • SRDemo tutorial- Reverse engineer TopLink Java Objects from existing DB tab

    Hi,
    In the tutorial, what does reverse engineer objects from existing tables means?
    Thanks!

    It means that JDeveloper will create Java classes that interact with the database, based on existing tables in the database.

  • Viewc32 is changing long to int when creating view.java

    I have copied the view and the java code generated from the view by viewc32. In the view field <b>oszStartTime </b>is a long. In java it is represented as a int. The .h file is a long. Is this the way it is suppose to work? I thought the .java file would represent the field as a long. I have created about 4 views and this is consistent for all of them. All longs are changed to ints in the .java programs.
    Thanks for the help...
    Here is my view
    VIEW GetEqmhistView
    #type     cname     fbname     count     flag     size     null
    string     iReqName     -     1     -     30     -
    string     iMsgName     -     1     -     30     -
    short     iMsgVersion     -     1     -     -     0
    string     iszTrainSection     -     1     -     2     -
    string     iszTrainSymbol     -     1     -     8     -
    string     iszTrainDay     -     1     -     3     -
    short     onSiteNumber     -     100     -     -     0
    long     <b>oszStartTime     </b>-     100     -     -     0
    char     ocSiteKind     -     100     -     -     \0
    char     oReserved     -     100     -     -     \0
    long     omdwReturnStatus     -     1     -     -     0
    long     omdwErrorCode     -     1     -     -     0
    string     omszErrorMessage     -     1     -     256     -
    END
    Here is the Java Generated:
    package com.nscorp.apps.util;
    import java.io.*;
    import java.lang.*;
    import weblogic.wtc.jatmi.*;
    import weblogic.wtc.jatmi.Utilities;
    public class GetEqmhistView extends TypedView32 implements Serializable {
    private String iReqName = null;
    private String iMsgName = null;
    private short iMsgVersion = 0;
    private String iszTrainSection = null;
    private String iszTrainSymbol = null;
    private String iszTrainDay = null;
    private short[] onSiteNumber = null;
    private int[] <b>oszStartTime </b>= null;
    private char[] ocSiteKind = null;
    private char[] oReserved = null;
    private int omdwReturnStatus = 0;
    private int omdwErrorCode = 0;
    private String omszErrorMessage = null;
    private boolean _associatedFieldHandling = false;
    public GetEqmhistView() {
    super("GetEqmhistView");
    this.onSiteNumber = new short[100];
    this.oszStartTime = new int[100];
    this.ocSiteKind = new char[100];
    this.oReserved = new char[100];
    return;
    * Gets the current state of associated field handling.
    * @return the current state (true=on, false=off)
    public boolean getAssociatedFieldHandling()
    return _associatedFieldHandling;
    * Sets the state of associated field handling.
    * @param state the desired state (true=on, false=off)
    public void setAssociatedFieldHandling(boolean state)
    _associatedFieldHandling = state;
    * Gets the value of the iReqName element of this view
    * @return The value which this element has
    public String getiReqName()
    return(this.iReqName);
    * Sets the value of the iReqName element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiReqName(String value)
    if (value.length() > 30)
    throw new IllegalArgumentException("Data too large for iReqName");
    this.iReqName = value;
    * Gets the value of the iMsgName element of this view
    * @return The value which this element has
    public String getiMsgName()
    return(this.iMsgName);
    * Sets the value of the iMsgName element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiMsgName(String value)
    if (value.length() > 30)
    throw new IllegalArgumentException("Data too large for iMsgName");
    this.iMsgName = value;
    * Gets the value of the iMsgVersion element of this view
    * @return The value which this element has
    public short getiMsgVersion()
    return(this.iMsgVersion);
    * Sets the value of the iMsgVersion element of this view
    * @param value The value to set the element to
    public void setiMsgVersion(short value)
    this.iMsgVersion = value;
    * Gets the value of the iszTrainSection element of this view
    * @return The value which this element has
    public String getiszTrainSection()
    return(this.iszTrainSection);
    * Sets the value of the iszTrainSection element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiszTrainSection(String value)
    if (value.length() > 2)
    throw new IllegalArgumentException("Data too large for iszTrainSection");
    this.iszTrainSection = value;
    * Gets the value of the iszTrainSymbol element of this view
    * @return The value which this element has
    public String getiszTrainSymbol()
    return(this.iszTrainSymbol);
    * Sets the value of the iszTrainSymbol element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiszTrainSymbol(String value)
    if (value.length() > 8)
    throw new IllegalArgumentException("Data too large for iszTrainSymbol");
    this.iszTrainSymbol = value;
    * Gets the value of the iszTrainDay element of this view
    * @return The value which this element has
    public String getiszTrainDay()
    return(this.iszTrainDay);
    * Sets the value of the iszTrainDay element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiszTrainDay(String value)
    if (value.length() > 3)
    throw new IllegalArgumentException("Data too large for iszTrainDay");
    this.iszTrainDay = value;
    * Gets the value of the onSiteNumber element of this view
    * @return The value which this element has
    public short[] getonSiteNumber()
    return(this.onSiteNumber);
    * Gets the value of the onSiteNumber element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public short getonSiteNumber(int index)
    return(this.onSiteNumber[index]);
    * Sets the value of the onSiteNumber element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setonSiteNumber(short[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for onSiteNumber");
    if (value.length < onSiteNumber.length)
    for(int i = 0; i < value.length; i++)
    onSiteNumber[i] = value;
    else
    this.onSiteNumber = value;
    * Sets the value of the onSiteNumber element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setonSiteNumber(short value, int index)
    this.onSiteNumber[index] = value;
    * Gets the value of the oszStartTime element of this view
    * @return The value which this element has
    public int[] getoszStartTime()
    return(this.oszStartTime);
    * Gets the value of the oszStartTime element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public int getoszStartTime(int index)
    return(this.oszStartTime[index]);
    * Sets the value of the oszStartTime element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setoszStartTime(int[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for oszStartTime");
    if (value.length < oszStartTime.length)
    for(int i = 0; i < value.length; i++)
    oszStartTime[i] = value[i];
    else
    this.oszStartTime = value;
    * Sets the value of the oszStartTime element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setoszStartTime(int value, int index)
    this.oszStartTime[index] = value;
    * Gets the value of the ocSiteKind element of this view
    * @return The value which this element has
    public char[] getocSiteKind()
    return(this.ocSiteKind);
    * Gets the value of the ocSiteKind element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public char getocSiteKind(int index)
    return(this.ocSiteKind[index]);
    * Sets the value of the ocSiteKind element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setocSiteKind(char[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for ocSiteKind");
    if (value.length < ocSiteKind.length)
    for(int i = 0; i < value.length; i++)
    ocSiteKind[i] = value[i];
    else
    this.ocSiteKind = value;
    * Sets the value of the ocSiteKind element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setocSiteKind(char value, int index)
    this.ocSiteKind[index] = value;
    * Gets the value of the oReserved element of this view
    * @return The value which this element has
    public char[] getoReserved()
    return(this.oReserved);
    * Gets the value of the oReserved element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public char getoReserved(int index)
    return(this.oReserved[index]);
    * Sets the value of the oReserved element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setoReserved(char[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for oReserved");
    if (value.length < oReserved.length)
    for(int i = 0; i < value.length; i++)
    oReserved[i] = value[i];
    else
    this.oReserved = value;
    * Sets the value of the oReserved element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setoReserved(char value, int index)
    this.oReserved[index] = value;
    * Gets the value of the omdwReturnStatus element of this view
    * @return The value which this element has
    public int getomdwReturnStatus()
    return(this.omdwReturnStatus);
    * Sets the value of the omdwReturnStatus element of this view
    * @param value The value to set the element to
    public void setomdwReturnStatus(int value)
    this.omdwReturnStatus = value;
    * Gets the value of the omdwErrorCode element of this view
    * @return The value which this element has
    public int getomdwErrorCode()
    return(this.omdwErrorCode);
    * Sets the value of the omdwErrorCode element of this view
    * @param value The value to set the element to
    public void setomdwErrorCode(int value)
    this.omdwErrorCode = value;
    * Gets the value of the omszErrorMessage element of this view
    * @return The value which this element has
    public String getomszErrorMessage()
    return(this.omszErrorMessage);
    * Sets the value of the omszErrorMessage element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setomszErrorMessage(String value)
    if (value.length() > 256)
    throw new IllegalArgumentException("Data too large for omszErrorMessage");
    this.omszErrorMessage = value;
    public void _tmpresend(DataOutputStream encoder)
    throws TPException, IOException {
    int lcv;
    try {
    Utilities.xdr_encode_string_length(encoder,iReqName, 30);
    Utilities.xdr_encode_string_length(encoder,iMsgName, 30);
    encoder.writeInt(iMsgVersion);
    Utilities.xdr_encode_string_length(encoder,iszTrainSection, 2);
    Utilities.xdr_encode_string_length(encoder,iszTrainSymbol, 8);
    Utilities.xdr_encode_string_length(encoder,iszTrainDay, 3);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt(onSiteNumber[lcv]);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt(oszStartTime[lcv]);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt((int)ocSiteKind[lcv]);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt((int)oReserved[lcv]);
    encoder.writeInt(omdwReturnStatus);
    encoder.writeInt(omdwErrorCode);
    Utilities.xdr_encode_string_length(encoder,omszErrorMessage, 256);
    catch (IOException ie) {
    System.out.println("Error encoding view buffer: " + ie);
    return;
    public void tmpostrecv(DataInputStream decoder, int recvsize)
    throws TPException, IOException {
    int lcv;
    iReqName = Utilities.xdr_decode_string(decoder, null);
    iMsgName = Utilities.xdr_decode_string(decoder, null);
    iMsgVersion = (short)decoder.readInt();
    iszTrainSection = Utilities.xdr_decode_string(decoder, null);
    iszTrainSymbol = Utilities.xdr_decode_string(decoder, null);
    iszTrainDay = Utilities.xdr_decode_string(decoder, null);
    for (lcv = 0; lcv < 100; lcv++) {
    onSiteNumber[lcv] = (short)decoder.readInt();
    for (lcv = 0; lcv < 100; lcv++) {
    oszStartTime[lcv] = decoder.readInt();
    for (lcv = 0; lcv < 100; lcv++) {
    ocSiteKind[lcv] = (char)decoder.readInt();
    for (lcv = 0; lcv < 100; lcv++) {
    oReserved[lcv] = (char)decoder.readInt();
    omdwReturnStatus = decoder.readInt();
    omdwErrorCode = decoder.readInt();
    omszErrorMessage = Utilities.xdr_decode_string(decoder, null);
    return;

    Hi Corey,
    The behavior you are seeing is expected. A long in Tuxedo is a 32 bit value. That maps to a Java int data type which is also a 32 bit value.
    Regards,
    Todd Little
    BEA Tuxedo Engineering

  • Error when creating inner instance object...

    public class Outer{
              class Inner{}
              public static void main(String[] s){
               Outer o = new Outer();
               Outer.Inner i = o.new Outer.Inner();
               /*above is what my tutorial has taught me, but when a compile time         error?*/
    }Can any spot the error of the above??

    I'd say the error is in trying to do that in the first place.
    What's the exact error you get when you try to compile?
    As a guess, I'd say that Outer.inner isn't valid because Inner isn't static, just like Outer.foo() wouldn't be valid if you had a non-static method foo(). Just like you'd need to do o.foo(), you probably need to do o.inner.
    Have I just done your homework for you?

Maybe you are looking for

  • TS3988 how can i change country of living

    how can i change of country of living?

  • Design a work flow for AP Payment.

    Hi all, i am new for oracle workflow. requirement:- after Payable invoice approval we use to make a payment of that invoice but in this case i would make a payment but i have to take approval from two autorities may be they are having same level. if

  • Best practices to use stored procedure

    Just wondering about best practices of using Stored procedures in TOPLink with respect to Objects. Any thoughts on this? I find the approach suggested at re:Coding for Stored Procedures is a lot of work! seems to be fine. Is there any thoughts on con

  • Connect to B1i server failed - HTTP/1.1 404 not found

    Hi All, I currently have B1 8.8 PL14 installed and in the process of installing B1i when  I get to Step 3/5: Configure B1i Parameters and select Test Connection I get the error message 'Connect to B1i server failed - HTTP/1.1 404 not found'. I have f

  • Buisness Process monitioring

    I have set up the whole configuration and defined the process and everything in DSWP in "setup buisness process monitoring " . In setup BPM screen everything has been properly defined i took sales process "Account processing in ERP" and have RFC and