AQ Sample error in debug mode

Hi Rajat,
I build AQ project in Jdeveloper9.0.3.960 enviroment, and the soap message has been formed, when I press "send soap message" a message box appeared, which let me input the name and password, but it always shows wrong password message, I have already copyed the jazn-data.xml to H:\jdev9i_903\jdev\system9.0.3.960\oc4j-config (my Jdeveloper was installed in H:\jdev9i_903\jdev\bin), please tell me how to solve the problem.
I also want to ask which direcotry is <j2ee_home> and which directory is<oc4j_home> in the Jdeveloper installed directory.
The last question is I debug the AQServlet.java, but I don't know how the security window is formed, I can't read it from the AQServlet.java.
Sorry for my bad English.
Thans,
Diablo

Hello Diablo,
We have not tested the sample on JDeveloper yet. Just give me some time to see it in JDeveloper. Till then why dont you try the sample application on standalone OC4J? The OC4J needed for the sample can be downloaded from http://otn.oracle.com/software/products/ias/htdocs/utilsoft.html. Please download the version 902.
The AQServlet requires an authentication for working properly. It will not work till the user accessing it has been authenticated. Please see the included file web.xml. This file specifies that the user has to be authenticated before calling the AQServlet.
Hope this helps. Please run the sample on OC4J 902.
Thanks,
Rajat

