How to debug this?

Under Flash Player 10.1 on Windows, we suddenly receive an error that is not musician 9 or 10 and does not appear in any version of player on Mac.  The biggest problem is that the battery of any error is within the Flash framework, initiated by a callLaterDispatcher.  Flash complains that an index is out of bounds, but zero tells about what the parent or the child is, or what the index number is happened.

I have all the bug given up trying to find the source of the problem in our code that runs for several lines, covering half a dozen classes created internally.  I see a "hook" (C:\autobuild\3.2.0\frameworks\...), but he can't even see this folder on my system? (Yes, I put "display invisible ' for my file system - it is Windoze XP, for what it's worth).

Any suggestions on how to detect a problem like this?

RangeError: Error #2006: the supplied index is out of range.
at flash.display::DisplayObjectContainer/getChildAt()
at mx.core::Container/getChildAt() [C:\autobuild\3.2.0\frameworks\project s\framework\src\mx\core\Container.as:2334]
to fl.managers::FocusManager/addFocusables()
to fl.managers::FocusManager/addFocusables()
to fl.managers::FocusManager/addFocusables()
to fl.managers::FocusManager/addFocusables()
to fl.managers::FocusManager/addFocusables()
to fl.managers::FocusManager/activate()
to fl.managers::FocusManager()
to fl.core::UIComponent/createFocusManager()
to fl.core::UIComponent/initializeFocusManager()
to fl.core::UIComponent/addedHandler()
at flash.display::DisplayObjectContainer/addChild()
to mx.core::Container / http://www.Adobe.com/2006/Flex/MX/internal:createContentPane ([C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Contai ner.as:4665])
at mx.core::Container/createOrDestroyScrollbars() [C:\autobuild\3.2.0\fra meworks\projects\framework\src\mx\core\Container.as:4410]
at mx.core::Container/createScrollbarsIfNeeded() [C:\autobuild\3.2.0\fram eworks\projects\framework\src\mx\core\Container.as:4359]
at mx.core::Container/createContentPaneAndScrollbarsIfNeeded() [C:\autobu ild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:4175]
at mx.core::Container/validateDisplayList() [C:\autobuild\3.2.0\framework s\projects\framework\src\mx\core\Container.as:2691]
at mx.managers::LayoutManager/validateDisplayList() [C:\autobuild\3.2.0\f rameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at mx.managers::LayoutManager/doPhasedInstantiation() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\LayoutManager.as:695]
service / http://adobe.com/AS3/2006/builtin: applies ()
at mx.core::UIComponent/callLaterDispatcher2() [C:\autobuild\3.2.0\framew orks\projects\framework\src\mx\core\UIComponent.as:8628]
at mx.core::UIComponent/callLaterDispatcher() [C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\core\UIComponent.as:8568]

FlexBuilder uses component fl.. , unless someone has placed them in the

lib-path.

Check the exception is the same and a FL. in the call stack?

Check the debugger only got SWF loaded console?

If you have done both, then another link-report and post it.

Tags: Flex

