Dumping core while using rwFactory()- create( )

hi Guys!!!
I'm not sure if this is the right forum... but please help..
Please have a look at the code.
int main(int argc, char *argv[])
std::cout << "Begining of the program .. " << endl;
RWBag dummy; //might have to create a dummy RWBAG to link the correct code;
std::cout << "This program creates an RWBAG using theFactory"
<< std::endl;
RWBag* b=(RWBag*)(getRWFactory()->create(__RWBAG));
b->insert( new RWCollectableDate ); // Insert today's date
b->clearAndDestroy(); // Cleanup: first delete members,
delete b; // then the bag itself
return 1;
I am using Roguewave version 8 on Solaris 10.
The problem is the prg is dumping core while creating the RWCollectable object using (getRWFactory()->create(__RWBAG));
I'm not sure if it the type casting or in the create itself.
Thanks,
Rahul.

It may be that an exception is being thrown that your not catching. Coherence exceptions need to caught as Exception::View not Exception::Handle. If there is an exception it's text should help identify if there was an issue running the updated server side.
Mark
Oracle Coherence

Similar Messages

  • Dump Error while using SSFCOMP_PDF_PREVIEW FM

    Hi All,
       While calling the Fm SSFCOMP_PDF_PREVIEW in the purchase order print program ZSAPFM06P (copy of the standard programe) im getting a dump error
    Runtime Errors POSTING_ILLEGAL_STATEMENT
    Date and Time 11.01.2012 17:31:01
    function ssfcomp_pdf_preview.
    data: l_dummy type standard table of tline.
      clear: pdf_data, pdf_size.
    convert otf to pdf
      call function 'CONVERT_OTF'
           exporting
                format                = 'PDF'
           importing
                bin_filesize          = pdf_size
                bin_file              = pdf_data
           tables
                otf                   = i_otf[]
                lines                 = l_dummy
           exceptions
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                others                = 4.
      if sy-subrc <> 0.
        raise convert_otf_to_pdf_error.
      endif.
    >>>>>> call screen 0300 starting at 1 1.
    Endfunction.
    Can any one help me.
    Thanks in Advance.

    Hi,
    Thanks for your reply.
    I have created my own smartform for purchase order print & i have copied standard PO Print program and in that i am calling my Z samrtform.
    Our Client wants that printpreview and PDF conversion through ME22N. So i have used SSFCOMP_PDF_PREVIEW  to full fill my requirement.
    Is there any other way to show both preview and able to convert to PDF and storing in local PC if user wants.
    Pls help.
    Thanks,
    Vishnu

  • Dump :GETWA_NOT_ASSIGNED, while using  fm REUSE_ALV_GRID_DISPLAY

    Hi Experts,
    In the report I am using LDB pnp and outputting results with ALV,
    I am using the FM REUSE_ALV_GRID_DISPLAY,
    And I am getting the dump GETWA_NOT_ASSIGNED.
    The dump I am getting when the FM is executed.
    Thanks in Advance.
    Regards,
    IFF

    Hi,
    i faced the same problem some days ago.
    jst cleck your fieldcat.
    check fields names passed to fieldcat and should be in '  ' and in capital.
    This shd solve your problem
    Thanks & regards

  • Dump 'LOAD_PROGRAM_NOT_FOUND' while using QM02 and ZXqm02

    Dear All,
    We are facing dump LOAD_PROGRAM_NOT_FOUND at the time of QM02 and One Z transaction ZXQM02.
    Could you please tell me what should be the reason or what should be the remedy?
    Regards,
    AMAR

    There can be various reasons for this error :
    1. You have change dthe standard program for QM02
    2. Due to wrong customizing
    3. Check the dump and ther eyou can find the root cause of this error e.g the Z txn uses a program which is generated during runtime and this program is not available .
    Edited by: Sandeep Kumar on Sep 24, 2010 1:34 PM

  • Can i use malloc function while using DLL created from C program

    Hi,
    I have written a simple program in C , which uses malloc function for allocating memory for the array.When iam calling that DLL using call library function node in labview, it is not giving any output, my doubt is can we use malloc function in C program from which we will create DLL and is called in labview? I am attaching my C code and DLL and also labview file please tell me where i am doing wrong?
    Thanks & Regards,
    Vishnu
    Attachments:
    first.zip ‏1010 KB

    Hi Vishnu,
    There's no problem using the Malloc function in C and call it as a DLL in LabVIEW.
    But LabVIEW has a different memory management than C.
    It is probably not recommended to allocate array memory in C for labVIEW arrays
    You can use initialize array in LabVIEW instead.
    Good luck
    Van L
    NI Applications Engineer

  • WMIC with Arguments/ Parameter while use PROCESS CREATE CALL exe

    Hi Team,
    I want to call exe from remote system using WMIC direct command. for that I prepare one command here 
    WMIC /NODE:"RemoteSys" /USER:"domain\username" /PASSWORD:"XXXXXXXXX" PROCESS CREATE CALL "C:\Program Files (x86)\Company\Product\productapp.exe"
    But issue here is this productapp.exe is expecting an arguments/ parameters like "  -p PlantA   "
    Question here is How to pass it ?
    I tried many alternate ways but all fails like:
    WMIC /NODE:"RemoteSys" /USER:"domain\username" /PASSWORD:"XXXXXXXXX" PROCESS CREATE "C:\Program Files (x86)\Company\Product\productapp.exe" -p PlantB   
    Output: Invalid Verb Switch
    WMIC /NODE:"RemoteSys" /USER:"domain\username" /PASSWORD:"XXXXXXXXX" PROCESS CREATE "C:\Program Files (x86)\Company\Product\productapp.exe" "-p PlantB"
    Output: Invalid format. Hint: <paramlist> = <param> [, <paramlist>].
    Don't know what is paramlist & How to use that.
    Can anyone help me here ?
    Regards, Brijesh Shah

    Go to
    https://social.technet.microsoft.com/Forums/windows/en-US/home and find the forum for the version of Windows you're using. That's the appropriate place to ask the question. Best of luck!
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Short Dump TSV_TNEW_PAGE_ALLOC_FAILED while using shared memory objects

    Hi Gurus,
    We are using shared memory objects to stor some data which we will be reading later. I have implemented the interfce IF_SHM_BUILD_INSTANCE in root class and using its method BUILD for automatic area structuring.
    Today our developments moved from dev system to quality system, and while writing the data into the shared memory using the methods ATTACH_FOR_WRITE and DETACH_COMMIT in one report. We started getting the run time error TSV_TNEW_PAGE_ALLOC_FAILED.This is raised when the method DETACH_COMMIT is called to commit the changes in the shared memory.
    Everyhting works fine before DETACH_COMMIT. I know that it is happening since the program ran out of extended memory, but I am not sure why it is happening at DETACH_COMMIT call. If excessive memory is being used in the program, this run time error should have been raised while calling the ATTACH_FOR_WRITE method or while filling the root class attributes. I am not sure why it is happening at DETACH_COMMIT method.
    Many Thanks in advance.
    Thanks,
    Raveesh

    Hi raveesh,
    as Naimesh suggested: Probably system parameter for shared memory area is too small. Compare the system parameters in devel and QA, check what other shared memory areas are used.
    Regarding your question, why it does not fail at ATTACH_FOR_WRITE but then on DETACH_COMMIT:
    Probably ATTACH_FOR_WRITE will set an exclusive write lock on the shared memory data, then write to some kind of 'rollback' memory and DETACH_COMMIT will really put the data into shared memory area and release the lock. The 'rollback' memory is in the LUW's work memory which is much bigger as the usual shared memory size.
    This is my assumption - don't know who can verify or reject it.
    Regards,
    Clemens

  • Short dump SAVE_NOT_ALLOWED while using CL_GUI_ALV_GRID in editable ALV

    I created an editable ALV field and when i changed the value in that field and click tab  or enter, then i am getting a shortdump. This is not happening regularly.
    can anyone let me know the reason for this.
    Sharath.

    Hi
    Set the handlers for the events DATA_CHANGED and DATA_CHANGED_FINISHED for your grid and handles changes in these methods accordingly.
    *...local class definition
                        for event data_changed of cl_gui_alv_grid
                        importing er_data_changed,
                        handle_data_changed_finished
                        for event data_changed_finished of cl_gui_alv_grid
    *...display the grid
        call method grid1->set_table_for_first_display
          exporting
            i_bypassing_buffer   = abap_true
            i_structure_name      = viewname
            is_print                      = gs_print
            is_layout                   = gs_layout
            it_toolbar_excluding = i_exclude
            i_save                      = 'A'
          changing
            it_outtab                   = <i_itab>
            it_fieldcatalog           = gt_fieldcat.
        if sy-subrc ne 0.
          exit.
        endif.
        set handler handle_double_click
                    handle_button_click
                    handle_user_command
                    handle_data_changed
                    handle_data_changed_finished
                    handle_onf4
                    handle_toolbar
                    for grid1.
    regards
    Isaac Prince

  • Short Dump while using BAPI_PS_PRECOMMIT to set Project Definition Status

    Hi All,
    I am getting a short dump while using BAPI_PS_PRECOMMIT for setting the Project Definition status..
    The requirement is to create a Project Definition and then set its status to REL from CRTD. For this purpose i am using the BAPI's in the following sequence :
    1. BAPI_PS_INITIALIZATION
    2. BAPI_PROJECT_MAINTAIN
    3. BAPI_BUS2001_SET_STATUS
    4. BAPI_PS_PRECOMMIT
    5. BAPI_TRANSACTION_COMMIT
    The Proj Def creation is happening successfully in step2. Interestingly, when I debug the program and stop at PRECOMMIT BAPI the program does not give a dump. I have also tried to give COMMIT WORK / WAIT FOR n SECONDS after BAPI_BUS2001_SET_STATUS, to give BAPI sometime for DB update but nothing seems to be a permanent solution.
    Please give your views on a solution for this problem..
    Thanks & Regards,
    Somil

    Can you please check how to post code in SDN ...
    I cannot read your code properly

  • Dump error while creating or double click the info package

    Hello experts,
    I have actived infocube 0FIAR_C03 in BI content. Ago, The creation infopackage have been deleted in the past , today, I  created a infopackage, while I update mode selected u2018initialize delta processu2019, then click save button , the system prompt u2018Deltas already loaded for request  REQU_D64R47LDUSZHY9CBIB86WMLFJ init.selection; no 2. initu2019, I canoti save it for my setting. Why is this?
    Then I have search cause in SDN,  and I have reference OSS Note 852443 to do .
    Note 852443 have mention some table: RSSELDONE、RSSDLINIT、RSSDLINITSEL、ROOSPRMSC、ROOSPRMSF.
    I have to delete that request of record using se16 in these tables: RSSELDONE、RSSDLINIT、RSSDLINITSEL.
    in my BI 7.0 system,   ROOSPRMSC、ROOSPRMSF is no any data.
    I was no found delta queue in RSA7.
    Now . Dump error while creating or double click the info package,  how can I change this?
    Please let me know the solution.
    Thanks for your help.
    Best Regards
    Steve

    Here are some links  which deals with same issue.
    Re: Dump In Infopackage
    Re: Getting into Short dump at the time of selecting InfoPackage to execute for
    Short dump while performing init in infopackage
    Re: Infopackage going into short dump
    Thanks.

  • ABAP dump Error while creating service order in PCUI.

    Hi Experts,
                     We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          02.01.2008 14:55:38
    Short text
    Exception condition "TYPE_NOT_FOUND" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
    exception
    condition "TYPE_NOT_FOUND".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    |    function module from the display of active calls.     
    We have added custom fields in the service application. these custom fields with Z-structure & data elements  are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
    This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
    How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
    Helpful answers would be rewrded max points as it is high priority issue.
    Regards,
    Basavaraj Patil

    Hi Thirumala,
    Thnaks for the reply.
                I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields)  created while doing  EEWB is not included in BSP structure.
    I f transports are missed to move to target system, Is there any other alternative to solve this problem?
    Regards,
    Basavaraj Patil

  • Short dumps while using J3A9 & VK12

    We are implementing SAP ECC 6.0 and are experiencing short dumps while using transactions J3A9 and VK12.  They all point to program /AFS/SD_DISP_CONDITION_TABLE and related Includes.  I haven't found any information regarding this program on this site or in OSS, mostly due to the fact that the program is only 2 months old, which is troubling enough...
    If anyone is experiencing similar issues, please feel free to respond.  I have opened an OSS note with SAP and they are having trouble recreating the issue as it doesn't happen consistently. 
    Thanks and best regards,
    Chris Mowl

    We are implementing SAP ECC 6.0 and are experiencing short dumps while using transactions J3A9 and VK12.  They all point to program /AFS/SD_DISP_CONDITION_TABLE and related Includes.  I haven't found any information regarding this program on this site or in OSS, mostly due to the fact that the program is only 2 months old, which is troubling enough...
    If anyone is experiencing similar issues, please feel free to respond.  I have opened an OSS note with SAP and they are having trouble recreating the issue as it doesn't happen consistently. 
    Thanks and best regards,
    Chris Mowl
    10/22/08:  Several OSS notes have been created regarding this issue but none of them have solved it.  The two most recent notes are 1262962 & 1225190.  If you are having this problem. start with these notes.

  • Classification System CA-CL: Problems / Dumps while using a new class type

    Hi All,
    You'd really make my day by helping me out w. hints or even a solution. Would reward points for your efforts...
    The problem: in order to develop a class hierachy of product groups (in industry system, Rel. 6.40) I created a new class type (let's call it ZWG).
    While doing so R/3 requsted me to provide info on the objects to assign to this class type as well as the transaction for displaying these objects. For Product Groups (material classes) this is object-table T023 and transaction WG24.
    Furthermore the sys demands the implementation of a function module. This module's task is to check the existence of a given object as well as the locking and later unlocking in the process of classifying objects. Following SAP's naming convention I implemented and activated FM OBJECT_CHECK_T023.
    After that I created a new class (FIRST_CLASS) of class-type ZWG.
    I managed to assign exactly one (1) prod-grp to this class but afterwards I only receive dumps while using transactions CL20N, CL24N  to assign objects.
    The Message from ST22 says:
    Assignment error: Overwriting a protected field.
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLCLCV" had to be terminated because one of the 
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                       
    Do I have to debug throughout thís enormous amount of coding now? :-(((
    Hope someone get's my "message in a bottle"
    Best Regards
    Udo

    Yatin please see attached for warning.I am trying to create Z class using 001

  • I just purchased the airport Express to use in hotels while traveling to create a wireless network from the hotels wired dsl.  A friend said to set up the network from home prior to traveling.  How do I set this up?  Thanks.

    I just purchased the airport Express to use in hotels while traveling to create a wireless network from the hotels wired dsl.  A friend said to set up the network from home prior to traveling.  How do I set this up?  Thanks.

    In addition to RyanJC's comments, the 802.11n AirPort Express Base Station (AXn) can store up to five different http://docs.info.apple.com/article.html?artnum=108081 configuration profiles. You will need to use the AirPort Utility to create & save these profiles.
    To create a new profile:
    Open AirPort Utility, select your AX from the list, and then, click "Manual Setup."
    From the AirPort Utility menu, select "Base Station," and then "Manage Profiles."
    Click "+" to create a new profile; give it a name, and then, click OK.
    Set options, such as network name, passwords, Internet connection method, etc.
    When done setting the options, click Update.
    To switch profiles:
    Open the AirPort Utility, select your AX from the list, and then, click "Manual Setup."
    From the AirPort Utility menu, select "Base Station," and then "Manage Profiles."
    Click on the desired profile, and then, click OK to apply the new profile and restart the AX.
    Just remember to switch to the desired configuration profile before removing power from the AX.

  • Runtime error 429, activeX component cant create object while using netbet pro on windows 7 & 8.1 HELP!!!

    runtime error 429, activeX component cant create object while using netbet pro
    does anyone know what I could do to fix this problem??? netbet pro was't available for a while then it's back but has yet to run

    What's netbet pro?
    I'd recommend asking questions about third party applications in the vendor's forum, not a Microsoft forum meant for admin scripting.
    EDIT: Ah, some gambling website...
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

Maybe you are looking for