Similar Messages

  • ABAP Runtime error in debug mode

    Hi all,
    I am facing foll. run time error in debug mode
    Runtime Error          DBIF_RSQL_INVALID_CURSOR
    Except.                CX_SY_OPEN_SQL_DB
    Possible causes in the application program:                       
    Within a loop (SELECT/LOOP/EXEC SQL), one of the following        
    statements is used:                                               
    - MESSAGE (apart from MESSAGE S...)                               
    - COMMIT WORK                                                     
    - ROLLBACK WORK                                                   
    - CALL SCREEN                                                     
    - CALL DIALOG                                                     
    - CALL TRANSACTION                                                
    - SUBMIT                                                          
    - BREAK-POINT                                                     
    - WAIT                                                            
    In debugging mode, a program sometimes triggers                   
    a "COMMIT WORK" during the database selection. As a result        
    this termination may also occur in debugging mode with a correct  
    program.                                                          
    A "COMMIT WORK" during debugging may be due to the following reason
    1. A program or screen was regenerated                            
       and updated in the database.                                   
    2. Each user needs a private process in debugging mode, but       
       the number of available processes is restricted. If this       
       limit is exceeded, each debugging step then requires a         
       "COMMIT WORK".       
    its urgent.
    if i run the prg directly to tcode der is not ne error.
    but i want to execute the prg. in the debug mode.
    its a ZPRG.
    with regards,
    Purva.

    hi,
    You need to change your logic.
    Then , i hope your problem wil be solved.
    Because of nested select statements, you are getting that error.
    Declare seperate Internal tables for VBRK,VBRP, KNA!,j_1iexchdr, j_1imtchid.
    Declare Itab_final with all required fields from all tables.
    Dont use select-endselect anywhere.
    I am giving Pseudo code here.
    Try to use this logic.
    I used question mark in code : there you need to use ur required field names.
    Hope it wil help you.
    select vbeln kunrg zterm bukrs knumv netwr kunrg from vbrk into corresponding fields of table itab1
    where vbeln = docno.
    select matnr posnr arktx fkimg meins netwr werks aubel from vbrp into corresponding fields of table itab2 for all entries in itab1
    where vbeln = itab-vbeln.
    select name1 stras pstlz ort01 land1 from kna1 into corresponding fields of table itab3 for all entries in itab1
    where kunnr = itab1-kunrg.
    select preprn exdat docno from j_1iexchdr into corresponding fields of  table itab4  for all entries in itab1
    where rdoc = itab1-vbeln.
    select j_1ichid from j_1imtchid into corresponding fields of table itab5 for all entries in itab2
    where matnr = itab2-matnr.
    Loop at itab1 into wa_itab1.
    read table itab2 into wa_itab2 index sy-tabix.
    read table itab3 into wa_itab2 index sy-tabix.
    read table itab4 into wa_itab2 index sy-tabix.
    read table itab5 into wa_itab2 index sy-tabix.
    itab_final = itab1-?
    itab_final = itab1-?
    itab_final = itab2-?
    itab_final = itab3-?
    itab_final = itab4-?
    itab_final = itab5-?
    append itab.
    endloop.
    select eikto from knb1 into table wa_knb1
    where kunnr = itab_fianl-kunrg
    and bukrs = itab-bukrs.
    select kawrt kbetr kwert kschl kposn knumv from konv into corresponding fields of wa_konv
    where knumv = itab_fianl-knumv
    and kposn = itab_final-posnr.
    append wa_konv.
    endselect.
    Regards
    Sandeep Reddy

  • HSDIO conditionally fetch hardware compare sample errors (script trigger to flag whether or not to wait for software trigger)

    I am moderately new to Labview and definitely new to the HSDIO platform, so my apologies if this is either impossible or silly!
    I am working on a system that consists of multiple PXI-6548 modules that are synchronized using T-CLK and I am using hardware compare.  The issue I have is that I need to be able to capture ALL the failing sample error locations from the hardware compare fetch VI... By ALL I mean potentially many, many more fails than the 4094 sample error depth present on the modules.
    My strategy has been to break up a large waveform into several subsets that are no larger than 4094 samples (to guarantee that I can't overflow the error FIFO) and then fetch the errors for each block.  After the fetch is complete I send a software reference trigger that is subsequently exported to a scriptTrigger that tells the hardware it is OK to proceed (I do this because my fetch routine is in a while loop and Labview says that the "repeated capbility has not yet been defined" if I try to use a software script trigger in a loop).
    This works fine, but it is also conceivable that I could have 0 errors in 4094 samples.  In such a case what I would like to do is to skip the fetching of the hardware compare errors (since there aren't any) and immediately begin the generation of the next block of the waveform.  That is, skip the time where I have to wait for a software trigger.
    I tried to do this by exporting the sample error event to a PFI and looping that PFI back in to generate a script trigger.  What I thought would happen was that the script trigger would get asserted (and stay asserted) if there was ever a sample error in a block, then I could clear the script trigger in my script.  However, in debug I ended up exporting this script trigger back out again and saw that it was only lasting for a few hundred nanoseconds (in a case where there was only 1 injected sample error)... The sample error event shows up as a 1-sample wide pulse.
    So, my question is this:  is there a way to set a flag to indicate that at least one sample error occurred in a given block  that will persist until I clear it in my script?  What I want to do is below...
    generate wfmA subset (0, 4094)
    if scriptTrigger1
      clear scriptTrigger1
      wait until scriptTrigger0
    end 
    clear scriptTrigger0
    generate wfmA subset (4094, 4094)
    I want scriptTrigger1 to be asserted only if there was a sample error in any block of 4094 and it needs to stay asserted until it is cleared in the script.  scriptTrigger0 is the software trigger that will be sent only if a fetch is performed.  Again, the goal being that if there were no sample errors in a block, the waiting for scriptTrigger0 will not occur.
    I am probably going about it all wrong (obviously since it doesn't work), so any help would be much appreciated!

    Please disregard most of my previous post... after some more debug work today I have been able to achieve the desired effect at slower frequencies.  I did straighten out my script too:
    generate wfmA
    if scriptTrigger1
      clear scriptTrigger0
      wait until scriptTrigger0
    end if
    generate wfmA
    scriptTrigger1 = sample error event flag
    scriptTrigger0 = software trigger (finished fetching error backlog in SW)
    However, I am still having a related issue.
    I am exporting the Sample Error Event to a PFI line, looping that back in on another PFI line, and having the incoming version of the Sample Error Event generate a script trigger.  My stimulus has a single injected sample error for debug. For additional debug I am exporting the script trigger to yet another PFI; I have the sample error event PFI and the script trigger PFI hooked up to a scope.
    If I run the sample clock rate less than ~133MHz everything works... I can see the sample error event pulse high for one clock period and the script trigger stays around until it is consumed by my script's if statement.
    Once I go faster than that I am seeing that the script trigger catches the sample error event occasionally.  The faster I go, the less often it is caught.  If I widen out the error to be 2 samples wide then it will work every time even at 200MHz.
    I have tried PFI0-3 and the PXI lines as the output terminal for the sample error event and they all have the same result (this implies the load from the scope isn't the cause).
    I don't know what else to try?  I can't over sample my waveform because I need to run a true 200MHz. I don't see anything that would give me any other control over the sample error event in terms of its pulsewidth or how to export it directly to a script trigger instead of how I'm doing it.
    Any other ideas?

  • Error when debugging the Web DynPro application-Flight Example

    Hi all,
    I am trying to execute the Flight Application example.
    In the Search View I have entered City from and to and  getting only one record in the table control as output in Result View irrespective of any cities.
    I checked with SAPR/3 but it is showing more records.
    For finding the error I tried to DEBUG the application.starting the DEBUG immediately I am getting the error REMOTE VM NOT CONNECTED.I am  trying to solve this error to Starting the DEBUG.
    If any tips to solve this error in DEBUG mode and what is the reson the other records are not showing in the output Result view.
    Thanks in Advance.
    Regards,
    Ram

    Hi,
    This is clearly a version imcompatibility issue ,
    check below link :
    /message/9597673#9597673 [original link is broken]
    Please do some search on sdn before posting the questions. as the answer is already available.
    Regards
    Deepak

  • Error when starting Weblogic in debug mode

    Hi there
    Has anyone experienced any difficulties when starting weblogic in debug mode.
    More specifically, it cannot start correctly because it thinks that another instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unable to create
    a server socket for port: 8320. java.net.BindException: Address already in use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <The WebLogic
    Server is no longer listening for connections. You should probably restart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Server shutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)

    Thanks for the suggestion.
    Unfortunatley the port is definately free/available during startup.
    Stephane Kergozien <[email protected]> wrote:
    Maark,
    Before starting your server, please could you check that the port is
    not used by one
    other process. You can use the netstat command to do this.
    Regards
    Stephane
    Mark wrote:
    Hi there
    Has anyone experienced any difficulties when starting weblogic in debugmode.
    More specifically, it cannot start correctly because it thinks thatanother instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unableto create
    a server socket for port: 8320. java.net.BindException: Address alreadyin use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <TheWebLogic
    Server is no longer listening for connections. You should probablyrestart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdownsequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Servershutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unableto load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)--
    Regards,
    Stephane Kergozien
    BEA Support

  • Strange Error During Page Load in Debug Mode (only) - Please Help!

    Hi All,
    Data base version: oracle 11g
    Apex version: Apex 4.1.1
    Webserver: Apache
    Need help with how to troubleshoot a Critical problem. The following error only occurs during page load in "Debug" mode. And, only occurs on a specific page within the application. A web page is served-up containing the following message and the application is blocked from running the page. The browser's (IE 8.0) back button must be clicked to proceed outside of "Debug" mode.
    "Error occurred while painting error page: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06502: PL/SQL: numeric or value error: character string buffer too small"
    Debug log follows:
    "S H O W: application="2006" page="6" workspace="" request="" session="500549669426301"
    Computation point: Before Header
    ...Perform computation of item: APP_SERVER, type=FUNCTION_BODY
    ...Performing function body computation
    ...Execute Statement: declare function x return varchar2 is begin return owa_util.get_cgi_env('SERVER_NAME'); return null; end; begin wwv_flow.g_computation_result_vc := x; end;
    ......Result = 156.9.122.214
    ...Session State: Save "APP_SERVER" - saving same value: "156.9.122.214"
    Processes - point: BEFORE_HEADER
    ...Process "GET_POSITION" - Type: PLSQL
    ...Execute Statement: begin wwv_flow.g_boolean := :F109_POSITION_ID IS NULL and :APP_PAGE_ID != 101; end;
    ......Result = FALSE
    ......Skip because condition or authorization evaluates to FALSE
    ...Process "Get JARS Sifter Log File Record Count" - Type: PLSQL
    ...Execute Statement: begin DECLARE vcnt NUMBER := 0; BEGIN d('Get JARS Sifter Log File Record Count'); Select count(*) into vcnt From JARS.JARS_SIFTER_LOG Where moveid = to_number(:P6_MOVEID) and sifter_status IN ('F','J'); :F1000_P6_SIFTER_LOG_COUNT := to_char(vcnt); END; end;
    Custom: Get JARS Sifter Log File Record Count
    ...Process "Set PTM Planned Trip Status" - Type: PLSQL
    ......Skip because condition or authorization evaluates to FALSE
    ...compatibility mode - do not set mime type
    ...compatibility mode - do not set additional http headers
    ...close http header
    ...metadata, fetch item type settings
    ...metadata, fetch items
    Show page template header
    Rendering form open tag and internal values
    Add error onto error stack
    ...Error data:
    ......message: Error processing request.
    ......additional_info: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ......display_location: ON_ERROR_PAGE
    ......is_internal_error: true
    ......apex_error_code: APEX.UNHANDLED_ERROR
    ......ora_sqlcode: -6502
    ......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 3027 ORA-06512: at "APEX_040100.WWV_FLOW", line 7867
    ...Show Error on Error Page
    ......Performing rollback
    Rendering form open tag and internal values
    ...Unhandled Error while painting error page: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ...Error Backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 2707 ORA-06512: at "APEX_040100.WWV_FLOW_ERROR", line 185
    End Page Rendering"
    Thanks!
    Bernard

    All,
    It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
    Again, the run error only occurred when the page was loaded in "Debug" mode.
    Bernard

  • Error starting J2EE server in debug mode

    I am trying to start the Sun 1.4 application server in a debug mode. I get an error
    err:FATAL ERROR in native method: No transports initialized
    : No such file or directory
    Error [2] in bind() call!
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    The setting in config.xml file is:-
    debug-enabled="true" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
    Any help will be appreciated.
    Thanks,
    Milind

    I changed the port number and it worked. Not sure why port 1044 as specified in the Sun documentation doesnot work.
    Milind

  • Error C3561: tile barrier operation...occurring in debug mode only

    Hi, 
    I am new in C++ AMP, please, help me figure out why my code compile in Release mode, but C3561 occurring in debug mode.
    At first, short version to demonstrate compile errors
    parallel_for_each(D.extent.tile<TILE_SIZE>(), [=](concurrency::tiled_index<TILE_SIZE> t_idx) restrict(amp)
    float threshold = P[t_idx.global];
    tile_static float my_tile[TILE_SIZE];
    tile_static int calculatedCount;
    for (int stride=0; calculatedCount < TILE_SIZE; stride++)
    my_tile[t_idx.local[0]] = P[t_idx.global[0] + stride*TILE_SIZE];
    t_idx.barrier.wait();
    for (int i =0; i < TILE_SIZE; i++)
    if (my_tile[i] >= threshold)
    D[t_idx.global] = 0;
    calculatedCount++;
    Short version does not compile in debug and release mode. Occurring very strange "tile barrier error" C3561.
    However, full version shows more interesting results: compile errors only in debug mode, 
    parallel_for_each(D.extent.tile<TILE_SIZE>(), [=](concurrency::tiled_index<TILE_SIZE> t_idx) restrict(amp)
    float threshold = P[t_idx.global] + tp;
    float maxDrawdown = 0;
    float open = P[t_idx.global];
    tile_static float my_tile[TILE_SIZE];
    tile_static int calculatedCount;
    int stride = 0;
    bool calculated = false;
    calculatedCount = 0;
    t_idx.barrier.wait();
    for (; calculatedCount < TILE_SIZE; stride++)
    if (t_idx.global[0] + stride*TILE_SIZE < sz)
    my_tile[t_idx.local[0]] = P[t_idx.global + stride*TILE_SIZE];
    t_idx.barrier.wait();
    if (calculated)
    continue;
    for (int i = stride == 0 ? t_idx.local[0] : 0; i < TILE_SIZE; i++)
    if (maxDrawdown < open - my_tile[i])
    maxDrawdown = open - my_tile[i];
    if (my_tile[i] >= threshold)
    duration[t_idx.global] = stride*TILE_SIZE + i - t_idx.local[0];
    D[t_idx.global] = maxDrawdown;
    calculated = true;
    calculatedCount++;
    break;
    if (stride*TILE_SIZE + i >= sz)
    calculated = true;
    calculatedCount++;
    D[t_idx.global] = maxDrawdown;
    duration[t_idx.global] = 0;
    break;

    Hello, thank you for your inquiry. The issue here is that you have a race condition and control flow that is conditional on the variable that's subject to the race. To be precise, in the simplified example, the following:
    calculatedCount++;
    has the effect that every lane tries to increment calculatedCount. Since there are no guarantees about ordering or completion with the given code, the compiler (reasonably) fears that this might result in a case where some lanes break out of the loop while
    others do not (different calculatedCount values per lane). This is invalid due to the fact that the body of the loop contains a barrier (all lanes must see a barrier i.e. control flow must not diverge around it). Hence the odd error. The solution here
    could be to use an atomic increment on calculatedCount and add a barrier after the innermost loop, so that the outermost loop is tile-synchronous, like so:
    for (int stride=0; calculatedCount < TILE_SIZE; stride++) {
    my_tile[t_idx.local[0]] = P[t_idx.global[0] + stride*TILE_SIZE];
    t_idx.barrier.wait();
    for (int i =0; i < TILE_SIZE; i++) {
    if (my_tile[i] >= threshold) {
    D[t_idx.global] = 0;
    concurrency::atomic_fetch_inc(&calculatedCount);
    t_idx.barrier.wait();
    Also, as a curiosity, what is the intent of the innermost loop? My reading of it suggests that it is in error i.e. each value that you cache ends up being processed multiple times: all lanes process [0], then [1], then [2] etc. If [0] is above the threshold,
    this means that you end the loop after processing just that one datum. Since I presume you want to process the data in my_tile, the way to achieve that is to remove the for and leave the body modified like so:
    for (int stride=0; calculatedCount < TILE_SIZE; stride++) {
    my_tile[t_idx.local[0]] = P[t_idx.global[0] + stride*TILE_SIZE];
    t_idx.barrier.wait();
    if (my_tile[i] >= threshold) {
    D[t_idx.global] = 0;
    concurrency::atomic_fetch_inc(&calculatedCount);
    t_idx.barrier.wait();
    Hope this helps! Cheers!

  • Debug mode makes run time errors go away

    I'm writing a very simple console app for my own training purposes. The goal is to be able to pass a month name and a starting weekday, and then generate an appropriate calendar display for the month.
    The default package imports my own package, which contains two classes. One is intended to handle the calendar manipulations, and the function that actually does set up the days of the month, throws a user defined exception, "invalid_day_excecption", if an invalid weekday name is passed.
    My question is this: When I run this app in Debug mode, all exception handling works correctly. But when I run in Execute mode, I get a java.lang.NoClassDefFound error on the invalid_day_exception, even when it appears that it shouldn't be thrown.

    Just to dispel the possibility, I would try running
    your program outside of an IDE. It appears from your
    description as though whatever process you may be
    using for running your application could have some
    errors. If that still doesn't work, make sure that
    the class files were compiled to the right places.
    Good luck!You know, that's the second time today someone has hinted that IDE's bring with them a lot of problems of this type. Apparently there's more to them than all the GUI, flash, and color coded keywords!

  • Building to Devices in Debug mode, Error.

    Hi All,
    We are having an issue building my app in Debug mode to my physical devices, the error is posted below.
    The device is dev unlocked and was working, but stopped with no warning. We can still work on the emulator and build in release mode to the device.
    We have tried:
    Reassociating it with the Windows Phone store.
    Cleaning the solution.
    Deleting obj and bin folders.
    Rebuilding solutions
    Running VS in admin mode.
    Restarting the system.
    Does anyone please have advice on how to resolve this issue as it is hurting our beta testing.
    Error:
    "Unable to activate Windows Store app 'App Name'. The Process started, but the activation request failed with error 'The app didn't start'"

    Hi Tyroneallen281,
    I found there is one similar question about the same problem. Please try the solution and let me know the result.
    https://social.msdn.microsoft.com/Forums/en-US/fd4163fe-41c1-4c23-bc8d-be20cc5a70c3/error-code-the-app-didnt-start?forum=winappswithcsharp.
    If it doesn’t work, please post more information about your scenario.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Server Error Running in Debug Mode

    Has anyone been able to run EA in debugging mode with the J2EE 1.4 application server?
    When I try, here's what happens:
    1. The server is stopped in preparation to run in debug mode
    2. The server restarts
    3. Before deployment the server dies with this error message:
    java.io.IOException. Unable to connect to admin-server ...
    This is for port localhost:4848

    There are a couple problems with debugging in EA:
    1) The debug port may be in use. Sounds like what you may be seeing. Assuming you're running on Windows, run "netstat -ano" to find out if port 1044 is in use. That's the debug port.. Kill the process that is using the port. This may require a reboot if the owner is System.
    2) The second problem is that on Windows, you may only be able to debug once without restarting the server. Non-Windows doesn't have this problem. The plan is to fix this in a future release.

  • Weird behavior: Throws an error while debugging/Run mode, but doesn't when project is built

    Hi there,
    I am trying to see if I could get some help on a strange situation:
    I am developing a desktop application with few window components (like music window, rss feeds, photos window, etc). I am trying to have a checkbox in the "preferences" component which will disable or enable the appropriate window component.
    When I am trying to test this checkbox in my application (in either debug mode or 'run' mode) an error is being thrown which I am not able to figure out why this error occurs (though I know its complaining about Null object reference). But when I am building the application with "Export Release Build" option and installing the application on my desktop to test the same checkbox - it works!! I am not sure why this is happening. Any help?
    Can you tell me why it's not complaining about Null object when I build the project or how to overcome this problem?
    This is the error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Components::ComponentContainer/getComponentData()[/Users/Desktop/projects/DesktopLauncher /src/MyComponents/ComponentContainer.as:48]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Thanks in advance.

    Can you post the code at ComponentContainer.as line 48?
    Also, make sure the debug SWF is up to date; delete it in bin-debug, make a change to ensure the new one has come up.

  • Error in Starting the Applicaion in DEBUG mode.

    Hi all,
    I am trying to DEBUG the Jave application in NETWEAVER DEVELOPMENT STUDIO. I am getting the Error REMOTE VM NOT CONNECTED.
    If I am getting any tips to solve the error in DEBUG
    I can proceed further.
    Thanks in Advance.
    Regards,
    Ram

    Hi,
    did you follow the Debugging J2EE Applications tutorial located at http://help.sap.com/saphelp_nw04/helpdata/en/66/547f09281d464b951c9a3a6b06a12d/frameset.htm ? It tells you how to run your server node in debug node and debug the application from the developer studio.
    Message was edited by: Ivaylo Ivanov

  • Customer Exit var (basedOn 0P_KEYDT) ABAP error - Going into Debug mode

    Hello All,
    I have created a BEX Query based on Infoset, so i couldnt use '0P_KEYDT' SAP Exit in a variable.
    Instead i created a Z 'Customer exit' with the same code.
    But when i execute query in RSRT, query is going into Debug mode.
    InfoProviders are all active, when i remove the Z 'Customer Exit' from the query then query is running fine. So i see that the problem is with the Z 'Customer exit' code.
    Here is the 0P_KEYDT code:
    FUNCTION RSVAREXIT_0P_KEYDT.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
    *"     VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"  EXCEPTIONS
    *"      UNKNOWN_VARIABLE
    *"      UNEXPECTED_VARTYPE
    *"      VARIABLE_INITIAL
      DATA:
          LS_RA_SID  TYPE   RSR_S_RANGESID.
      IF I_STEP EQ 0 OR                    " without popup or
         I_STEP EQ 1.                      " before popup
        REFRESH E_T_RANGE.
        CLEAR: LS_RA_SID.
        LS_RA_SID-SIGN = 'I'.
        LS_RA_SID-OPT = 'EQ'.
        LS_RA_SID-LOW = SY-DATUM.
        APPEND LS_RA_SID TO E_T_RANGE.
      ENDIF.
    ENDFUNCTION.
    Here is Z 'Cusotmer Exit Code:  (Defined I-STEP and E_T_RANGE)
    method ZPKEYDT.
      Data: ls_var_range TYPE rrs0_s_var_range,
            l_s_range TYPE rsr_s_rangesid.
      IF  I_STEP EQ 1.                  
    REFRESH e_t_range.
        CLEAR: l_s_range.
        l_s_range-SIGN = 'I'.
        l_s_range-OPT = 'EQ'.
        l_s_range-LOW = sy-datum.
        APPEND l_s_range TO e_t_range.
      ENDIF.
    endmethod. 
    I could really appreciate your help!
    Thanks in advance,
    DC

    Hi DeeCh.
    If you want to populate the value before the variabel screen input.then please follow below code
    case i_vnam.
      when 'ZPKEYDT'.
      if i_step = 1.
        l_s_range-low  = sy-datum..
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
          clear l_s_range.
              endif.
              endcase.
    Regards,
    Nanda.S

  • Forms in debug mode

    Hi,
    I am able to run my forms in run mode. But, when I try to run my application in debug mode, facing problems. FRM-92101 error is thrown.
    Java console shows,
    Loading http://157.227.14.178:8889/forms90/java/f90all_jinit.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    oracle.forms.net.ConnectionException: Forms session <3> aborted: unable to communicate with runtime process.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
    Opening http://157.227.14.178:8889/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.class
    Connecting http://157.227.14.178:8889/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.class with no proxy
    Opening http://157.227.14.178:8889/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties
    Connecting http://157.227.14.178:8889/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties with no proxy
    Any idea?
    Pl help
    Priya

    Nobody has any suggestions or comments???
    Can anyone confirm they have the same issue when running the sample code I provided below?
    Can anyone see the contents of a VARCHAR2 index based array when debugging??
    Thanks

Maybe you are looking for

  • My ipod nano does not appear on my computer no matter what i do

    Iv tried for 6 months to get my computer to recognize my ipod nano.iv downloaded itunes 7.3, my ipod is fully charged, all my usb ports are updated and in device manager its as if nothing has been plugged in. Iv tried putting my ipod in disc mode and

  • Draw a Horizontal target line on bar chart

    I am trying to reach out to crystal report gurus for the following problem, I am relatively new with crystal reports and would really appreciate if you could provide a solution or point me in the rite direction. I am working on a project which requir

  • Groups and tags

    Hello! Is there anyone out there that has tried to make indesign float?! I hade a great ide of adding groups to a textframe as anchored objects. That way every group object will float whitin the textframe. Everything works great until a start adding

  • How to embed the pdf in custom transaction itself

    Hi Masters,            By my custom program i am showing the form in pdf format . I am saving this pdf in local drive and i am opening that pdf in seperate screen.             My question is how to embed the pdf file within the transaction rather tha

  • Help with pages! It disappeared!

    Please, I need help. About an hour ago I was using pages on my iPad 2 and it asked me to upgrade to the latest version. I did so, but I got a message saying upgrading could not be completed. I kept on working on the document and then it froze and I c