Similar Questions

  • Weird bug in my animation, occurs during playback in the Chrome browser? How to debug this?

    Hey all,.

    I have an animation / swf file, I created in flash, when I export the swf and test it in flash is very good.
    And when I run the Web page that contains the swf file in the browser Google Chrome, I get as a white box that appears on the screen for a few seconds on the first loop of the animation, and then he goes and I can't workout, why he is doing this in Chrome, all other browsers show the animation behave as it should

    I put this animation in my Web page using a method like

    < script type = "text/javascript" >

    AC_FL_RunContent)

                                  'codebase', ' https://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=6, 0,0,0 ',

    'width', '683'.

    'height', '161',

    "src', ' images/hand."

    'quality', 'high ',.

                                  'pluginspage', ' https://www.Macromedia.com/go/getflashplayer ',

    "align", "middle",

    'play', 'true ',.

    'loop', 'true ',.

    "scale", "showall"

    "wmode", "transparent."

    "devicefont", "false."

    "id', 'hand."

    "name", images/hand"."

    "menu", "false."

    "allowScriptAccess", "sameDomain",.

    "film', ' images/hand."

    "salign", "

    ); end AC code

    < /script >

    < noscript >

    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase =" " http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="683"height ="161"> "

    < param name = "movie" value = "images/main.swf" >

    < param name = "wmode" value = "transparent" >

    < param name = "quality" value = "high" wmode = "transparent" >

    < embed src = "images/final_main.swf" quality = "high" pluginspage =" " http://www.Macromedia.com/go/getflashplayer "type =" application/x-shockwave-flash"width ="683"height ="161"> < / embed > "

    < / object >

    < / noscript >

    This is probably a method obsolete? This file was created in 2006.

    This is then test the file in flash or appear in any of the other browsers like ie, ff, safari etc and behaves as it should. Why Chrome do this for me?

    I tried the debug file and going through the layers, but I don't see why this box would come up during a few seconds on the first loop.

    Any help would be great

    Have you tried to update the HTML Wrapper with a technique contemporary flashembedding?

  • How to debug the error 'tosrfusb.sys '.

    I was reading a pdf document, and all of a sudden a blue screen with the error message saying: "physical memory is discarded" appears.
    and at the top of the screen, it says: "DRIVER_IRQL_NOT_LESS_OR_EQUAL".

    Can anyone help me on how to debug this issue. the message continues to come all day for 2 days.

    Thank you

    Hello

    According to the Microsoft document, this problem can occur when the driver verifier is enabled and a driver has used an incorrect address.
    http://support.Microsoft.com/kb/293077/en-us/

    I also studied in the net and the defective RAM module was generally responsible for this blue screen message.
    If you use two modules try to remove one and test the memory.

  • How to install this update and resolve problems of USB and the touchpad?

    I Equium M50 (59th) and am bitten by an update that pulled my touchpad and keyboard. I did the new installation of XP Home and have all updated drivers and everything goes well. The last update, what I can't understand is for
    Ana _2005_10_24_V1.2 driver is for, Standard Open HCD USB Host Controller... X 2 .........

    The update addresses all kinds of questions like I'm having and is an update recommended driver detective, I use offten.

    The problem is that it says uninstall the drivers for the i have installed already and when I do it it hits off my USB mouse me leaving no able to install the new. When I reboot it installs those I don't want not reinstalled.

    This is the read me, off the coast of the new update and really I don't understand to underdstand what to do... .so here it is?
    Driver revision history:
    Twinhan VP704A Driver Release Notes
    -------------------------------------------------------------------------------
    Note:
    1. in the event that the system hangs when running with VP704A, please install ULI
    Host USB 2.0 in \ULiUSB20Driver driver

    2. for XP/SP1, please update with the patch in

    3. in XP/SP1, update driver will crash the system, while the new facility is ok.
    The trick to update driver XP/SP1 is illustrated in the following steps,
    a. uninstall the driver
    b. disconnect and reconnect the USB device
    c. install the driver
    4 to support the controller remotely, please launch Agent.exe in \Agent.
    Further details at \Agent\Readme.txt

    Known issues:
    1 multi-instance is not supported
    2 remote wakeup is not supported
    3. strong use of the processor from analog video/audio capture
    4. bad Signal using color YUY2 format IST
    5 AV sync if audio captured the wrong filter.
    (Difficulty: use the filter "USB Audio Device" in the flow WDM capture device)
    6. noise with analog TV and FM Radio
    (Difficulty: use the filter "USB Audio Device" in the flow WDM capture device)

    Driver revision history:
    -------------------------------------------------------------------------------
    2005-10-24, version: 1.0.2.8
    Bugs fixed and new features:
    1 is not correctly configured.
    -------------------------------------------------------------------------------
    2005-10-21, version: 1.0.2.7
    Bugs fixed and new features:
    1. the firmware version read FLASH OK!
    -------------------------------------------------------------------------------
    2005-10-14, version: 1.0.2.6
    Bugs fixed and new features:
    1.MUtil - access driver empty part lower part of screen when IST!
    2.MUtil - access HCT pilot check fix crash!
    -------------------------------------------------------------------------------
    2005-10-07, version: 1.0.2.5
    Bugs fixed and new features:
    1 tuner turns off when S-Video, Composite.
    -------------------------------------------------------------------------------
    30/09/2005, version: 1.0.2.4
    Bugs fixed and new features:
    1.agent.exe update for repeat bug!
    2.TI5150 sign up to fix video Format!
    -------------------------------------------------------------------------------
    2005-09-29, version: 1.0.2.3
    Bugs fixed and new features:
    1.A pilot of the trial build for multiple access medium. (in the folder "\Multi-Access")
    Note: The filter 'Audio device USB' provided by the system does not support mutil-access.
    2 reset TI5150 when a new frequency is defined
    -------------------------------------------------------------------------------
    2005-09-27, version: 1.0.2.2
    Bugs fixed and new features:
    1. difficulty I2C unstable access on some devices.
    -------------------------------------------------------------------------------
    2005-09-23, version: 1.0.2.1
    Bugs fixed and new features:
    1. analog TV becomes sometimes darker.
    -------------------------------------------------------------------------------
    15/09/2005, version: 1.0.2.0
    Bugs fixed and new features:
    1. difficulty of installation INF for Windows 2000.
    2 FM scan radio policy changed!
    -------------------------------------------------------------------------------
    13/09/2005, version: 1.0.1.9
    Bugs fixed and new features:
    1 USB string serial number not visible with USBView, updated firmware required.
    2. political analysis of FM radio, return of release if PLLOffset > = 9 x 12. 5 kHz
    -------------------------------------------------------------------------------
    13/09/2005, version: 1.0.1.8
    Bugs fixed and new features:
    1. after the passage between AV/D/A several times, video display becomes dark in THDTV 2.61
    -------------------------------------------------------------------------------
    12/09/2005, version: 1.0.1.7
    Bugs fixed and new features:
    1. improve the performance of check channel lock status
    2 pinnacle INF Fix.
    -------------------------------------------------------------------------------
    2005-09-09, version: 1.0.1.6
    Bugs fixed and new features:
    1. Add an audio initialization function.
    -------------------------------------------------------------------------------
    2005-08-31, version: 1.0.1.5
    Bugs fixed and new features:
    1 separation of PAL and NTSC resolution mode.
    -------------------------------------------------------------------------------
    2005-08-30, version: 1.0.1.4
    Bugs fixed and new features:
    1.AvgTimePerFrame.
    2 frame drop.
    3 pinnacle inf file HCT chkinf fail.
    -------------------------------------------------------------------------------
    2005-08-22, version: version 1.0.1.3
    Bugs fixed and new features:
    1. add remote control interface in digital source filter.
    2.A new remote test tool that contains of the source code in \Test_RC.
    -------------------------------------------------------------------------------
    2005-08-16, version: 1.0.1.2
    Bugs fixed and new features:
    1. Pinnacel & Twinhan driver & file reorg.
    2.VP704A_BDA_Test tool, add a test to the system code.
    3. set the standard infrared protocol of "IRSTANDARD", "IRSYSCODECHECK1" registry keys in the INF file.
    4 firmware update
    -------------------------------------------------------------------------------
    2005-08-15, version: 1.0.1.1
    Bugs fixed and new features:
    1 serial number feature is lost when the audio volume of the TV control
    2.RC6A support CIR
    (This firmware uses GPIO3 (M9207 pin 80) to decode the RC6 Protocol.
    The material must be reworked to connect the M9207 80 pin to the CIR module and the actual
    EEPROM must be flashed with \Firmware\M9207.bin)
    3 Serieal, MAC address and name of device OEM taken in charge.
    Please see for more details on the \Firmware\readme.txt.
    4 Ioclt example source code included.
    -------------------------------------------------------------------------------
    08/08/2005, version: 1.0.0.10
    Bugs fixed and new features:
    1. increase audio volume analog TV.
    -------------------------------------------------------------------------------
    04/08/2005, version: 1.0.0.9
    Bugs fixed and new features:
    1. analog TV Video mode failed.
    -------------------------------------------------------------------------------
    2005-08-03, version: 1.0.0.8
    Bugs fixed and new features:
    1.off - centerf frequency scan + / 125Khz
    2 difficulty program a copy scanned in MCE.
    -------------------------------------------------------------------------------
    02/08/2005, version: 1.0.0.7
    Bugs fixed and new features:
    1.THBDAConsole.exe 'ulFixedBW', 'ulDisableOffFreqScan', 'ulMCEFreqTranslate' bug
    -------------------------------------------------------------------------------
    2005-07-28, version: 1.0.0.6
    Bugs fixed and new features:
    1.THBDAConsole.exe 'ulFixedBW', 'ulDisableOffFreqScan', 'ulMCEFreqTranslate' support
    2. improve the stability of I2C communication.
    3 unify signaling resistance & quality as a THBda ioctl interface.
    4 capture filter lock state control.
    -------------------------------------------------------------------------------
    2005-07-28, version: 1.0.0.5
    Bugs fixed and new features:
    1. the same strength & quality signals as VP7046.
    2 debug build pilot
    -------------------------------------------------------------------------------
    2005-07-21, version: 1.0.0.4
    Bugs fixed and new features:
    1. put the INF update.
    -------------------------------------------------------------------------------
    2005-07-20, version: 1.0.0.3
    Bugs fixed and new features:
    1 improve performance in PCM4
    2 passage of the analog TV Mode to FM Mode failure
    -------------------------------------------------------------------------------
    2005-07-04, version: 1.0.0.2
    Bugs fixed and new features:
    1. production tool FM test OK!
    --------------------------------------------

    And here is the Readme file from the other file in the update?

    ************************************************** ************************************************
    ULi PCI to USB Enhanced Host Controller Driver V1.72 for Windows 98 SE, Windows ME, Windows 2000 and Windows XP
    ************************************************** ************************************************

    ----------------
    INTRODUCTION
    ----------------

    This driver supports the host EHCI ULi controller under Windows 98 SE, Windows ME, Windows 2000
    and Windows XP.

    -------------------------
    CONTENTS OF THIS DOCUMENT
    -------------------------

    1. installation instructions
    2. uninstall instructions

    ----------------------------
    1. installation instructions
    ----------------------------

    (Windows 98SE & Windows ME)
    ULi USB 2.0 Controller has strapped on the system
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver files in your Windows system, and then restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller"and install the driver.

    B.If any ULi USB 2.0 on the system controller
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver files to your Windows system, then turn off your computer.
    -Fix the ULi USB 2.0 computer controller card and restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller"and install the driver.

    (Windows 2000)
    ULi USB 2.0 Controller has strapped on the system
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will install and load the driver and you do not have to restart the
    computer.
    B.If any ULi USB 2.0 on the system controller
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver in your Windows system files, before turning itself off
    your computer.
    -Fix the ULi USB 2.0 computer controller card and restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller"and install the driver.

    (Windows XP)
    ULi USB 2.0 Controller has strapped on the system
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -Click "NEXT".
    -This program will install and load the driver and you do not have to restart the
    computer.
    -Once install the driver ULi USB 2.0 successfully. System will detect "USB 2.0 Root '.
    Hub. " Please select "Install the software automatically (recommended)" and then
    Click 'Next' to continue the installation.
    -This program will install and load the driver and you do not have to restart the
    computer.
    B.If any ULi USB 2.0 on the system controller
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver in your Windows system files, before turning itself off
    your computer.
    -Fix the ULi USB 2.0 computer controller card and restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller', proceed with the installation.
    -Once install the driver ULi USB 2.0 successfully. System will detect "USB 2.0 Root '.
    Hub. " Please select "Install the software automatically (recommended)" and then
    Click 'Next' to continue the installation.

    Notice:
    If you can not configure driver successfully. Please restart your system, then follow
    steps to reinstall driver above.

    ------------------------------
    2. uninstall instructions
    ------------------------------

    1. open the "Control Panel" folder.
    2 call the "Add/Remove Programs" icon
    3 choose the "ULi USB2.0 Driver" section.
    4. click on the "add/delete" button to remove drivers.

    -----------------------------------
    Change list:
    -----------------------------------
    1.74
    1 fix this multi-interface keyboard may not be detected on the USB 2.0 hub.
    2. support all USB2.0 Host Controller.
    1.73
    1 problem on Win98SE, blue screen when you unplug a USB 2.0 Scanner after scanning image.
    2 solve problem on Win98SE, blue screen when you unplug a few Scanner USB 2.0 USB 2.0 Hub after scanning image.
    3 fix on Win98SE, blue screen when copying of files through the hub of UH-204 SUNBOX.
    4 solve problem as wirless lan will disconect when the plug in usb device.

    1.72
    1 fix that system crash when HD USB copy large files.

    1.71
    1. improve the management of power in Win98 / Me.

    1.70
    1. improve the devcie detection function.

    1.62
    1 solve the problem that can not operate a USB HUB USB 2.0 disk when the system resume inactive.

    1.61
    1 solve the problem that some device under USB 2.0 HUB is not found if resumes suspension system.

    1.60
    1. in support of functions power management when a HUB with the USB plug in device
    a root HUB.

    1.57
    1. Fix USB with USB 2.0 HUB floppy cannot detect problem.
    2. fix audio problem that can not display smooth when peripheral USB connect to the system.
    3. fix system cannot detect DVICE USB when the USB device attached to the system in
    suspend mode.
    4 fix when root USB HUB have a full load, USB HD sometimes
    failure of the transaction.

    1.56
    1 fix that device of DVD decoder cannot display correctly.

    1.55
    1. fix OTI USB 2.0 drive hand cannot detect question.
    2. attach the USB mouse cannot be used after the resumption of hanging.

    1.54
    1. to improve the safety of the driver.

    1.53
    1. transfer bulk fix may stop if the USB device is connected to the USB 2.0 hub
    2 difficulty USB 2.0 mass storage device cannot access after the release of the standby mode if there is an another USB 1.1 existing device

    1.52
    1 correct fault of system pages when accessing the storage of mass Win98SE or scandisk device failure when selecting
    automatically fix file system errors
    2. fix system may hang on in Win98SE / ME if USB 2.0 cardbus card is plugged

    v.1.51
    1. to improve the compatibility of USB 2.0 card reader.
    2. fix USB IDE devices are not accessible after the release of the standby/hibernation mode.

    v1.50
    1. improve the transfer block

    v1.48
    1. difficulty of installation of the USB 2.0 LAN driver hangs up
    2. attach a USB 1.1 card reader cannot be identified when plugged into the USB 2.0 hub
    3. fix some laptops starting hanging Win98SE

    v1.47
    1. improve the performance of bulk transfer.
    2. fix the failure of USB 2.0 Preview in bulk webcam.

    v1.46
    1. support USB 2.0 and 1.1 devices isochronous
    2. fix system hang up when restarting system if the USB 2.0 host controller is disabled in Win9X / ME
    3. fix system hang up when you uninstall the driver if there is USB 2.0 connected under Win2K/XP devices
    4. improve the capacity of the device detection in Win9X / ME

    v1.45
    1. fix system hang up when the mode standby ACPI.
    2. attach the mouse sometimes does not disappear when it is unplugged.
    3. fix the failure of detection of composite devices Win9X and improve device composite Win2K/XP

    v1.44
    1. composite crutch
    2 improve the detection of devices

    v1.43
    1 improve the failure rate of transfer IDE read/write with USB 2.0 to IDE bridge on the platform of PC card
    2 difficulty at high peripheral speed detected as full-speed device
    3. fix some problem of failure detection USB mouses
    4. fix some problem USB 2.0 Hub failure detection
    5 difficulty Win98SE crashing if ULi EHCI 1.42 is installed

    v1.42
    1. fix PC Card eject hang up in Win98 / ME
    2 difficulty of interruption/resumption hang up in Win98
    3 sometimes solve USB 1.1 device cannot be detected if OS starts with USB 2.0 and 1.1 devices plugged
    4. fix some failure detection of PC Card USB 1.1 devices

    v1.41
    1. Add new feature that system can install the driver ahead of the device is plugged in.
    2. fix PCMCIA OHCI controller resources affect problem on Windos ME.

    v1.40
    1. support Win9X/ME / 2 K/XP with ULi USB 2.0 driver.
    2 fix PCMCIA EHCI controller detection device USB 2.0 problem in Win9X / me.

    v1.32
    1. Fix problem that pilot cannot detect the Microsoft driver in Windows XP
    If the path of the OS is not c:\windows.
    2. Fix problem that pilot cannot detect the USB 2.0 controller device in a system.

    v1.31
    1. Fix problem that driver cannot install on Windows 2000.

    v1.30
    1 fix than Win9X / shows ME no USB 2.0 hub.
    2 solve the problem that hang up when the second entry in Win9X S1 with HID device connected.
    3 Fix problem that sometimes when you click on "search the hardware changes.
    for PNP ULi USB2.0, controller, the system will inform you the usbehci.sys
    file is not found.
    4. Fix problem that v1.20 can't find no EHCI controller to install the driver for after different
    verison of ULi EHCI controllers devices are connected and disconnected.
    5 install the driver support for several features of controller EHCI ULi existing on
    system at the same time.
    6. determine Win2K/XP shows hub USB root for USB 2.0 hub.

    v1.20
    1. support ULi USB 2.0 for Windows 98SE/ME/2000/XP host controller driver.

    ULi Coporation. (ULi) web sites:
    http://www.Uli.com.tw/ (Taiwan)

    CAN SOMEONE TREAT ME LIKE A CHILD OF TWO YEARS AND GIVE SOME ADVICE AS TO HOW TO OBTAIN THIS UPDATE.

    I'D VERY GRATEFULL AND KIND OF THINK IT would BE BENEFICIAL to a LOT MORE than PEOPLE LIKE I SEE a LOT OF XP AND PROBLEMS OF THE KIND THIS UPDATE IS SUPPOSE to FIX.

    It is said above 2 relevant and 1 right ANSWER available...

    I'm new here, so anyone could direct me to these answers?

  • How to debug an application incident that occurs only within the executable and not developing?

    LabVIEW 2011

    Looking for ideas on how to debug an application that crashes only from within the executable.

    Is there something useful that this error report can be used to, thanks in advance.

    ####
    #Date: Tuesday, August 23, 2011 15:10:18
    #OSName: Windows 7 Enterprise
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: LabDAQ
    #Version: 11.0 32-bit
    #AppKind: AppLib
    #AppModDate: 23/08/2011 18:59 GMT
    Base address of #LabVIEW: 0 x 30000000

    23/08/2011 3:10:48.331 PM
    Crash 0 x 0: Crash taken to DENY
    File Unknown (0): Crash: Crash captured by DENYING
    Minidump ID: a1c0be18-ad05-4b09-b914-afe4a3073daf
    ExceptionCode: 0xC0000005± N
    0x3072C874 - lvrt + 0
    0x3072CC28 - lvrt + 0
    0x7C37FDB4 - MSVCR71 + 0
    0x77330DF7 - ntdll + 0
    0x772F9ED5 - ntdll + 0
    0x00000000 - + 0

    I sprinkle a button Dialogs in any code that I can see to what extent the code gets before it crashes.

  • How to debug an application on BB10 with Studio Android android?

    I installed the plugin android studio and began the proxy of the ADB and have connected the BB10.

    When you run or debug the application in android studio it comes up with the device selection screen.

    How actually debug you the application on the device BB10?

    Edit: I use Windows, Andriod 1.5.1 Java 8 Studios.

    I read that the plugin does not support Java 8.

    Thank you

    There have been changes in Android Studio broke this feature.  We are currently working on an update of our tools to solve this problem.

  • Upgrade breaks app, how to debug?

    Hi all

    I pushed a major update to my app to App World ("Guidants"). It works perfectly well on my Z10 with 10.3.2.2836 and the Simulator here, but all plants valuation gave a 1 star rating and say that after upgrading the application does not start. I have not received all crashes in Crashlytics.

    Is there a way how can I debug this?

    Bravo and thanks,

    Kevin

    For this scenario, you will need to have users to manually uninstall the application before they upgrade.  I recommend that you add this note in the description of the application where you mention new features.  This is the approach of what other developers have taken.  It is the best option available for less than ideal situation.

  • How to debug in a Simulator?

    I try to debug my app in the simulator of rogers-8900 but don't know how to do it. Here's what I do.

    1. construction of my application in 4.2.1 jde and the Uploader in a hyperlink.

    2. download my app in the Simulator mentioned.

    3 attach the debugger 4.6 Simulator as the 8900 Simulator works the 4.6 o/s.

    It's all good. I can see the printing instructions, but I can't break at certain points in the code. I don't know how to do this. Any help will be appreciated here.

    Thanks in advance.

    8900 standard Simulator works 4.6.1.

    Since you are doing this for the 4.6.1 peripheral, then download and install JDE 4.6.1.  Then it runs the 8900 Curve default Simulator and you can save loads of effort in just compile and run then, just like you can do with the 8800 device to the 4.2.1 JDE.

  • Refreshing the page creates a new record – how to avoid this?

    I have a 'submit' button that runs a 'record insertion.

    After insertion is made I branch (back) to this same page.

    The problem is that when I hit page refresh the folder gets reinserted.

    How to avoid this behavior?

    AZZ says:

    fac586,

    Yes. You are right. It was a late semi written post. My apologies. You must stop working after midnight.

    Let me clarify:

    I have a SUBMIT"" button.

    There are the conditional 'after send' (if the key) process.

    the process calls a function that inserts a new record in the table.

    Question:

    How can I avoid running the process on refreshing the page?

    I've simplified the situation - no record insertion. However, if you refresh the page the success of the function call message will be displayed.

    https://Apex.Oracle.com/pls/Apex/f?p=4000:1:126172565551184:no:RP:FB_FLOW_ID, F4000_P1_FLOW:21325, 21325

    user/pass help/help

    workspace - AZ_

    To reproduce:

    Click on the submit - observe green popup "OK!"

    Refresh the page (F5 or ctrl-R) - see 'OK!' again.

    No process is executed to see the page or page refresh. This can be confirmed by looking at track of debugging to see the processing page. The page contains no defined process to run at a show of page processing point; None of the calculations which could call a function that could not perform an insert as a side effect; None of the dynamic actions or calls JS could initiate an insertion using AJAX; Neither the source region contains any code that could do it. I'll draw the line search conditions that can contain deeply buried code which could be responsible and direct you to a previous thread of the same nature: success of process Message not tied to Conditions.

  • WebCenter Capture - how to debug javascript for import processor

    Javascript for import processor code is server-side.  Therefore, it does not println in the java console.

    How to debug a process of import or of javascript recognition process?

    Thank you

    you will use the standard recorder instead of the println function. as you say, that only works for running javascript on the client side.

    See doc-id 1946012.1 for a good example.

    hope this helps,

    -ryan

  • (Interactive report) IR filter does not work, how to debug?

    APEX 4.2.2.00.11

    Firefox 24.5

    I have a complex page, which includes an interactive report.

    For the most part works fine, with the exception of the following:

    Under Actions menu - click Filter results only Firefox show the circle 'Treatment demand' (ajax - loader.gif), that it will never show the details of the filter.

    The action of this button

    JavaScript:gReport.dialog2 ('SHOW_FILTER');

    This page has the same result.

    Some other Actions such as "Select columns" properly.

    Other Actions as "Emphasize" also does not work.

    Other pages with IR work fine with Firefox.

    Given the complexity of the page, I prefer is not to simply rebuild the page from scratch.

    The problematic page works fine in Internet Explorer and Chrome.

    How do I troubleshoot / debug this?

    (Most of the people in our office have no Chrome, so telling them to use Chrome is not an option.)

    Internet Explorer is way slower and has a few other problems).

    I found that a small piece of Javascript on my page there was an error.

    Not directly visible in Firefox, but Internet Explorer gave a message "error on page".

    This javascript was supposed to set a focus on the page, but could not find this object.

    Nothing to do with Action in the IR, but apparently no error on the causes of pages which IR filters do not work anymore...

  • How to debug OSM using breakpoints

    Is there documentation that tells one how to debug by using breakpoints in the sub-process OSM?  I also noticed that in some of the XQuery queries there are references to the oxygen.  Is there documentation on how to use it?  I took all three classes training OSM and this was not described in any of them.

    Hello

    You can actually see "cartridge Guide for Oracle Application Integration Architecture. In that specific reference to sections

    (1) OracleComms_OSM_O2A_ControlMap

    (2) setting breakpoints of cartridge

    For example: when the order is sent if you preface [AIATest.2.0] to the Siebel 1-487639 order number then Decree OSM fulfills tasks SyncCustomer and expected before InitiateBillingSITask is called.

    Siebel order number: 1-487639 [AIATest.2.0]

    Thank you

    Native Jacques

  • How to debug the code for fast formula OTL plsql?

    Hello

    I have trouble understanding the flow of my code PLSQL (function), which is called by a fast formula HRMS.

    I don't know how to debug.

    Can I add lines of hr_utility.trace to the PLSQL? If so, see where you put it?

    Help, please.

    Thank you

    Germain

    Hi, Germain,.

    You can start the trace in the form and complete it in the formula. The handle of the trace will display all messages of the formula and the pl/sql functions that formula calls internally. So, indeed, you should get all the trace messages in your trace file.

    If you want to only draw a pl/sql function, add this in pl/sql code from the point you want to draw, and then add the trace_off at the end-

    hr_utility. TRACE_ON (null, 'VBATTU_TRACE');

    hr_utility.trace ('# START #');

    ..

    ..

    ..

    ..

    hr_utility.trace_off;

    Cheers,

    Vignesh

  • How to debug a form (Oracle Forms 11 G) via the URL module

    How to debug a form (Oracle Forms 11 G) via the URL module.



    My server operating system is Unix. Then, I could not able to do forms of debugged by the form developer.
    It displays a message "cannot find module '. Because the system tries to find the module in the Unix system instead of my local system (Windows).

    I need to debug module my via a URL.
    I can place the fmb and fmx in path of form in the server.

    Please, help me to solve this problem...

    It's a little uncertain. If your goal is to use the form Builder debugger during execution of your form on a Unix machine, this can be done. However, the form must be in working order. So before you try to attach the debugger, you must first be able to start without the debugger. For example:

    http://yourserver:OHS_port_number/forms/frmservlet? form = yourFMX

    Once it works correctly, you can turn on debugging. If your form does not even, using the debugger will not help you because it is designed to solve the problems and not coding configuration problems.

    So, follow these steps to use the debugger:

    http://yourserver:OHS_port_number/forms/frmservlet? form = yourFMX & debug = yes

    This will display a dialog box with information. Do not click OK, but you will need this information to enter in the Forms Designer. Now, open the Forms Designer and click Debug > attach Debug. You will be asked for the information displayed in the dialog box where you tried to start the form. Enter it here (in the constructor), and then click ok in both places. To display the debugger (in Report Builder), click Debug > Debug Console. And then on the toolbar, click the buttons associated with what you want to monitor. Including a breakpoint in your application code is often a more useful way to use the debugger.

    Most of this information is explained in the Forms Builder online help

    I forgot to mention...

    For debug runtime problems, see the deployment of forms here Guide (this implies that you use 11.1.2):

    http://docs.Oracle.com/CD/E38115_01/doc.111210/e24477/appa.htm
    .
    .

    Published by: Michael Ferrante (Oracle) on 21 February 2013 13:45

  • How to debug and find the exact constraint violation error

    {14:22:36:ErrorCode 122712 - 1 with ErrorMessage as ORA-00001: unique constraint (OPS$ CMS.)} {PK_TB_ML_EXER_UPLOAD) violated appeared [SSO16063259009], pk_xop_subsales.pr_process_exer [CMSCOST_USER]}

    {Pr_process_exer (PROCEDURE)
    p_voucher_num tb_xop_order_manager_t.voucher_num%TYPE,
    p_status_type tb_xop_order_manager_t.status_type%type,
    p_dest tb_xop_order_manager_t.dest%type,
    p_reference_key tb_xop_order_manager_t.reference_key%type,
    p_seq_num tb_xop_order_manager_t.seq_num%type,
    p_return_code tb_xop_order_manager_t.return_code%type,
    p_reason_desc tb_xop_order_manager_t.reason_desc%type,
    p_activity_qty tb_xop_order_manager_t.activity_qty%type,
    p_leaves_qty tb_xop_order_manager_t.leaves_qty%type,
    p_exec_price tb_xop_order_manager_t.exec_price%type,
    p_current_status tb_xop_order_manager_t.current_status%type,
    p_err_cur ON ref_cursor)
    IS
    CURSOR get_order_dtls (v_voucher_num tb_xop_order_manager_t.voucher_num%type)
    IS
    SELECT *.
    OF tb_xop_order_manager_t
    WHERE voucher_num = v_voucher_num;

    CURSOR get_mail_cd (v_opt_num OPTIONEE.opt_num%TYPE) IS
    SELECT mail_cd, sp_mail_cd
    OF XOP_OPTIONEE
    WHERE opt_num = v_opt_num;

    cursor get_opt_dtls (v_opt_num OPTIONEE.opt_num%TYPE) IS
    Select
    SUBSTR (Trim (O.name_first) |) ' ' || Trim (O.name_mi) | ' ' ||
    Trim (O.name_last), 1: 35) p_name,.
    SUBSTR (O.address1, 1, 35) opt_addr1,.
    SUBSTR (O.address2, 1, 35) opt_addr2,.
    SUBSTR (O.address3, 1, 35) opt_addr3,.
    SUBSTR (O.address4, 1, 35) opt_addr4,.
    SUBSTR (O.address5, 1, 35) opt_addr5,.
    SUBSTR (O.address6, 1, 35) opt_addr6,.
    SUBSTR (Trim (O.City) |) ' ' || Trim (O.State) | ' ' ||
    Trim (O.zip) | ' ' || Trim (O.Country), 1: 35) city_state_zip_country,.
    Trim town (O.City),
    Trim (O.State) State,
    Trim (O.zip) zip,
    Trim (O.Country) countries
    of the option o holder
    where o.opt_num = v_opt_num;
    -CQ: PCTUP00210726 - added wire instructions audit for info thread deleted.
    CURSOR (c_wire_instruction)
    in_wire_seq_no TB_XOP_WIRE_INSTRUCTIONS.wire_seq_no%TYPE) IS
    SELECT ml_brok_acct_num,
    SSN,
    plan_num,
    instr_type,
    aba_routing_num,
    swift_routing_code,
    bank_name,
    bank_acct_num,
    name_on_account,
    bank_addr_1,
    bank_addr_2,
    bank_addr_3,
    City,
    State,
    countries,
    zip,
    bank_ident_num,
    addtl_info
    OF TB_XOP_WIRE_INSTRUCTIONS
    WHERE wire_seq_no = in_wire_seq_no
    UNION
    SELECT ml_brok_acct_num,
    SSN,
    plan_num,
    instr_type,
    aba_routing_num,
    swift_routing_code,
    bank_name,
    bank_acct_num,
    name_on_account,
    bank_addr_1,
    bank_addr_2,
    bank_addr_3,
    City,
    State,
    countries,
    zip,
    bank_ident_num,
    addtl_info
    OF TB_XOP_WIRE_INSTRUCTIONS_AUDIT
    WHERE wire_seq_no = in_wire_seq_no;

    CURSOR c_order_qty IS
    SELECT order_qty
    OF tb_xop_order_manager
    WHERE voucher_num = p_voucher_num;
    v_order_qty tb_xop_order_manager.order_qty%TYPE;

    v_wire_instruction c_wire_instruction % ROWTYPE;
    v_order_dtls get_order_dtls % rowtype;
    v_opt_dtls get_opt_dtls % rowtype;
    v_settle_dt tb_ml_exer_upload.settle_dt%type;
    v_cusip_num corp.cusip_num%type;
    number of v_err_cd (12): = 0;
    v_err_msg varchar2 (4000);
    v_compy_nme tb_fc_Compy.compy_nme%type;
    v_ml_sec_num tb_fc_compy.ml_sec_num%type;
    v_mail_cd xop_optionee.mail_cd%type;
    v_count1 PLS_INTEGER: = 0;
    v_sum_activity_qty tb_xop_order_manager_t.activity_qty%TYPE;
    v_transact_no PLS_INTEGER;

    v_ivr_plan_num tb_fc_compy.ivr_plan_num%TYPE;

    wait_for_more EXCEPTION;
    exceeds_order_qty EXCEPTION;
    -Added CQ # PCTUP00481233
    number of v_sub_totfee;
    number of v_sub_fixedfee1;
    number of v_sub_fixedfee2;
    number of v_sub_fixedfee3;
    number of v_sub_secfee;
    number of v_sub_feenum;
    -Added CQ # PCTUP00481233
    v_fixedfee1 tb_xop_order_manager_t.fixed_fee1%TYPE; -SPIF # 43161 - variable to contain the fixed mensuels1

    BEGIN

    OPEN c_order_qty.
    SEEK c_order_qty INTO v_order_qty;
    CLOSE C_order_qty;
    DBMS.output.put_line ('completed1');
    IF v_order_qty <>p_activity_qty THEN
    DBMS.output.put_line ('completed2');
    IF p_status_type = "EO" AND v_order_qty < p_activity_qty THEN
    RAISE exceeds_order_qty;
    DBMS.output.put_line ('completed3');
    ELSIF p_status_type = 'EO' AND v_order_qty > p_activity_qty THEN
    -Partial enforcement
    INSERT INTO tb_xop_hold_multi_orders
    (voucher_num
    reference_key
    seq_num
    return_code
    reason_desc
    status_type
    activity_qty
    leaves_qty
    exec_price
    current_status
    waiting
    activ_dt)
    VALUES
    (p_voucher_num
    p_reference_key
    p_seq_num
    p_return_code
    p_reason_desc
    p_status_type
    p_activity_qty
    p_leaves_qty
    p_exec_price
    p_current_status
    , 'Y'
    SYSTIMESTAMP);
    DBMS.output.put_line ('completed4');
    ON THE OTHER
    IF p_status_type = "BE" THEN
    SELECT COUNT (1) IN v_count1
    OF tb_xop_hold_multi_orders
    WHERE voucher_num = p_voucher_num;
    DBMS.output.put_line ('completed5');
    IF v_count1 > 0 THEN
    INSERT INTO tb_xop_hold_multi_orders
    (voucher_num
    reference_key
    seq_num
    return_code
    reason_desc
    status_type
    activity_qty
    leaves_qty
    exec_price
    current_status
    waiting
    activ_dt)
    VALUES
    (p_voucher_num
    p_reference_key
    p_seq_num
    p_return_code
    p_reason_desc
    p_status_type
    , (-1) * p_activity_qty
    p_leaves_qty
    p_exec_price
    p_current_status
    , 'Y'
    SYSTIMESTAMP);
    UPDATE tb_xop_hold_multi_orders
    QUEUE = 'Y '.
    WHERE voucher_num = p_voucher_num;
    DBMS.output.put_line ('completed6');
    END IF;
    END IF;
    END IF;
    DBMS.output.put_line ('completed7');
    SELECT SUM (NVL(activity_qty,0)) IN the v_sum_activity_qty
    OF tb_xop_hold_multi_orders
    When pending = 'Y '.
    AND voucher_num = p_voucher_num;

    IF v_sum_activity_qty > 0 THEN
    IF v_sum_activity_qty <>v_order_qty THEN
    RAISE wait_for_more;
    ON THE OTHER
    -final order in the case of partial performance; complete the process
    UPDATE tb_xop_hold_multi_orders
    PUT on hold = ' don't
    process_dt = SYSDATE
    WHERE voucher_num = p_voucher_num;
    END IF;
    END IF;
    END IF;

    UPDATE tb_xop_order_manager_t
    SET activ_dt = TO_CHAR (SYSDATE, "YYYY-MM-DD HH24:MI:SS") | '. 000'
    dest = p_dest
    reference_key = p_reference_key,
    seq_num = p_seq_num
    return_code = p_return_code
    reason_desc = p_reason_desc,
    status_type = p_status_type
    , activity_qty = v_order_qty - p_activity_qty
    , leaves_qty = 0 - p_leaves_qty
    exec_price = p_exec_price,
    WHERE voucher_num = p_voucher_num;
    DBMS.output.put_line ('completed8');
    /*
    * SPIF # 43161 - update of the current situation to the PO moved to the end, even in works of the PROD.
    */

    IF (p_status_type = "EO") THEN

    BEGIN
    Select cusip_num
    in v_cusip_num
    Corp;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    SELECT cusip_num
    IN v_cusip_num
    OF tb_xop_espp_compy
    WHERE compy_acronym = replace (replace(user,'CMS'), '_USER');
    WHILE OTHERS THEN
    NULL;
    END;

    Select compy_nme, ml_sec_num, ivr_plan_num
    in v_compy_nme, v_ml_sec_num, v_ivr_plan_num
    of tb_fc_compy
    where compy_acronym = replace (replace(user,'CMS'), '_USER')
    UNION ALL
    Select compy_nme, je_ml_security_number, ivr_plan_num
    of tb_xop_espp_compy
    where compy_acronym = replace (replace(user,'CMS'), '_USER');
    -where ivr_plan_num = replace (substr(p_voucher_num,1,7), 'NORTH', 'XOP');

    Open get_order_dtls (p_voucher_num);
    SEEK get_order_dtls INTO v_order_dtls;

    v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_order_dtls.exer_date + 1));
    v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
    v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));

    FOR c_mail_cd IN get_mail_cd (v_order_dtls.opt_num)
    LOOP
    v_mail_cd: = c_mail_cd.mail_cd;
    -We need get sp_mail_cd and overlay with the sp_mail_cd in order_manager_t?
    END LOOP;

    OPEN get_opt_dtls (v_order_dtls.opt_num);
    SEEK get_opt_dtls INTO v_opt_dtls;
    CLOSE Get_opt_dtls;

    v_fixedfee1: = nvl (v_order_dtls.fixed_fee1, 0);
    /*
    * SPIF # 43161 - at least one transaction per day fees
    */
    v_fixedfee1: = pk_xop_enh_exerupdate.chrg_tranxfixed_fee (v_fixedfee1,
    v_order_dtls. Symbol,
    v_order_dtls.corp_acronym,
    v_order_dtls.opt_num);
    -Insert in tb_ml_exer_upload
    -Added CQ # PCTUP00481233
    Pk_Xop_Transactmodel.GET_FEE (v_order_dtls. GROUP_ID, v_order_dtls. SVC_ID, 'SQ', v_order_dtls.opts_exer,
    round (v_order_dtls.exec_price, 4), v_sub_totfee, v_sub_fixedfee2, v_sub_fixedfee1,.
    v_sub_fixedfee3, v_sub_secfee, v_sub_feenum, LPAD (v_order_dtls. SSN, 9, 0));
    v_order_dtls.sec_fee: = v_sub_secfee;
    UPDATE tb_xop_order_manager_t
    SET sec_fee = v_sub_secfee
    WHERE voucher_num = p_voucher_num;

    DBMS.output.put_line ('completed8');
    -End CQ # PCTUP00481233
    INSERT INTO tb_ml_exer_upload
    (exer_num, exer_seq,
    exer_dt, written_flag, backout_flag, output_line,
    je_flag, opts_exer,
    tot_tax, shrs_sold, comm_value, tot_fee,
    mkt_prc, exer_type, soc_sec,
    name_first, name_mi,
    name_last, check_addr_1, check_addr_2, check_addr_3,
    check_addr_4, check_addr_5, city, state, zip, country,.
    city_state_zip_country,
    p_name, opt_addr1, opt_addr2, opt_addr3, opt_addr4,
    opt_addr5, opt_addr6,
    settle_dt, send_to_citibank_flag,
    dom_chek_distr, foreign_currency_code,
    distribution_method, wire_seq_no,
    cusip_num, ml_retail_account, multi_curr_handling_fee,
    ml_sec_num, corp_name, upd_optionee_addr,
    outbound_flag,-there are N
    corp_symbol, taxwire_approve,-not make applicaplabe
    exersource,
    mail_cd, sp_mail_cd,
    backup_withholding,
    user_id,
    acct_num_othr)
    VALUES (v_order_dtls.exer_num, 0, v_order_dtls.exer_date, 'No', not, NULL,)
    -Would be PG 12/12/05 Changed to fill the resulting je_flag of dom_chek_distr',.
    -PG 16/12/05 I should not be generated for international controls... If 'Y' always
    'Y',-je_flag
    v_order_dtls.opts_exer, 0,-total tax will be 0.
    v_order_dtls.opts_exer, shrs_sold,
    v_order_dtls.comm_value,
    -SPIF # 43161 - replaced nvl (v_order_dtls.fixed_fee1, 0), with v_fixedfee1
    v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), - v_order_dtls.fees_amt,
    round (v_order_dtls.exec_price, 4), v_order_dtls.exer_type.
    LPAD (v_order_dtls. SSN, 9, '0'),-v_order_dtls.ssn, modified by Suresh on 08/02/07 for SPIF # 37210
    v_order_dtls.name_first, v_order_dtls.name_mi, v_order_dtls.name_last,
    v_order_dtls.check_addr_1, v_order_dtls.check_addr_2, v_order_dtls.check_addr_3,
    v_order_dtls.check_addr_4, v_order_dtls.check_addr_5, NVL (v_order_dtls. City, v_opt_dtls. (City),
    NVL (v_order_dtls. State, v_opt_dtls. State), NVL (v_order_dtls.zip, v_opt_dtls.zip).
    NVL (v_order_dtls. Country, v_opt_dtls. (Country),
    SUBSTR (nvl (v_order_dtls.city | v_order_dtls.)) State | v_order_dtls.zip | v_order_dtls. Country,
    v_opt_dtls.city_state_zip_country), 1: 34),-COLUMN LENGTH MAX IS 35
    v_opt_dtls.p_name, v_opt_dtls.opt_addr1, v_opt_dtls.opt_addr2, v_opt_dtls.opt_addr3,
    v_opt_dtls.opt_addr4, v_opt_dtls.opt_addr5, v_opt_dtls.opt_addr6,
    v_settle_dt, Decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
    v_order_dtls.dom_chek_distr, v_order_dtls.foreign_currency_code,
    v_order_dtls.distribution_method, v_order_dtls.wire_seq_no,
    v_cusip_num, v_order_dtls.acct_num, v_order_dtls.multi_curr_handling_fee,
    -nvl (fn_get_sec_num (replace (substr (p_voucher_num, 1, 7), 'NORTH', 'XOP'), v_order_dtls.symbol), v_ml_sec_num).
    NVL (fn_get_sec_num (v_ivr_plan_num, v_order_dtls.symbol), v_ml_sec_num).
    v_compy_nme, v_order_dtls.upd_optionee_addr,
    'N'-' is for outgoing flag.
    v_order_dtls. Symbol, 'd', --a ' for disabled taxwires
    The of ', - the of ' source being a subsequent sale.
    v_mail_cd, need to get mail_Cd?
    v_order_dtls.sp_mail_cd, v_order_dtls.backup_withholding,
    (User, v_order_dtls.acct_num_othr);

    IF (NVL(v_order_dtls.wire_seq_no,0) > 0) THEN

    OPEN c_wire_instruction (v_order_dtls.wire_seq_no);
    SEEK c_wire_instruction INTO v_wire_instruction;
    CLOSE C_wire_instruction;

    INSERT INTO TB_XOP_TRANSACT_WIRE_INSTR
    (user_id, exer_num, wire_seq_no, ml_brok_acct_num, ssn,
    plan_num, instr_type, aba_routing_num,
    swift_routing_code, bank_name, bank_acct_num,
    name_on_account, bank_addr_1, bank_addr_2, bank_addr_3,
    City, State, country, zip, bank_ident_num, addtl_info)
    VALUES
    (USER, v_order_dtls.exer_num, v_order_dtls.wire_seq_no,
    v_wire_instruction.ml_brok_acct_num, v_wire_instruction.ssn,
    v_wire_instruction.plan_num, v_wire_instruction.instr_type, v_wire_instruction.aba_routing_num,
    v_wire_instruction.swift_routing_code, v_wire_instruction.bank_name, v_wire_instruction.bank_acct_num,
    v_wire_instruction.name_on_account, v_wire_instruction.bank_addr_1, v_wire_instruction.bank_addr_2,
    v_wire_instruction.bank_addr_3, v_wire_instruction.city, v_wire_instruction.state, v_wire_instruction.country, v_wire_instruction.zip,
    (v_wire_instruction.bank_ident_num, v_wire_instruction.addtl_info);
    DBMS.output.put_line ('completed10');
    END IF;


    / * PG 05/01/06 call conversion check only for international controls and son * /.
    IF = v_order_dtls.dom_chek_distr ' n AND v_order_dtls.distribution_method IN ('W' ' d ","C"" ") THEN
    / * PG 20/12/05 to treat the subsequent sales with the wire or the distribution of currency * /.
    v_transact_no: = 88;
    pk_xop_citibank_forex.pr_cashconversion_ins_request (v_order_dtls.acct_num
    LPAD(v_order_dtls.ssn,9,'0') - v_order_dtls.ssn, modified by Suresh on 15/02/07 for SPIF # 37210
    v_order_dtls.distribution_method
    v_order_dtls.foreign_currency_code
    v_order_dtls.wire_seq_no
    , TOWER ((v_order_dtls.opts_exer * ronds (v_order_dtls.exec_price, 4)), 2)
    -ROUND(v_order_dtls.comm_value,2)
    -ROUND (nvl(v_order_dtls.fixed_fee1,0) + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), 2)
    -nvl(v_order_dtls.multi_curr_handling_fee,0)
    -product net nvl(v_order_dtls.backup_withholding,0)-
    , v_order_dtls.multi_curr_handling_fee - handling fee
    -Modified by Billon/Suresh on 03/02/2006-, v_order_dtls.login_name
    , CASE v_order_dtls.login_name WHEN ' CUSTOMER /' THEN v_order_dtls.login_name |' SSO' ELSE v_order_dtls.login_name |' / SSO' END
    , v_transact_no - transact_no as a placeholder for the 88 exer_type
    v_order_dtls.check_addr_1
    v_order_dtls.check_addr_2
    v_order_dtls.check_addr_3
    v_order_dtls.check_addr_4
    v_order_dtls.upd_optionee_addr
    v_order_dtls.city
    v_order_dtls.state
    v_order_dtls.zip
    v_order_dtls.country
    v_order_dtls.login_ipaddress
    v_order_dtls.fcnum
    v_order_dtls.opt_num
    v_settle_dt,
    p_exer_num = > v_order_dtls.exer_num
    );
    END IF;

    COMMIT;

    close get_order_dtls;

    END IF;

    /*
    * SPIF # 43161 - update of current status in IN. is moved to this part, even PROD.
    */
    UPDATE tb_xop_order_manager_t
    SET exec_dttime = decode (p_status_type, "EO", to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), null)
    exer_date = trunc (sysdate)
    , cancel_dttime = decode (p_status_type, 'CX', to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), 'UR', to_char (sysdate, "MON-DD-YYYY HH24:mi:ss), null)
    , current_status = "PO."
    sum_status = decode(p_status_type,'EO','X','C'),
    sum_stat_dttime = SYSDATE
    WHERE voucher_num = p_voucher_num;

    v_err_cd: = sqlcode;
    v_err_msg: = sqlerrm;

    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;

    EXCEPTION
    DBMS.output.put_line ('completed200');
    / * PG 02/10 managed 'order of partial fill' exception * /.
    When wait_for_more then
    v_err_cd: = 0;
    v_err_msg: = ' ORA-0000: normal completion, successfully ';
    pr_xop_log_errors (' partially filled;) Pending-activity qty:' | TO_CHAR (v_sum_activity_qty) | "pk_xop_subsales.pr_process_exer");
    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
    When exceeds_order_qty then
    v_err_cd: = sqlcode;
    v_err_msg: = sqlerrm;
    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
    pr_xop_log_errors ("exceeded the amount of activity Order_qty - activity qty: ' | ') TO_CHAR (p_activity_qty) | "pk_xop_subsales.pr_process_exer");
    while others then
    v_err_cd: = sqlcode;
    v_err_msg: = sqlerrm;
    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
    pr_xop_log_errors (' error code ' | ') SQLCODE |' with ErrorMessage like ' | SQLERRM |' occurred '. the user | (' pk_xop_subsales.pr_process_exer');
    DBMS.output.put_line ('completed125');
    END pr_process_exer;
    }

    Hi friends, any1 help me how set ref-cursor in the declaration section and how to find the constraint error situation has occurred...

    956684 wrote:
    Hello.

    Friends please help... How to debug and find the exact position of the constraint violation... Thank you for the help...

    It's not a way to track it unless you have taken the exception raised.

    As a way to start debugging, you will need to monitor
    1. all DML against the Table on which you have constraint. Specifically, the DML that Act on the column you will be forced.
    2. use the exception handling, to record the error and the data that causes the constraint to fail.
    3. don't forget to monitor triggers, if used, could write data in the column you have forced on.

    Or

    Another track is to:

    select *
      from user_source
    where lower(text) like '%your_table_name%';
    order by type, name, line;
    

    Look at the lines, exclude that are in the statement or in the SELECT statements and targets of the DML.

    Looking at the unformatted code, that you have published, this statement looks like a culprit.

    INSERT INTO tb_ml_exer_upload
    (exer_num,exer_seq,
    exer_dt, written_flag, backout_flag, output_line,
    je_flag, opts_exer,
    tot_tax,shrs_sold,comm_value,tot_fee,
    mkt_prc,exer_type, soc_sec,
    name_first, name_mi,
    name_last,check_addr_1,check_addr_2,check_addr_3,
    check_addr_4,check_addr_5,city,state,zip,country,
    city_state_zip_country,
    p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4,
    opt_addr5,opt_addr6,
    settle_dt,send_to_citibank_flag,
    dom_chek_distr,foreign_currency_code,
    distribution_method,wire_seq_no,
    cusip_num, ml_retail_account,multi_curr_handling_fee,
    ml_sec_num, corp_name,upd_optionee_addr,
    outbound_flag, -- make it N
    corp_symbol,taxwire_approve, -- make it not applicaplabe
    exersource,
    mail_cd, sp_mail_cd,
    backup_withholding,
    user_id,
    acct_num_othr)
    VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL,
    -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr 'D',
    -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always
    'Y', --je_flag
    v_order_dtls.opts_exer,0,--total tax will be 0.
    v_order_dtls.opts_exer, --shrs_sold,
    v_order_dtls.comm_value,
    --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1
    v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt,
    round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type,
    LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210
    v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last,
    v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3,
    v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city),
    nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip),
    nvl(v_order_dtls.country,v_opt_dtls.country),
    SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country,
    v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35
    v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3,
    v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6,
    v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
    v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code,
    v_order_dtls.distribution_method,v_order_dtls.wire_seq_no,
    v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee,
    -- nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num),
    nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num),
    v_compy_nme,v_order_dtls.upd_optionee_addr,
    'N', --'N' is for outbound flag.
    v_order_dtls.symbol,'D', --'D' for taxwires disabled
    'S', -- 'S' for source being subsequent sale.
    v_mail_cd, --need to get mail_Cd??
    v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding,
    user,v_order_dtls.acct_num_othr);
    

    What is the structure of the tb_ml_exer_upload Table and the columns do you have constraints?
    Which column of the tb_ml_exer_upload table is your primary key (because the constraint name mentions pk_tb_ml_exer_upload)?

    Published by: Jen K on January 4, 2013 12:57

Maybe you are looking for