Read uninitialized (rui)

Hello,
I currenlty try to clean my code of rui/wui etc...
First thing I am wondering of: is the rui output in the sunstudio debuger always reliable ?
Or could it be theat I some times does not check that a variable has being initialized indirectly ?
currently I receive this complaint :
Read from uninitialized (rui) on thread 1:
Attempting to read 3 bytes at address 0xffbee799
which is 289 bytes above the current stack pointer
Location of error: IBAG_iniparser.cpp, line 0, std::istreambuf_iterator<char,std::char_traits<char> >::istreambuf_iterator()
typedef std::istreambuf_iterator<char> IsbIt;
   class StreamToString
        IsbIt p;
        IsbIt end;
        public:
           StreamToString(std::istream &is ) : p(is), end(IsbIt()), iss(is)   // the rui comes out here. My guess is end(IsbIt()) causes it.
The caller passes an ifsream to the overloaded constructor.
since the rui comes out of istreambuf_iterator<char, std::char_traits<char> >::istreambuf_iterator(0xffbee954, 0xffbee794, 0xffbee9e8, 0x78, 0x0, 0x1)  i cannot step onto this function.
Any Idea why this could be a rui ?
regards
fagery

In general, RUIs can be false positives, as explained in the dbx documentation and dbx help. For example, you can get an RUI when copying padding bytes in a struct:
struct S {
char c;
int i;
On sparc, struct S will have 3 uninitialized bytes between members 'c' and 'i'. A struct copy will copy these bytes, leading to a false RUI report. We have been taking steps to reduce the number of false RUIs via additional compiler options.
But reading from above the stack pointer is not a false positive.
In this case, the problem appears to be due to a bug in either the library or in dbx. I was able to duplicate your problem using the latest patched Studio 11, but not with the Studio 12 Early Access compiler. I was not able to locate a specific bug report, however. I'll do some more checking, and let you know if I find an associated bug report.

Similar Messages

  • There is a  memory access check rui error in std::basic_ostream

    hi,all
    I use sunstudio 11 under Solaris 1- update 1.
    The ouput of CC -V is :
    CC: Sun C++ 5.8 Patch 121017-02 2006/04/19
    My cpp file(try.cpp) is as following:
    #include <iostream>
    int
    main(int argc,char *argv[] )
         std::cout   << 5;
         return 0;
    }My compiling command line is as following :
    CC -g try.cpp
    I had turn on access check.
    When i debugged a.out, I got the following error:
    Access checking started for program /home/l12751/a.out
    Read from uninitialized (rui):
    Attempting to read 3 bytes at address 0xffbfef05
    which is 3205 bytes above the current stack pointer
    Location of error: (unknown OF), line 0, std::basic_ostream<char,std::char_traits<char> >::operator<<()
    Is this a sunstudio 11 CC 5.8 bug or anything i did wrong?
    How can i do access check for this program? or i can safely ignore the error?
    thanks in advance.

    The problem is in the Solaris runtime library /usr/lib/libCstd.so.1.
    I believe the fix will appear in the next C++ shared library patch (SUNWlibC ).
    You can find all current patches here, including required Solaris patches:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.jsp

  • Rui in basic_ostream

    Hi,
    I�m using Sun Studio 12 (CC �V output CC: Sun C++ 5.9 SunOS_sparc 2007/05/03) and get an rui error using dbx.
    Am I doing something wrong? Here is a test case:
    $ cat testa.cc
    #include <iostream>
    #include <iomanip>
    int main(int argc, char *argv[])
      std::cout << std::setw(4) << 23;
      return 0;
    $ CC -g testa.cc
    $ dbx -C a.out
    For information about new features see `help changes'
    To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
    Reading a.out
    Reading ld.so.1
    Reading rtcapihook.so
    Reading libCstd.so.1
    Reading libCrun.so.1
    Reading libm.so.2
    Reading libc.so.1
    Reading libdl.so.1
    Reading libCstd_isa.so.1
    Reading rtcaudit.so
    Reading libmapmalloc.so.1
    Reading libgen.so.1
    Reading libc_psr.so.1
    Reading rtcboot.so
    Reading librtc.so
    (dbx) check -all
    access checking - ON
    memuse checking - ON
    (dbx) run
    Running: a.out
    (process id 9056)
    RTC: Enabling Error Checking...
    RTC: Running program...
    Read from uninitialized (rui):
    Attempting to read 3 bytes at address 0xffbffbe5
        which is 3205 bytes above the current stack pointer
    stopped in std::basic_ostream<char,std::char_traits<char> >::operator<< at 0xebd
    7fa44
    0xebd7fa44: operator<<+0x0108:  ba,a     0xeb94b7d8     ! 0xeb94b7d8
    Current function is main
        5     std::cout << std::setw(4) << 23;

    You're doing everything right; most probably, it is minor dbx issue and I think it is safe for you to ignore this problem.
    If you type 'suppress -d' in dbx you should see a line like this:
    (dbx) suppress -d
    aib air rui - /usr/lib/libCstd.so.1
    ...which means that all rui type of errors in libCstd should be suppressed. Apparently, they aren't.
    It would help a lot if you report this issue through bugs.sun.com (refer to this site if you have questions as to how to do that: http://wikis.sun.com/display/SunStudio/Sun+Studio+FAQ#SunStudioFAQ-GeneralHowdoIreportabuginSunStudio)

  • Malloc() receives signals and the process hangs

    Hi, I am having a batch process which receives a signal (sometimes SIGSEGV and someother times SIGUSR) during malloc and hangs forever. Please refer the following pstack and let me know, if it is related to some patch issue or heap corruption issue.
    Os Details
    SunOS dxxxxx09 5.8 Generic_117350-46 sun4u sparc SUNW,Ultra-Enterprise-10000
    Pstack
    ----------------- lwp# 1 / thread# 1 --------------------
    ffffffff748a79bc lwp_sema_wait (1002666d0)
    ffffffff74e0c3d0 _park (1002666d0, ffffffff74f20000, 0, 1002665c0, 2, ffffffff74f21c74) + 114
    ffffffff74e0c09c _swtch (1002665c0, ffffffff749c0308, ffffffff74f20000, 0, 5, 1000) + 424
    ffffffff74e0db80 mutexadaptive_lock (ffffffff749c0308, ffffffff74f2f5d8, 4c00, 1000, fffeffff, 1) + 164
    ffffffff74e0d888 cmutexlock (ffffffff749c0308, ffffffff74f20000, ffffffff7f72e930, ffffffff7484ab5 4, ffffffff7a701d28, ffffffff7fff982c) + 84
    ffffffff7484ab54 free (100272900, ffffffff76810b98, ffffffff768384d0, ffffffff7a701d28, ffffffff7f72 e930, ffffffff73d00838) + 18
    ffffffff763179bc meFree (1, 100272900, ffffffff7fff9980, ffffffff768384d0, ffffffff72800000, a) + 1c
    ffffffff7683348c shm_deallocate (100378b80, ffffffff7fffa0a8, ffffffff769525e0, ffffffff769525d8, ff ffffff7694a5f0, 1) + 24
    ffffffff768384d0 discshm (0, c350, ffffffff7fffa0a8, ffffffff7682d6b8, ffffffff7694a5f0, ffffffff73d 00838) + 250
    ffffffff76830ab0 tlDiscon (10030f980, a, ffffffff7681ccfc, ffffffff76826cb8, ffffffff7f72e930, fffff fff73d00838) + b4
    ffffffff7682d6b8 slSQIdiscon (0, a, a, ffffffff7fffa0a8, ffffffffffffffff, 10037eea0) + 2b8
    ffffffff76826cb8 pfDiscon (ffffffff7fffa0a8, a, ffffffff7fffa008, ffffffff7fffa0a8, 10030f980, 10037 ee00) + b8
    ffffffff7681ccfc cmDiscon (a, 10030fa50, ffffffff7fffa008, ffffffff76814dc4, 0, 0) + ac
    ffffffff7681198c ascAbort (ffffffff7fffa0a8, 10030fa50, ffffffff7fffa000, ffffffff7fffa0a8, ffffffff 7694a5f0, ffffffffffffff84) + 24
    ffffffff76814dc4 asfExit (10030ff30, ffffffff7fffa0a8, a, 0, 0, 10030fa50) + 224
    ffffffff76814b34 ASF_Call (a, ffffffff76950f18, f0, ffffffff7fffa000, ffffffff7fffa0a8, 10030fa50) + 3e4
    ffffffff76a1388c asf_abort (10030f980, 2, 1002f6870, 2, ffffffff7a701680, 10037c816) + 84
    ffffffff76a1546c disconnect (1002f6870, 2, 0, 1002b4ae0, 0, 1002f7140) + 184
    ffffffff76a1579c disconnect_all (1002f6870, 0, ffffffff76b63a00, 2, 2, 1002f6870) + 13c
    ffffffff76a15a74 sqli_connect_close_tcb (0, 100268610, 2, ffffffff76b5df48, 0, 2) + a4
    ffffffff76a2b804 sqlexit (1002f6870, 0, 0, 0, 0, 0) + 34
    0000000100077c40 __1cOsignal_handler6Fi_v_ (a, ffffffff7fffaf90, ffffffff7fffacb0, 0, 0, 0) + 10
    ffffffff74e1edd8 __sighndlr (a, ffffffff7fffaf90, ffffffff7fffacb0, 100077c30, 8000, 0) + c
    ffffffff74e1b668 sigacthandler (1002665c0, 0, 0, 0, ffffffff7fffacb0, a) + 71c
    --- called from signal handler with signal 2516416 (SIG Unknown) ---
    ffffffff7484aa60 t_splay (0, 100470ff0, ffffffff749b6f60, 140, 0, 2d60) + 110
    ffffffff7484a3a4 realfree (100470fe0, ffffffff749c3780, 100470eb0, ffffffff749b6f60, 100470ea0, 141) + a0
    ffffffff7484acb8 cleanfree (0, ffffffff749c3670, ffffffff749b6f60, 0, ffffffff749c3668, ffffffff749c 3768) + 60
    ffffffff74849da0 mallocunlocked (a, 0, ffffffff749b6f60, 10, 5, 0) + f8
    ffffffff74849c8c malloc (a, 100268610, 0, 0, 1002f6c18, 2000c) + 20
    ffffffff74c08820 __1c2n6FL_pv_ (a, ffffffff74c07830, 0, 104274, ffffffff74d0ca70, 1002f6c18) + 28
    00000001000ee2a8 __1cIpre_sfno6F_v_ (0, 0, ffffffff7fffba57, ffffffff7fffbce4, ffffffff7fffba6b, 2) + 40d0
    00000001000679dc __1cTprocessStagingTable6F_i_ (0, ffffffff7fffc720, ffffffff7fffcd78, 20, 132, ffff ffff7fffc843) + 32c
    0000000100076948 main (9, ffffffff7fffcf08, ffffffff7fffcf58, 0, 0, 100000000) + 21e8
    000000010003cd1c _start (0, 0, 0, 0, 0, 0) + 17c
    ----------------- lwp# 2 / thread# 2 --------------------
    ffffffff748a74c0 signotifywait ()
    ffffffff74e11794 _dynamiclwps (ffffffff74f20000, ffffffff746044b6, ffffffff74b01698, ffffffff73d0083                                          8, 6d8b5, 0) + 24
    ffffffff74e14d38 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 4 / thread# 4 --------------------
    ffffffff74e1c77c lwp_cond_wait (ffffffff74f21c20, ffffffff74f21c08, 0)
    ffffffff74e0b684 cotimerset (ffffffff74f21c20, ffffffff74f20000, ffffffff74f21c08, 3, 0, 0) + a0
    ffffffff74e1ecd8 threadstart (0, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 5 --------------------------------
    ffffffff748a5534 door (0, 0, 0, 0, ffffffff73209ba0, 4)
    ffffffff74e19c94 scdoor_func (ffffffff73209c50, ffffffff74f20000, 4, 3, ffffffff74f20000, 1) + 6c
    ffffffff74e0d0c8 lwpstart (ffffffff73209c50, 0, 0, 0, 0, 0) + 18
    ffffffff74e14d38 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 6 / thread# 3 --------------------
    ffffffff748a79bc lwp_sema_wait (ffffffff7360dd60)
    ffffffff74e0c3d0 _park (ffffffff7360dd60, ffffffff74f20000, 0, ffffffff7360dc50, 1, ffffffff74f21c74                                          ) + 114
    ffffffff74e0c09c _swtch (ffffffff7360dc50, ffffffff74f260c8, ffffffff74f20000, 0, 5, 1000) + 424
    ffffffff74e10800 reapwait (ffffffff74f260c8, ffffffff74f2b618, 0, 0, 0, 0) + 38
    ffffffff74e10550 _reaper (ffffffff74f21d18, ffffffff74f260c8, 0, ffffffff74f21cf0, 0, 1000) + 38
    ffffffff74e1ecd8 threadstart (0, 0, 0, 0, 0, 0) + 40

    Thanks a lot for your response.
    Yes, I executed the program in dbx using RTC. There are couple of Read from uninitialized (rui) errors and Read from unallocated (rua). Surprisingly, the (rua) error comes from the location where I am using EXEC SQL FREE.
    The following is the code inside DoPrepare():
    db_count++;
    EXEC SQL PREPARE curs_stm_1 FROM ' select * from eq_to_pr
    where location_id = ? and e_trak = ?';
    db_count++;
    EXEC SQL DECLARE cc_bay CURSOR WITH HOLD FOR curs_stm_1;
    EXEC SQL FREE curs_stm_1;
    db_count++;
    return true; /* SUCCESS*/
    In the above code, dbx points Read from unallocated (rua) error from EXEC SQL FREE statement. When I commented out, the error is gone.
    The samething with the following code too:
    EXEC SQL CLOSE cc_bay;
    EXEC SQL FREE cc_bay;
    Note: I am using IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.FC2
    Otherthan the above errors, RTC output was not having anything else.
    I dont know why EXEC SQL FREE is being flaged.
    The following is the dbx output:
    <rtc> Read from unallocated (rua) on thread 1:
    Attempting to read 4 bytes at address 0x1006a1dcc
    which is 75 bytes past end of heap block of size 121 bytes at 0x1006a1d08
    This block was allocated from:
    [1] sqgdesc() at 0xffffffff5312af94
    [2] process_msgs() at 0xffffffff5312f0d4
    [3] sqrmessages() at 0xffffffff5312bccc
    [4] _iqprepare() at 0xffffffff5311ae14
    [5] sqli_prep_tcb() at 0xffffffff5311ab74
    [6] sqli_prep() at 0xffffffff5311aa48
    [7] DoPrepare() at line 275 in "oreo_eq_add.ec"
    [8] oreo_eq_add() at line 390 in "oreo_eq_add.ec"
    Location of error:
    current thread: t@1
    =>[1] sqli_curs_free_tcb(0x1005cbdf8, 0x1006a1db0, 0x2010c, 0x0, 0x1005a67d8, 0x0), at 0xffffffff531197dc
    [2] DoPrepare(), line 284 in "oreo_eq_add.ec"
    [3] oreo_eq_add(e_trak = 29365102, e_error1 = 0, process = 9, equip_id = 0), line 390 in "oreo_eq_add.ec"
    [4] pre_bay_sc(), line 452 in "pre_bay_sc.ec"
    [5] processStagingTable(), line 576 in "OreoDatabaseFunctions.ec"
    [6] main(argc = 9, argv = 0xffffffff7fffccb8), line 327 in "OreoMain.ec"

  • CVE-2015-1130 - Protection on Mountain Lion

    So Apple has been alerted to a serious OSX security flaw that so far they have only fixed in Yosemite.
    About the security content of OS X Yosemite v10.10.3 and Security Update 2015-004 - Apple Support
    What can we do to protect our usage on Mountain Lion when apple haven't fixed known security problems?
    I can't update to Yosemite. Far too many driver, application and music productions related issues. Sure Gatekeeper asks if we want to Open untrusted applications, but I've certainly got a number of applications that are not digitally signed and necessary for what I do.

    jspokes wrote:
    That's interesting. Can you point us to any links To the CVEs?
    For whatever reason this isn't available from the Apple Product Security archives:
    APPLE-SA-2014-10-16-1 OS X Yosemite v10.10
    OS X Yosemite v10.10 is now available and addresses the following:
    802.1X
    Impact:  An attacker can obtain WiFi credentials
    Description:  An attacker could have impersonated a WiFi access
    point, offered to authenticate with LEAP, broken the MS-CHAPv1 hash,
    and used the derived credentials to authenticate to the intended
    access point even if that access point supported stronger
    authentication methods. This issue was addressed by disabling LEAP by
    default.
    CVE-ID
    CVE-2014-4364 : Pieter Robyns, Bram Bonne, Peter Quax, and Wim
    Lamotte of Universiteit Hasselt
    AFP File Server
    Impact:  A remote attacker could determine all the network addresses
    of the system
    Description:  The AFP file server supported a command which returned
    all the network addresses of the system. This issue was addressed by
    removing the addresses from the result.
    CVE-ID
    CVE-2014-4426 : Craig Young of Tripwire VERT
    apache
    Impact:  Multiple vulnerabilities in Apache
    Description:  Multiple vulnerabilities existed in Apache, the most
    serious of which may lead to a denial of service. These issues were
    addressed by updating Apache to version 2.4.9.
    CVE-ID
    CVE-2013-6438
    CVE-2014-0098
    App Sandbox
    Impact:  An application confined by sandbox restrictions may misuse
    the accessibility API
    Description:  A sandboxed application could misuse the accessibility
    API without the user's knowledge. This has been addressed by
    requiring administrator approval to use the accessibility API on an
    per-application basis.
    CVE-ID
    CVE-2014-4427 : Paul S. Ziegler of Reflare UG
    Bash
    Impact:  In certain configurations, a remote attacker may be able to
    execute arbitrary shell commands
    Description:  An issue existed in Bash's parsing of environment
    variables. This issue was addressed through improved environment
    variable parsing by better detecting the end of the function
    statement. This update also incorporated the suggested CVE-2014-7169
    change, which resets the parser state. In addition, this update
    added a new namespace for exported functions by creating a function
    decorator to prevent unintended header passthrough to Bash. The names
    of all environment variables that introduce function definitions are
    required to have a prefix "__BASH_FUNC<" and suffix ">()" to prevent
    unintended function passing via HTTP headers.
    CVE-ID
    CVE-2014-6271 : Stephane Chazelas
    CVE-2014-7169 : Tavis Ormandy
    Bluetooth
    Impact:  A malicious Bluetooth input device may bypass pairing
    Description:  Unencrypted connections were permitted from Human
    Interface Device-class Bluetooth Low Energy devices. If a Mac had
    paired with such a device, an attacker could spoof the legitimate
    device to establish a connection. The issue was addressed by denying
    unencrypted HID connections.
    CVE-ID
    CVE-2014-4428 : Mike Ryan of iSEC Partners
    CFPreferences
    Impact:  The 'require password after sleep or screen saver begins'
    preference may not be respected until after a reboot
    Description:  A session management issue existed in the handling of
    system preference settings. This issue was addressed through improved
    session tracking.
    CVE-ID
    CVE-2014-4425
    Certificate Trust Policy
    Impact:  Update to the certificate trust policy
    Description:  The certificate trust policy was updated. The complete
    list of certificates may be viewed at
    http://support.apple.com/kb/HT6005.
    CoreStorage
    Impact:  An encrypted volume may stay unlocked when ejected
    Description:  When an encrypted volume was logically ejected while
    mounted, the volume was unmounted but the keys were retained, so it
    could have been mounted again without the password. This issue was
    addressed by erasing the keys on eject.
    CVE-ID
    CVE-2014-4430 : Benjamin King at See Ben Click Computer Services LLC,
    Karsten Iwen, Dustin Li (http://dustin.li/), Ken J. Takekoshi, and
    other anonymous researchers
    CUPS
    Impact:  A local user can execute arbitrary code with system
    privileges
    Description:  When the CUPS web interface served files, it would
    follow symlinks. A local user could create symlinks to arbitrary
    files and retrieve them through the web interface. This issue was
    addressed by disallowing symlinks to be served via the CUPS web
    interface.
    CVE-ID
    CVE-2014-3537
    Dock
    Impact:  In some circumstances, windows may be visible even when the
    screen is locked
    Description:  A state management issue existed in the handling of the
    screen lock. This issue was addressed through improved state
    tracking.
    CVE-ID
    CVE-2014-4431 : Emil Sjolander of Umea University
    fdesetup
    Impact:  The fdesetup command may provide misleading status for the
    state of encryption on disk
    Description:  After updating settings, but before rebooting, the
    fdesetup command provided misleading status. This issue was addressed
    through improved status reporting.
    CVE-ID
    CVE-2014-4432
    iCloud Find My Mac
    Impact:  iCloud Lost mode PIN may be bruteforced
    Description:  A state persistence issue in rate limiting allowed
    brute force attacks on iCloud Lost mode PIN. This issue was addressed
    through improved state persistence across reboots.
    CVE-ID
    CVE-2014-4435 : knoy
    IOAcceleratorFamily
    Impact:  An application may cause a denial of service
    Description:  A NULL pointer dereference was present in the
    IntelAccelerator driver. The issue was addressed through improved
    error handling.
    CVE-ID
    CVE-2014-4373 : cunzhang from Adlab of Venustech
    IOHIDFamily
    Impact:  A malicious application may be able to execute arbitrary
    code with system privileges
    Description:  A null pointer dereference existed in IOHIDFamily's
    handling of key-mapping properties. This issue was addressed through
    improved validation of IOHIDFamily key-mapping properties.
    CVE-ID
    CVE-2014-4405 : Ian Beer of Google Project Zero
    IOHIDFamily
    Impact:  A malicious application may be able to execute arbitrary
    code with system privileges
    Description:  A heap buffer overflow existed in IOHIDFamily's
    handling of key-mapping properties. This issue was addressed through
    improved bounds checking.
    CVE-ID
    CVE-2014-4404 : Ian Beer of Google Project Zero
    IOHIDFamily
    Impact:  An application may cause a denial of service
    Description:  A out-of-bounds memory read was present in the
    IOHIDFamily driver. The issue was addressed through improved input
    validation.
    CVE-ID
    CVE-2014-4436 : cunzhang from Adlab of Venustech
    IOHIDFamily
    Impact:  A user may be able to execute arbitrary code with system
    privileges
    Description:  An out-of-bounds write issue exited in the IOHIDFamily
    driver. The issue was addressed through improved input validation.
    CVE-ID
    CVE-2014-4380 : cunzhang from Adlab of Venustech
    IOKit
    Impact:  A malicious application may be able to read uninitialized
    data from kernel memory
    Description:  An uninitialized memory access issue existed in the
    handling of IOKit functions. This issue was addressed through
    improved memory initialization.
    CVE-ID
    CVE-2014-4407 : @PanguTeam
    IOKit
    Impact:  A malicious application may be able to execute arbitrary
    code with system privileges
    Description:  A validation issue existed in the handling of certain
    metadata fields of IODataQueue objects. This issue was addressed
    through improved validation of metadata.
    CVE-ID
    CVE-2014-4388 : @PanguTeam
    IOKit
    Impact:  A malicious application may be able to execute arbitrary
    code with system privileges
    Description:  A validation issue existed in the handling of certain
    metadata fields of IODataQueue objects. This issue was addressed
    through improved validation of metadata.
    CVE-ID
    CVE-2014-4418 : Ian Beer of Google Project Zero
    Kernel
    Impact:  A local user may be able to determine kernel memory layout
    Description:  Multiple uninitialized memory issues existed in the
    network statistics interface, which led to the disclosure of kernel
    memory content. This issue was addressed through additional memory
    initialization.
    CVE-ID
    CVE-2014-4371 : Fermin J. Serna of the Google Security Team
    CVE-2014-4419 : Fermin J. Serna of the Google Security Team
    CVE-2014-4420 : Fermin J. Serna of the Google Security Team
    CVE-2014-4421 : Fermin J. Serna of the Google Security Team
    Kernel
    Impact:  A maliciously crafted file system may cause unexpected
    system shutdown or arbitrary code execution
    Description:  A heap-based buffer overflow issue existed in the
    handling of HFS resource forks. A maliciously crafted filesystem may
    cause an unexpected system shutdown or arbitrary code execution with
    kernel privileges. The issue was addressed through improved bounds
    checking.
    CVE-ID
    CVE-2014-4433 : Maksymilian Arciemowicz
    Kernel
    Impact:  A malicious file system may cause unexpected system shutdown
    Description:  A NULL dereference issue existed in the handling of HFS
    filenames. A maliciously crafted filesystem may cause an unexpected
    system shutdown. This issue was addressed by avoiding the NULL
    dereference.
    CVE-ID
    CVE-2014-4434 : Maksymilian Arciemowicz
    Kernel
    Impact:  A local user may be able to cause an unexpected system
    termination or arbitrary code execution in the kernel
    Description:  A double free issue existed in the handling of Mach
    ports. This issue was addressed through improved validation of Mach
    ports.
    CVE-ID
    CVE-2014-4375 : an anonymous researcher
    Kernel
    Impact:  A person with a privileged network position may cause a
    denial of service
    Description:  A race condition issue existed in the handling of IPv6
    packets. This issue was addressed through improved lock state
    checking.
    CVE-ID
    CVE-2011-2391 : Marc Heuse
    Kernel
    Impact:  A local user may be able to cause an unexpected system
    termination or arbitrary code execution in the kernel
    Description:  An out-of-bounds read issue existed in rt_setgate. This
    may lead to memory disclosure or memory corruption. This issue was
    addressed through improved bounds checking.
    CVE-ID
    CVE-2014-4408
    Kernel
    Impact:  A local user can cause an unexpected system termination
    Description:  A reachable panic existed in the handling of messages
    sent to system control sockets. This issue was addressed through
    additional validation of messages.
    CVE-ID
    CVE-2014-4442 : Darius Davis of VMware
    Kernel
    Impact:  Some kernel hardening measures may be bypassed
    Description:  The random number generator used for kernel hardening
    measures early in the boot process was not cryptographically secure.
    Some of its output was inferable from user space, allowing bypass of
    the hardening measures. This issue was addressed by using a
    cryptographically secure algorithm.
    CVE-ID
    CVE-2014-4422 : Tarjei Mandt of Azimuth Security
    LaunchServices
    Impact:  A local application may bypass sandbox restrictions
    Description:  The LaunchServices interface for setting content type
    handlers allowed sandboxed applications to specify handlers for
    existing content types. A compromised application could use this to
    bypass sandbox restrictions. The issue was addressed by restricting
    sandboxed applications from specifying content type handlers.
    CVE-ID
    CVE-2014-4437 : Meder Kydyraliev of the Google Security Team
    LoginWindow
    Impact:  Sometimes the screen might not lock
    Description:  A race condition existed in LoginWindow, which would
    sometimes prevent the screen from locking. The issue was addressed by
    changing the order of operations.
    CVE-ID
    CVE-2014-4438 : Harry Sintonen of nSense, Alessandro Lobina of
    Helvetia Insurances, Patryk Szlagowski of Funky Monkey Labs
    Mail
    Impact:  Mail may send email to unintended recipients
    Description:  A user interface inconsistency in Mail application
    resulted in email being sent to addresses that were removed from the
    list of recipients. The issue was addressed through improved user
    interface consistency checks.
    CVE-ID
    CVE-2014-4439 : Patrick J Power of Melbourne, Australia
    MCX Desktop Config Profiles
    Impact:  When mobile configuration profiles were uninstalled, their
    settings were not removed
    Description:  Web proxy settings installed by a mobile configuration
    profile were not removed when the profile was uninstalled. This issue
    was addressed through improved handling of profile uninstallation.
    CVE-ID
    CVE-2014-4440 : Kevin Koster of Cloudpath Networks
    NetFS Client Framework
    Impact:  File Sharing may enter a state in which it cannot be
    disabled
    Description:  A state management issue existed in the File Sharing
    framework. This issue was addressed through improved state
    management.
    CVE-ID
    CVE-2014-4441 : Eduardo Bonsi of BEARTCOMMUNICATIONS
    QuickTime
    Impact:  Playing a maliciously crafted m4a file may lead to an
    unexpected application termination or arbitrary code execution
    Description:  A buffer overflow existed in the handling of audio
    samples. This issue was addressed through improved bounds checking.
    CVE-ID
    CVE-2014-4351 : Karl Smith of NCC Group
    Safari
    Impact:  History of pages recently visited in an open tab may remain
    after clearing of history
    Description:  Clearing Safari's history did not clear the
    back/forward history for open tabs. This issue was addressed by
    clearing the back/forward history.
    CVE-ID
    CVE-2013-5150
    Safari
    Impact:  Opting in to push notifications from a maliciously crafted
    website may cause future Safari Push Notifications to be missed
    Description:  An uncaught exception issue existed in
    SafariNotificationAgent's handling of Safari Push Notifications. This
    issue was addressed through improved handling of Safari Push
    Notifications.
    CVE-ID
    CVE-2014-4417 : Marek Isalski of Faelix Limited
    Secure Transport
    Impact:  An attacker may be able to decrypt data protected by SSL
    Description:  There are known attacks on the confidentiality of SSL
    3.0 when a cipher suite uses a block cipher in CBC mode. An attacker
    could force the use of SSL 3.0, even when the server would support a
    better TLS version, by blocking TLS 1.0 and higher connection
    attempts. This issue was addressed by disabling CBC cipher suites
    when TLS connection attempts fail.
    CVE-ID
    CVE-2014-3566 : Bodo Moeller, Thai Duong, and Krzysztof Kotowicz of
    Google Security Team
    Security
    Impact:  A remote attacker may be able to cause a denial of service
    Description:  A null dereference existed in the handling of ASN.1
    data. This issue was addressed through additional validation of ASN.1
    data.
    CVE-ID
    CVE-2014-4443 : Coverity
    Security
    Impact:  A local user might have access to another user's Kerberos
    tickets
    Description:  A state management issue existed in SecurityAgent.
    While Fast User Switching, sometimes a Kerberos ticket for the
    switched-to user would be placed in the cache for the previous user.
    This issue was addressed through improved state management.
    CVE-ID
    CVE-2014-4444 : Gary Simon of Sandia National Laboratories, Ragnar
    Sundblad of KTH Royal Institute of Technology, Eugene Homyakov of
    Kaspersky Lab
    Security - Code Signing
    Impact:  Tampered applications may not be prevented from launching
    Description:  Apps signed on OS X prior to OS X Mavericks 10.9 or
    apps using custom resource rules, may have been susceptible to
    tampering that would not have invalidated the signature. On systems
    set to allow only apps from the Mac App Store and identified
    developers, a downloaded modified app could have been allowed to run
    as though it were legitimate. This issue was addressed by ignoring
    signatures of bundles with resource envelopes that omit resources
    that may influence execution. OS X Mavericks v10.9.5 and Security
    Update 2014-004 for OS X Mountain Lion v10.8.5 already contain these
    changes.
    CVE-ID
    CVE-2014-4391 : Christopher Hickstein working with HP's Zero Day
    Initiative
    Note: OS X Yosemite includes Safari 8.0, which incorporates
    the security content of Safari 7.1. For further details see
    "About the security content of Safari 7.1" at
    https://support.apple.com/kb/HT6440.
    Now compare that to the Security Update for Mountain Lion and Mavericks that came out the same day:
    APPLE-SA-2014-10-16-2 Security Update 2014-005
    Security Update 2014-005 is now available and addresses the
    following:
    Secure Transport
    Available for:  OS X Mountain Lion v10.8.5, OS X Mavericks v10.9.5
    Impact:  An attacker may be able to decrypt data protected by SSL
    Description:  There are known attacks on the confidentiality of SSL
    3.0 when a cipher suite uses a block cipher in CBC mode. An attacker
    could force the use of SSL 3.0, even when the server would support a
    better TLS version, by blocking TLS 1.0 and higher connection
    attempts. This issue was addressed by disabling CBC cipher suites
    when TLS connection attempts fail.
    CVE-ID
    CVE-2014-3566 : Bodo Moeller, Thai Duong, and Krzysztof Kotowicz of
    Google Security Team

  • Intialization of Primitive variables

    When we declare a primitive variable as static & leave it uninitialized a default value is assigned to it. whereas if the variable is not static & we leave it uninitialized there is not default value assigned to it & if we try to use it somewhere we get a compile time error. can someone explain why static variables get a default value assigned to them & why this doesnt happen for other primitive variables.

    Thanks a lot for the reply. Actually what exactly i am
    trying to ask is that why does compiler not give an
    error when a static variable is left uninitialized &
    then used somewhere & why it gives error when the same
    is done for a variable which is not static. why is
    default value of static variable displayed & that of a
    non static variable not displayed.The compiler couldn't possibly check for the attributes's state. Imagine:
    class Foo {
      private static int myInt;
      static void setMyInt(int i) {
        myInt = i;
      static int getMyInt() {
        return myInt;
    }How is the complier supposed to know and verify that "setMyInt" has to be called before "getMyInt"? It can't, and just to be on the safe side, variables are set to default values. OTOH, it can check the same issue with method variables without problems since the sequence of writing and reading a variable is well-defined there.
    So it is possible for the compiler to reliably warn the programmer about reading uninitialized variables inside methods only. And since this is more favourable to error-safety than just silently setting default values, it is not done there.

  • Exception on read or set UDF document lines value

    Hi All,
    have a big problem...
    I'm creating invoice documents from many and many delivery documents via DI API.
    In some cases, my addon gives an exception reading or setting UDF line fields.
    Here is the exception message:
    System.Runtime.InteropServices.COMException (0x80010105): The server has rise an exception. (Eccezione da HRESULT: 0x80010105(RPC_E_SERVERFAULT))
    in SAPbobsCOM.FieldClass.get_Value() in Morato.CreaDocFatturazioneMassiva.CopyUDFLineFields(String)
    or
    System.Runtime.InteropServices.COMException (0x80010105): The server has rise an exception. (Eccezione da HRESULT: 0x80010105(RPC_E_SERVERFAULT))
    in SAPbobsCOM.FieldClass.set_Value() in Morato.CreaDocFatturazioneMassiva.CopyUDFLineFields(String)
    The strange thing is that if I create an invoices from a little quantity of deliveries, there is no problem. The error seems to rise when I create an invoice from a huge quantity of deliveries.
    The code is:
    Private Function CopyUDFLineFields(ByVal oLineNum As String) As Boolean
            Dim i As Integer
            oDocFrom.Lines.SetCurrentLine(oLineNum)
            Try
                With oDocFrom.Lines.UserFields
                    For i = 0 To .Fields.Count - 1
                        Select Case .Fields.Item(i).Type
                            Case SAPbobsCOM.BoFieldTypes.db_Date
                                '// campi di tipo data
                                Select Case .Fields.Item(i).SubType
                                    Case SAPbobsCOM.BoFldSubTypes.st_Time
                                        '// campi di tipo ora
                                        If Hour(.Fields.Item(i).Value) <> "0" Or Minute(.Fields.Item(i).Value) <> "0" Then
                                            oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value
                                        End If
                                    Case Else
                                        If Year(oDocFrom.Lines.UserFields.Fields.Item(i).Value) <> "1899" And Year(.Fields.Item(i).Value) <> "1999" Then
                                            oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value
                                        End If
                                End Select
                            Case SAPbobsCOM.BoFieldTypes.db_Float
                                '// campi di tipo unità e totale
                                If .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Measurement Or .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Percentage Or .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Price Or .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Quantity Then
                                    oDocTo.Lines.UserFields.Fields.Item(i).Value = CDbl(.Fields.Item(i).Value)
                                End If
                            Case SAPbobsCOM.BoFieldTypes.db_Alpha
                                '// campi di tipo stringa
                                If Not String.IsNullOrEmpty(oDocFrom.Lines.UserFields.Fields.Item(i).Value) Then
                                    oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value.ToString
                                End If
                            Case SAPbobsCOM.BoFieldTypes.db_Numeric
                                oDocTo.Lines.UserFields.Fields.Item(i).Value = Val(.Fields.Item(i).Value)
                            Case SAPbobsCOM.BoFieldTypes.db_Memo
                                oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value.ToString
                            Case Else
                                '// altri tipi stringa
                                If Not String.IsNullOrEmpty(oDocFrom.Lines.UserFields.Fields.Item(i).Value) Then
                                    oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value.ToString
                                End If
                        End Select
                    Next i
                End With
                Return True
            Catch ex As Exception
                SBO_Application.MessageBox(ex.ToString & " - " & oDocFrom.Lines.UserFields.Fields.Item(i).Name.ToString)
                Return False
            End Try
        End Function
    Anyone have experienced something similar?
    Kind Regards,
    Paolo Caricasole.
    Edited by: Rui Pereira on Dec 23, 2008 4:26 PM

    Please refer to note#1235603
    SAP Notes: [http://service.sap.com/notes|http://service.sap.com/notes]
    Replace:
    oDocTo.Lines.UserFields.Fields.Item(i).Value
    with:
    Document_Lines oLines = oDocTo.Lines
    oLines.UserFields.Fields.Item(i).Value
    Regards, Yatsea

  • Reference to uninitialized collection

    Hi,
    I have created a Java stored procedure as follows:
    Type declaration:
    CREATE OR REPLACE TYPE transArray AS TABLE OF NUMBER(20)
    /Stored Java Class:
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED testCompTrans AS
    import java.math.BigDecimal;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.text.SimpleDateFormat;
    import oracle.sql.ARRAY;
    import oracle.sql.ArrayDescriptor;
    public class testCompTrans {
         public static void callCompTrans(oracle.sql.ARRAY[] returnCompTrans, int memId, int month,
              int year, int freq, int empWrkgDays, BigDecimal baseSalary, BigDecimal agreedCurrRate,
              String paycycle, String cutoff, String companyCode, String payCurrCode, Date dateJoined){
              int arrayLength = 2;
              BigDecimal[] trans = new BigDecimal[arrayLength];
              BigDecimal rate = new BigDecimal("0");
              try{
                   prorate = compProrate(memId, month, year, freq, empWrkgDays, baseSalary, agreedCurrRate, paycycle,
                             cutoff, companyCode, payCurrCode, dateJoined);
                   for(int i=0;i<arrayLength;i++){
                        rate = trans;
                        System.out.println(rate);
                   Connection conn = DriverManager.getConnection("jdbc:default:connection:");
                   ArrayDescriptor desc = ArrayDescriptor.createDescriptor("transArray",conn);
                   returnCompTrans[0] = new ARRAY(desc,conn,prorate);
              }catch (Exception e){
                   e.printStackTrace();
         }Stored procedure: (from a package)PROCEDURE SP_COMPTRANS(returnCompTrans OUT transArray, memId IN NUMBER, payMonth IN NUMBER, payYear IN NUMBER, freq IN NUMBER,
    empWrkgDays IN NUMBER, baseSalary IN NUMBER, agreedCurrRate IN NUMBER, paycycle IN VARCHAR2, cutOff IN VARCHAR2,
    companyCode IN VARCHAR2, payCurrCode IN VARCHAR2, dateJoined IN DATE)
    AS LANGUAGE JAVA
    NAME 'ori.payroll.OriCompProrate.callCompProrate(oracle.sql.ARRAY[], int, int, int, int, int, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.String,
    java.lang.String, java.lang.String, java.util.Date)';
    I have another stored procedure which will call and process this for each employee - SP_PAYRUN. I just added this:
    Initialization:CREATE OR REPLACE PROCEDURE SP_PAYRUN(EMP_FROM VARCHAR2, EMP_TO VARCHAR2, PAY_YEAR NUMBER, PAY_MONTH NUMBER)
    AS
    ARRAYTRANS testArray := testArray(); .....
    PG_PAY_RUN.SP_COMPTRANS(ARRAYTRANS, MEMID, PAY_MONTH, PAY_YEAR, FREQ, MTH_WRKG_DAYS, BASE_SALARY, AGREED_CURR_RATE,
    PAYCYCLE, 'PY', COMP_CODE, PAY_CURR_CODE, JOINED_DATE);
    --I just added this to check the result:
    BASE_SALARY := ARRAYTRANS(1);
    DBMS_OUTPUT.PUT_LINE(BASE_SALARY);Then, executed the SP_PAYRUN in SQL* Plus:set serveroutput on size 20000
    execute SP_PAYRUN('2345', '29708161', 2008, 1);this outputs the base_salary but only after 3 or 4 employees and then I get this error:
    BEGIN SP_PAYROLLRUN('2345', '29708161', 2008, 1); END;
    ERROR at line 1:
    ORA-06531: Reference to uninitialized collection
    ORA-06512: at "SP_PAYRUN", line 270
    ORA-06512: at line 1
    I have tried testing my java stored procedure with only one employee and it worked.
    The stored procedure should return 21 employees.  What could be the problem with this? Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    thanks for your reply. I've also visited this link and already added above the solution it gave:
    I have another stored procedure which will call and process this for each employee - SP_PAYRUN. I just added this:
    Initialization:
    CREATE OR REPLACE PROCEDURE SP_PAYRUN(EMP_FROM VARCHAR2, EMP_TO VARCHAR2, PAY_YEAR NUMBER, PAY_MONTH NUMBER)
    AS
    ARRAYTRANS testArray := testArray(); The procedure returns something but not all. I was expecting 21 data but it only returned the first 3 or 4 or sometimes 5..

  • ORA-06531 reference to uninitialized collection in oracle 6i form

    Hello,
    I am importing data from excel to database table with column mapping (oracle 6i forms)using ole2 package, then calling package
    which is having a procedure. while executing the package procedure,
    I am getting error 'ora-06531 reference to uninitialized collection' i.e. before for i in 1..in_lData.count
    I am working on it but still not getting any solution. There is no problem in coding my form gets compiled but at run time i am getting this error.
    And while debugging, data fetched from ole2 package is not passed to for loop of the procedure.
    (first of all i am calling ole 2 package, then from ole2 package i am calling my package. procedure)
    please help me. My code is this
    ------------------------------------------------------Ole 2 Package begins-----------------------------------------------------------------
    PROCEDURE get_excel IS
    APPLICATION OLE2.OBJ_TYPE;
         WORKBOOKS OLE2.OBJ_TYPE;
         WORKBOOK OLE2.OBJ_TYPE;
         WORKSHEETS OLE2.OBJ_TYPE;
         WORKSHEET OLE2.OBJ_TYPE;
         CELL OLE2.OBJ_TYPE;
         CTR NUMBER(12);
         COLS NUMBER(2);
         CELLVALUE VARCHAR2(89);
         C_ROUTE VARCHAR2(255);
         V_ROUTE VARCHAR2(1000);
         C_TRNDATE VARCHAR2(255);
         V_TRNDATE VARCHAR2(1000);
         C_TTIME     VARCHAR2(255);
         V_TTIME VARCHAR2(1000);
         C_TID VARCHAR2(255);
         V_TID VARCHAR2(1000);
         FILENAME VARCHAR2(500);
         v_path                     varchar2(1000):=:path;
         ARGS OLE2.OBJ_TYPE;
         tDataList     PK_EXCEL_TO_DB.tDataList;
    BEGIN
                   :progress:='Please wait...';
                   SYNCHRONIZE;
                   --------------INITIATE EXCEL APPLICATION---------------------------
                   filename := V_PATH;--GET_FILE_NAME('c:\', File_Filter=>'Excel Files (*.xls)|*.xls|'); -- to pick the file
                   APPLICATION := OLE2.CREATE_OBJ('EXCEL.APPLICATION');
                   OLE2.SET_PROPERTY(APPLICATION,'VISIBLE','FALSE');
                   ----------------GET WORKBOOKS FROM EXCEL APPLICATION---------------
                   WORKBOOKS := OLE2.GET_OBJ_PROPERTY(APPLICATION, 'WORKBOOKS');
                   ----------------OPEN REQUIRED WORKBOOK-----------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS, FILENAME);
                   WORKBOOK := OLE2.GET_OBJ_PROPERTY(WORKBOOKS,'OPEN',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ----------------OPEN REQUIRED WORKSHEET---------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,'Sheet1');
                   WORKSHEET := OLE2.GET_OBJ_PROPERTY (WORKBOOK,'WORKSHEETS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ----------------GET CELL VALUE-------------------------------------
                   ctr := 2; --row number
                   cols := 1; -- column number
                   FIRST_RECORD;
                   LOOP
                   -----------------------COLUMN1-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS); --COLS
                   OLE2.ADD_ARG(ARGS,1);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_ROUTE := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
              ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,1);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_ROUTE := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   -----------------------COLUMN2-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS);
                   OLE2.ADD_ARG(ARGS,2);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_TRNDATE:= OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,2);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_TRNDATE:= OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   -----------------------COLUMN3-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS);
                   OLE2.ADD_ARG(ARGS,3);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_TTIME := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,3);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_TTIME := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   -----------------------COLUMN4-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS);
                   OLE2.ADD_ARG(ARGS,4);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_TID := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,4);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_TID := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
    PK_EXCEL_TO_DB.PR_DO_INSERT(tDataList);                          
    EXIT WHEN length(V_Route) = 0 or length(V_Route) is null;
    ctr := ctr + 1;
              cols := 1;
    i_ldata := PK_EXCEL_TO_DB.tDatalist(); --already define                    
    PK_EXCEL_TO_DB.PR_DO_INSERT(tDataList);
    END LOOP;
    :progress:='EXCEL READING IS DONE...';
    ----------------CLOSE THE EXCEL SHEET AFTER READING--------------
    OLE2.INVOKE(APPLICATION,'QUIT');
    -----------------RELEASE ALL OBJECTS
    OLE2.RELEASE_OBJ(CELL);
    OLE2.RELEASE_OBJ(WORKSHEET);
    OLE2.RELEASE_OBJ(WORKBOOK);
    OLE2.RELEASE_OBJ(WORKBOOKS);
    OLE2.RELEASE_OBJ(APPLICATION);
    :PROGRESS := 'DATA INSERTED INTO THE TABLE '; SYNCHRONIZE;
    SYNCHRONIZE;
    exception
    WHEN OTHERS THEN
    MESSAGE(sqlerrm);
    END;
    ----------------------------------------------------------------------------------------OLE2 PACKAGE ENDS-------------------------------------------------
    ------------------------------------------------------------PK_EXCEL_TO_DB PACKAGE SPECIFICATION---------------------------------------------
    PACKAGE PK_EXCEL_TO_DB IS
    TYPE tKeyValue IS RECORD (
    CROUTE VARCHAR2(255),
    VROUTE VARCHAR2(1000),
    CTRNDATE VARCHAR2(255),
    VTRNDATE VARCHAR2(1000),
    CTTIME     VARCHAR2(255),
    VTTIME VARCHAR2(1000),
    CTID VARCHAR2(255),
    VTID VARCHAR2(1000));
    TYPE tDataList IS TABLE OF tKeyValue;
    PROCEDURE PR_DO_INSERT(i_lData IN tDataList);     
    END;
    -----------------------------------------------------------------PK_EXCEL_TO_DB PACKAGE BODY-----------------------------------------------------
    PACKAGE BODY PK_EXCEL_TO_DB IS
    PROCEDURE PR_DO_INSERT(i_lData IN tDataList) IS
    CC_ROUTE VARCHAR2(255);
    VV_ROUTE VARCHAR2(1000);
    CC_TRNDATE VARCHAR2(255);
    VV_TRNDATE VARCHAR2(1000);
    CC_TTIME     VARCHAR2(255);
    VV_TTIME VARCHAR2(1000);
    CC_TID VARCHAR2(255);
    VV_TID VARCHAR2(1000);
    BEGIN
    FOR i IN 1..i_lData.count
    LOOP
    CC_ROUTE:=CC_ROUTE || ',' || i_ldata(i).CROUTE;
    VV_ROUTE:=VV_ROUTE|| ',''' || i_ldata(i).VROUTE || '''';
    CC_TRNDATE :=CC_TRNDATE || ',' || i_ldata(i).CTRNDATE ;
    VV_TRNDATE :=VV_TRNDATE || ',''' || i_ldata(i).VTRNDATE || '''';
    CC_TTIME :=CC_TTIME || ',' || i_ldata(i).CTTIME ;
    VV_TTIME :=VV_TTIME || ',''' || i_ldata(i).VTTIME || '''';
    CC_TID :=CC_TID || ',' || i_ldata(i).CTID ;
    VV_TID :=VV_TID || ',''' || i_ldata(i).VTID|| '''';
    END LOOP;
    --EXECUTE IMMEDIATE
    FORMS_DDL('INSERT INTO TEMP2 (' || SUBSTR(CC_ROUTE, 2) || ' ' ||
                                                      SUBSTR(CC_TRNDATE, 2) || ' ' ||
                                                      SUBSTR(CC_TTIME, 2) || '' ||
                                                      SUBSTR(CC_TID, 2) || ')
    VALUES (' || SUBSTR(VV_ROUTE,2) || ' ' ||
                                       SUBSTR(VV_TRNDATE,2) || '' ||
                                       SUBSTR(VV_TTIME,2) || ' ' ||
                                       SUBSTR(VV_TID,2)|| ')');
    commit;
    END;
    END;
    ------------------------------------------------------------------------PK_EXCEL_TO_DB PACKAGE BODY ENDS--------------------------------------
    Thank You
    Sameer.

    Hii Andreas Weiden,
    Sorry for replying late. I am very thankful to Francois and your for your suggestion. I've gone through the documentation of collection and finally i got the solution.
    But I am unable to insert rercord to the table. Values are passed to the procedure, i am able to see the values while debugging and i get the message
    'DATA INSERTED INTO THE TABLE' but when i check it with sql, the table is empty. I've tried commit and standard.commit, but it doesn't works. My modified code is given below.
    PROCEDURE get_excel IS
    APPLICATION OLE2.OBJ_TYPE;
         WORKBOOKS OLE2.OBJ_TYPE;
         WORKBOOK OLE2.OBJ_TYPE;
         WORKSHEETS OLE2.OBJ_TYPE;
         WORKSHEET OLE2.OBJ_TYPE;
         CELL OLE2.OBJ_TYPE;
         CTR NUMBER(12);
         COLS NUMBER(2);
         CELLVALUE VARCHAR2(89);
         C_ROUTE   VARCHAR2(255);
         V_ROUTE   VARCHAR2(1000);
         C_TRNDATE VARCHAR2(255);
         V_TRNDATE VARCHAR2(1000);
         C_TTIME       VARCHAR2(255);
         V_TTIME   VARCHAR2(1000);
         C_TID     VARCHAR2(255);
         V_TID     VARCHAR2(1000);
         FILENAME   VARCHAR2(500);
         v_path                        varchar2(1000):=:path;
         ARGS OLE2.OBJ_TYPE;
         i_ldata PK_EXCEL_TO_DB.tDataList:=PK_EXCEL_TO_DB.tDataList();
         tDataList     PK_EXCEL_TO_DB.tDataList;
    BEGIN
                   :progress:='Please wait...';
                   SYNCHRONIZE;
                   --------------INITIATE EXCEL APPLICATION---------------------------
                   filename := V_PATH;--GET_FILE_NAME('c:\', File_Filter=>'Excel Files (*.xls)|*.xls|'); -- to pick the file
                   APPLICATION := OLE2.CREATE_OBJ('EXCEL.APPLICATION');
                   OLE2.SET_PROPERTY(APPLICATION,'VISIBLE','FALSE');
                   ----------------GET WORKBOOKS FROM EXCEL APPLICATION---------------
                   WORKBOOKS := OLE2.GET_OBJ_PROPERTY(APPLICATION, 'WORKBOOKS');
                   ----------------OPEN REQUIRED WORKBOOK-----------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS, FILENAME);
                   WORKBOOK := OLE2.GET_OBJ_PROPERTY(WORKBOOKS,'OPEN',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ----------------OPEN REQUIRED WORKSHEET---------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,'Sheet1');
                   WORKSHEET := OLE2.GET_OBJ_PROPERTY (WORKBOOK,'WORKSHEETS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ----------------GET CELL VALUE-------------------------------------
                   ctr := 2; --row number
                   cols := 1; -- column number               
                        FIRST_RECORD;
                   LOOP
                        i_ldata.extend(ctr);
                        i_ldata.extend(cols);
                        --tDataList:=PK_EXCEL_TO_DB.tDataList();
                   -----------------------COLUMN1-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS); --COLS
                   OLE2.ADD_ARG(ARGS,1);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_ROUTE := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(cols).CROUTE:=C_ROUTE;           
                ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,1);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_ROUTE := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(ctr).VROUTE:=V_ROUTE;
                   -----------------------COLUMN2-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS);
                   OLE2.ADD_ARG(ARGS,2);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_TRNDATE:= OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(cols).CTRNDATE:=C_TRNDATE;
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,2);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_TRNDATE:= OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(ctr).vtrndate:=v_trndate;
                   -----------------------COLUMN3-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS);
                   OLE2.ADD_ARG(ARGS,3);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_TTIME := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(cols).CTTIME:=C_TTIME;
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,3);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_TTIME := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(ctr).vttime:=v_ttime;
                   -----------------------COLUMN4-------------------------------------
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,COLS);
                   OLE2.ADD_ARG(ARGS,4);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   C_TID := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(cols).CTID:=C_TID;
                   ARGS := OLE2.CREATE_ARGLIST;
                   OLE2.ADD_ARG(ARGS,CTR);
                   OLE2.ADD_ARG(ARGS,4);
                   CELL := OLE2.GET_OBJ_PROPERTY(WORKSHEET,'CELLS',ARGS);
                   OLE2.DESTROY_ARGLIST(ARGS);
                   ARGS := OLE2.CREATE_ARGLIST;
                   V_TID := OLE2.GET_CHAR_PROPERTY(CELL,'TEXT');
                   i_ldata(ctr).vtid:=v_tid;
         PK_EXCEL_TO_DB.PR_DO_INSERT(i_ldata);               
    --     i_ldata := PK_EXCEL_TO_DB.tDatalist();
    EXIT WHEN length(V_Route) = 0 or length(V_Route) is null;
    ctr := ctr + 1;
    cols := 1;
    END LOOP;
    :progress:='EXCEL READING IS DONE...';
    ----------------CLOSE THE EXCEL SHEET AFTER READING--------------
    OLE2.INVOKE(APPLICATION,'QUIT');
    -----------------RELEASE ALL OBJECTS
    OLE2.RELEASE_OBJ(CELL);
    OLE2.RELEASE_OBJ(WORKSHEET);
    OLE2.RELEASE_OBJ(WORKBOOK);
    OLE2.RELEASE_OBJ(WORKBOOKS);
    OLE2.RELEASE_OBJ(APPLICATION);
    :PROGRESS := 'DATA INSERTED INTO THE TABLE '; SYNCHRONIZE;
    SYNCHRONIZE;
    exception 
    WHEN OTHERS THEN
    MESSAGE(sqlerrm);
    END;Package specification and package body is
    PACKAGE PK_EXCEL_TO_DB IS
                 TYPE tKeyValue IS RECORD (
                             CROUTE VARCHAR2(255),
                             VROUTE VARCHAR2(1000),
                             CTRNDATE VARCHAR2(255),
                             VTRNDATE VARCHAR2(1000),
                             CTTIME      VARCHAR2(255),
                             VTTIME VARCHAR2(1000),
                             CTID VARCHAR2(255),
                             VTID VARCHAR2(1000));
           TYPE tDataList IS TABLE OF tKeyValue;
           PROCEDURE PR_DO_INSERT(i_lData IN tDataList);     
    END;
    -----------------------------------------------------------------PK_EXCEL_TO_DB PACKAGE BODY-----------------------------------------------------
    PACKAGE BODY PK_EXCEL_TO_DB IS
              PROCEDURE PR_DO_INSERT(i_lData IN tDataList) IS
              CC_ROUTE VARCHAR2(255);
              VV_ROUTE VARCHAR2(1000);
              CC_TRNDATE VARCHAR2(255);
              VV_TRNDATE VARCHAR2(1000);
              CC_TTIME      VARCHAR2(255);
              VV_TTIME VARCHAR2(1000);
              CC_TID VARCHAR2(255);
              VV_TID VARCHAR2(1000);
    BEGIN
            FOR i IN 1..i_lData.count
           LOOP
                        CC_ROUTE:=CC_ROUTE || ',' || i_ldata(i).CROUTE;
                        VV_ROUTE:=VV_ROUTE|| ',''' || i_ldata(i).VROUTE || '''';
                        CC_TRNDATE :=CC_TRNDATE || ',' || i_ldata(i).CTRNDATE ;
                        VV_TRNDATE :=VV_TRNDATE || ',''' || i_ldata(i).VTRNDATE || '''';
                        CC_TTIME :=CC_TTIME || ',' || i_ldata(i).CTTIME ;
                        VV_TTIME :=VV_TTIME || ',''' || i_ldata(i).VTTIME || '''';
                        CC_TID :=CC_TID || ',' || i_ldata(i).CTID ;
                        VV_TID :=VV_TID || ',''' || i_ldata(i).VTID|| '''';
             END LOOP;
              FORMS_DDL('INSERT INTO TEMP2 (' || SUBSTR(CC_ROUTE, 2) || ' ' ||
                                 SUBSTR(CC_TRNDATE, 2) || ' ' ||
                                 SUBSTR(CC_TTIME, 2) || '' ||
                                 SUBSTR(CC_TID, 2) || ')
                    VALUES (' || SUBSTR(VV_ROUTE,2) || ' ' ||
                                    SUBSTR(VV_TRNDATE,2) || '' ||
                                    SUBSTR(VV_TTIME,2) || ' ' ||
                                    SUBSTR(VV_TID,2)|| ')');
    --standard.commit;
          commit;
    END;
    END;Thanks
    Sam
    Edited by: sam8682 on May 13, 2013 2:35 PM

  • Referenced memory could not be read - error

    Hey, In an application on stop command, I exit from labivew on exit I get an error the referenced memory could not be read click ok to terminate program can any one suggest why this error is seen
    how this can be resolved?
    enclosed a screen shot of error
    Regards
    anil
    Attachments:
    error log.PNG ‏6 KB

    Hi AndreasC,
    This error message occurs when LabVIEW memory space goes corrupt and is often due a DLL or CIN code.
    There can be two reasons for this:
    1. Try removing all DLL calls in your code and see if it works. Most of the time, the corruption is traced to a call to a DLL function that has incorrectly passed inputs to the Call Library Function node, often by passing an uninitialized string or array, or by writing past the bounds of the string or array in the DLL function. Some DLL functions assume that a string buffer is presized to 256 bytes, 1 KB, or some other size. If a smaller sized string buffer is passed, the DLL can write past the buffer and corrupt the dataspace that follows.
    2. This error can also be caused when running a LabVIEW built executable. If the VI calls a WinAPI DLL function and uses the full path to the DLL in the Call Library Function Node, the LabVIEW Application Builder will create a copy of the DLL in the data directory of the executable. Some DLLs such as WinAPI DLLs should only reside in one location, such as C:\WINDOWS\system32, otherwise errors/crashes can occur when called. To prevent this, remove the DLL path in the Call Library Function Node when calling WinAPI DLLs.
    Some users have faced similar problems and the above solutions have worked for them.
    Here are the links to those discussions:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=67230&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=229434&view=by_date_ascending&page=1
    Regards,
    Ujjval

  • How to edit in photoshop cc from LR 5 it won't read the file, please help me!!!

    I can not get my updated lr 5 and photoshop cc to work together? I don't know how to fix this problem but it will not read my file to "edit in" photoshop cc. Please help me understand the change I need to make to help this process along? I know Lr 5 created a new version of the same catalog from lr 4.4 today. I just don't know how to make this work????

    Yes I'm having the same problem... it does say "Edit in Adobe Photoshop CC" on my newly downloaded version of both Lightroom 5 and Photoshop CC (both downloaded from Creative Cloud Desktop)
    LR 5 Info:
    Lightroom version: 5.0 [907681]
    Version: 10.8 [4]
    Application architecture: x64
    Logical processor count: 8
    Processor speed: 2.7 GHz
    Built-in memory: 16384.0 MB
    Real memory available to Lightroom: 16384.0 MB
    Real memory used by Lightroom: 649.2 MB (3.9%)
    Virtual memory used by Lightroom: 997.9 MB
    Memory cache size: 65.4 MB
    Maximum thread count used by Camera Raw: 4
    Displays: 1) 1920x1200
    Application folder: /Applications
    Library Path: /Users/hhr/Pictures/Rudd LR5 Catalog/Rudd LR5 Catalog.lrcat
    Settings Folder: /Users/hhr/Library/Application Support/Adobe/Lightroom
    Installed Plugins:
    1) 500px
    2) Behance
    3) Canon Tether Plugin
    4) ColorChecker Passport
    5) Export To Helicon Focus
    6) Facebook
    7) Flickr
    8) HDR Efex Pro
    9) HDR Efex Pro 2
    10) Imagenomic Portraiture
    11) jf Metadata Viewer
    12) Leica Tether Plugin
    13) LensTagger Exif Tool
    14) Nikon Tether Plugin
    15) Perfect Resize 7.5
    16) PhotoFrame
    17) SmugMug
    Config.lua flags: None
    AudioDeviceIOBlockSize: 512
    AudioDeviceName: Built-in Output
    AudioDeviceNumberOfChannels: 2
    AudioDeviceSampleRate: 44100
    Build: Uninitialized
    CoreImage: true
    GL_ACCUM_ALPHA_BITS: 0
    GL_ACCUM_BLUE_BITS: 0
    GL_ACCUM_GREEN_BITS: 0
    GL_ACCUM_RED_BITS: 0
    GL_ALPHA_BITS: 8
    GL_BLUE_BITS: 8
    GL_DEPTH_BITS: 24
    GL_GREEN_BITS: 8
    GL_MAX_3D_TEXTURE_SIZE: 2048
    GL_MAX_TEXTURE_SIZE: 16384
    GL_MAX_TEXTURE_UNITS: 8
    GL_MAX_VIEWPORT_DIMS: 16384,16384
    GL_RED_BITS: 8
    GL_RENDERER: NVIDIA GeForce GT 650M OpenGL Engine
    GL_SHADING_LANGUAGE_VERSION: 1.20
    GL_STENCIL_BITS: 8
    GL_VENDOR: NVIDIA Corporation
    GL_VERSION: 2.1 NVIDIA-8.12.47 310.40.00.05f01
    GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
    PS CC Info:
    Adobe Photoshop Version: 14.0 (14.0 20130423.r.221 2013/04/23:23:00:00) x64
    Operating System: Mac OS 10.8.4
    System architecture: Intel CPU Family:6, Model:58, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 2700 MHz
    Built-in memory: 16384 MB
    Free memory: 9616 MB
    Memory available to Photoshop: 14299 MB
    Memory used by Photoshop: 70 %
    Image tile size: 1024K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    OpenCL Unavailable
    OpenGL Version: 2.1
    Video Rect Texture Size: 16384
    OpenGL Memory: 951 MB
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: NVIDIA GeForce GT 650M OpenGL Engine
    Display: 1
    Main Display
    High DPI Monitor
    Display Depth: 32
    Display Bounds: top=0, left=0, bottom=1200, right=1920
    Video Renderer ID: 16918087
    Video Card Memory: 1024 MB
    Serial number: 90970889698195257690
    Application folder: /Applications/Adobe Photoshop CC/
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 698.6G, 305.7G free
    Required Plug-ins folder: /Applications/Adobe Photoshop CC/Adobe Photoshop CC.app/Contents/Required/
    Primary Plug-ins folder: /Applications/Adobe Photoshop CC/Plug-ins/
    Installed components:
       adbeape.framework   adbeape   3.4.0.29366   0.1160850
       AdbeScriptUIFlex.framework   AdbeScriptUIFlex   6.3.2.30746   79.535742
       adobe_caps.framework   adobe_caps   7.0.0.21   1.248010
       AdobeACE.framework   AdobeACE   2.20.02.30665   79.535293
       AdobeAGM.framework   AdobeAGM   4.30.19.30830   79.536232
       AdobeAXE8SharedExpat.framework   AdobeAXE8SharedExpat   3.7.101.18636   66.26830
       AdobeAXEDOMCore.framework   AdobeAXEDOMCore   3.7.101.18636   66.26830
       AdobeBIB.framework   AdobeBIB   1.2.03.30665   79.535293
       AdobeBIBUtils.framework   AdobeBIBUtils   1.1.01   79.535293
       AdobeCoolType.framework   AdobeCoolType   5.13.00.30665   79.535293
       AdobeCrashReporter.framework   AdobeCrashReporter   7.0.1  
       AdobeExtendScript.framework   AdobeExtendScript   4.5.5.30746   79.535742
       AdobeJP2K.framework   AdobeJP2K   1.2.2.29712   79.248139
       AdobeLinguistic.framework      19061  
       AdobeMPS.framework   AdobeMPS   5.8.1.30604   79.535029
       AdobeOwl.framework   AdobeOwl   5.0.13   79.533484
       AdobePDFL.framework   AdobePDFL   10.0.1.30505   79.499517
       AdobePDFSettings.framework   AdobePDFSettings   1.4  
       AdobePIP.framework   AdobePIP   7.0.0.1768  
       AdobeScCore.framework   AdobeScCore   4.5.5.30746   79.535742
       AdobeUpdater.framework   AdobeUpdater   6.0.0.1452   "52.338651"
       AdobeXMP.framework   AdobeXMPCore   79.151481   79.151481
       AdobeXMPFiles.framework   AdobeXMPFiles   79.151481   79.151481
       AdobeXMPScript.framework   AdobeXMPScript   79.151481   79.151481
       ahclient.framework   ahclient   1.8.0.31  
       aif_core.framework   AdobeAIF   5.0.00   79.534508
       aif_ocl.framework   AdobeAIF   5.0.00   79.534508
       aif_ogl.framework   AdobeAIF   5.0.00   79.534508
       AlignmentLib.framework   xcode   Copyright © 2013 Adobe Systems Incorporated  
       amtlib.framework   amtlib   7.0.0.169  
       boost_date_time.framework   boost_date_time   7.0.0.0  
       boost_signals.framework   boost_signals   7.0.0.0  
       boost_system.framework   boost_system   7.0.0.0  
       boost_threads.framework   boost_threads   7.0.0.0  
       Cg.framework   NVIDIA Cg     
       CIT.framework   CIT   2.1.6.30158   151334
       CITThreading.framework   CITThreading   2.1.6.30158   151334
       dvaaudiodevice.framework   dvaaudiodevice   7.0.0.0  
       dvacore.framework   dvacore   7.0.0.0  
       dvamarshal.framework   dvamarshal   7.0.0.0  
       dvamediatypes.framework   dvamediatypes   7.0.0.0  
       dvaplayer.framework   dvaplayer   7.0.0.0  
       dvatransport.framework   dvatransport   7.0.0.0  
       dvaunittesting.framework   dvaunittesting   7.0.0.0  
       dynamiclink.framework   dynamiclink   7.0.0.0  
       FileInfo.framework   FileInfo   79.151561   79.151561
       filter_graph.framework   AdobeAIF   5.0.00   79.534508
       ICUConverter.framework   ICUConverter   3.61   "gtlib_3.0" "." "16615"
       ICUData.framework   ICUData   3.61   "gtlib_3.0" "." "16615"
       LogSession.framework   LogSession   2.1.2.1756  
       mediacoreif.framework   mediacoreif   7.0.0.0  
       patchmatch.framework   AdobePatchMatch   1.1.00.1   1.
       PlugPlugOwl.framework   PlugPlugOwl   4.0.1.34  
       UpdaterNotifications.framework   UpdaterNotifications   7.0.1.102   "7.0.1.102"
       WRServices.framework        
    Required plug-ins:
       3D Studio 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
       Accented Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Adaptive Wide Angle 14.0, Copyright © 2013 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
       Angled Strokes 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Average 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “Average.plugin”
       Bas Relief 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       BMP 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Camera Raw 8.1 (43), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Camera Raw Filter 8.1 (43), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Chalk & Charcoal 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Charcoal 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Chrome 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Cineon 14.0 20130423.r.221 2013/04/23:23:00:00  ©2002-2013 Adobe Systems Incorporated - from the file “Cineon.plugin”
       Clouds 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Collada DAE 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
       Color Halftone 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Colored Pencil 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       CompuServe GIF 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Conté Crayon 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Craquelure 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crop and Straighten Photos 14.0 20130423.r.221 2013/04/23:23:00:00  ©2003-2013 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
       Crop and Straighten Photos Filter 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Crosshatch 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crystallize 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Cutout 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Dark Strokes 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       De-Interlace 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dicom 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “dicom.plugin”
       Difference Clouds 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Diffuse Glow 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Displace 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dry Brush 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Eazel Acquire 14.0 20130423.r.221 2013/04/23:23:00:00  ©1997-2013 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
       Embed Watermark NO VERSION - from the file “DigiSign.plugin”
       Entropy 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Extrude 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       FastCore Routines 14.0 20130423.r.221 2013/04/23:23:00:00  ©1990-2013 Adobe Systems Incorporated - from the file “FastCore.plugin”
       Fibers 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Film Grain 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Filter Gallery 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Flash 3D 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
       Fresco 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glass 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glowing Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Google Earth 4 KMZ 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
       Grain 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Graphic Pen 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Halftone Pattern 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       HDRMergeUI 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
       IFF Format 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Ink Outlines 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       JPEG 2000 14.0 20130423.r.221 2013/04/23:23:00:00  ©2001-2013 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
       Kurtosis 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Lens Blur 14.0, Copyright © 2002-2013 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
       Lens Correction 14.0, Copyright © 2002-2013 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
       Lens Flare 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Liquify 14.0, Copyright © 2001-2013 Adobe Systems Incorporated - from the file “Liquify.plugin”
       Matlab Operation 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Maximum 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mean 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Measurement Core 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
       Median 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mezzotint 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Minimum 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       MMXCore Routines 14.0 20130423.r.221 2013/04/23:23:00:00  ©1990-2013 Adobe Systems Incorporated - from the file “MMXCore.plugin”
       Mosaic Tiles 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Multiprocessor Support 14.0 20130423.r.221 2013/04/23:23:00:00  ©1990-2013 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
       Neon Glow 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Note Paper 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       NTSC Colors 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
       Ocean Ripple 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Oil Paint 14.0, Copyright © 2013 Adobe Systems Incorporated - from the file “Oil Paint.plugin”
       OpenEXR 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Paint Daubs 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Palette Knife 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Patchwork 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Paths to Illustrator 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       PCX 14.0 20130423.r.221 2013/04/23:23:00:00  ©1989-2013 Adobe Systems Incorporated - from the file “PCX.plugin”
       Photocopy 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Photoshop 3D Engine 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
       Picture Package Filter 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Pinch 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pixar 14.0 20130423.r.221 2013/04/23:23:00:00  ©1989-2013 Adobe Systems Incorporated - from the file “Pixar.plugin”
       Plaster 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Plastic Wrap 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       PNG 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pointillize 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Polar Coordinates 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Portable Bit Map 14.0 20130423.r.221 2013/04/23:23:00:00  ©1989-2013 Adobe Systems Incorporated - from the file “PBM.plugin”
       Poster Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Radial Blur 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Radiance 14.0 20130423.r.221 2013/04/23:23:00:00  ©2003-2013 Adobe Systems Incorporated - from the file “Radiance.plugin”
       Range 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Read Watermark NO VERSION - from the file “DigiRead.plugin”
       Reticulation 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Ripple 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Rough Pastels 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Save for Web 14.0, Copyright © 1999-2013 Adobe Systems Incorporated - from the file “Save for Web.plugin”
       ScriptingSupport 13.0, Copyright © 2013 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
       Shake Reduction 14.0, Copyright © 2013 Adobe Systems Incorporated - from the file “Shake Reduction.plugin”
       Shear 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Skewness 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Smart Blur 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Smudge Stick 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Solarize 14.0 20130423.r.221 2013/04/23:23:00:00  ©1993-2013 Adobe Systems Incorporated - from the file “Solarize.plugin”
       Spatter 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Spherize 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Sponge 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Sprayed Strokes 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stained Glass 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stamp 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Standard Deviation 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       STL 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
       Sumi-e 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Summation 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Targa 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Texturizer 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Tiles 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Torn Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Twirl 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Underpainting 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Vanishing Point 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
       Variance 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
       Water Paper 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Watercolor 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Wave 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wavefront|OBJ 14.0 20130423.r.221 2013/04/23:23:00:00  ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
       Wind 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wireless Bitmap 14.0 20130423.r.221 2013/04/23:23:00:00  ©1989-2013 Adobe Systems Incorporated - from the file “WBMP.plugin”
       ZigZag 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
    Optional and third party plug-ins:
       Alien Skin Autolayer 4 Autolayer 4.0.0.112 20463 Copyright © 2011 Alien Skin Software, LLC - from the file “Alien Skin Autolayer 4.8li.plugin”
       Color Efex Pro 4 4.005, Copyright © 2000-2012 Nik Software Inc. - from the file “Color Efex Pro 4.plugin”
       HDR Efex Pro 1.204, Copyright © 2000-2012 Nik Software Inc. - from the file “HDR Efex Pro Tonemapping.plugin”
       HDR Efex Pro 2 2.002, Copyright © 2000-2012 Nik Software Inc. - from the file “HDR Efex Pro 2.plugin”
       HDR Efex Pro Metadata 1.204, Copyright © 2000-2012 Nik Software Inc. - from the file “HDR Efex Pro Metadata.plugin”
       Hidden Proxy Filter NO VERSION - from the file “PhotoFrame 4.6 Professional Edition.plugin”
       Imagenomic Plug-in Console 1.2 (c) 2010 Imagenomic, LLC. - from the file “ImagenomicPluginConsole.plugin”
       Merge to HDR Efex Pro 1.204, Copyright © 2000-2012 Nik Software Inc. - from the file “HDR Efex Pro Automation.plugin”
       Merge to HDR Efex Pro 2 2.002, Copyright © 2000-2012 Nik Software Inc. - from the file “HDR Efex Pro 2 Automation.plugin”
       Nik Selective Tool 2.104, Copyright © 2000-2012 Nik Software Inc. - from the file “SelectivePalette.plugin”
       Noiseware 5.0 © 2004-2012 Imagenomic, LLC - from the file “Noiseware.plugin”
       Noiseware 5.0.1 © 2004-2012 Imagenomic, LLC - from the file “Noiseware.plugin”
       Perfect Resize 7.5 7.5.1, Copyright © 2013 onOne Software.  All rights reserved. - from the file “Perfect Resize 7.5.plugin”
       Perfect Resize 7.5 Engine Automation 7.5.1, Copyright © 2013 onOne Software.  All rights reserved. - from the file “Perfect Resize 7.5.plugin”
       Perfect Resize 7.5 Engine Filter 7.5.1, Copyright © 2013 onOne Software.  All rights reserved. - from the file “Perfect Resize 7.5.plugin”
       Perfect Resize 7.5 Filter 7.5.1, Copyright © 2013 onOne Software.  All rights reserved. - from the file “Perfect Resize 7.5.plugin”
       Perfect Resize Format 7.5.1, Copyright © 2013 onOne Software.  All rights reserved. - from the file “Perfect Resize 7.5.plugin”
       PhotoFrame 4.6 Professional Edition 4.6.7, Copyright © 2012 onOne Software. All rights reserved. - from the file “PhotoFrame 4.6 Professional Edition Automation.plugin”
       PhotoFrame 4.6 Professional Edition Batch 4.6.7, Copyright © 2012 onOne Software.  All rights reserved. - from the file “PhotoFrame 4.6 Professional Edition Batch.plugin”
       PhotoFrame 4.6 Professional Edition Hidden NO VERSION - from the file “PhotoFrame 4.6 Professional Edition.plugin”
       Portraiture 2.3 © 2004-2012 Imagenomic, LLC - from the file “Portraiture.plugin”
       Silver Efex Pro 2 2.005, Copyright © 2000-2012 Nik Software Inc. - from the file “Silver Efex Pro 2.plugin”
       Snap Art 3 Snap Art 3 3.0.0.746 20593 Copyright © 2011 Alien Skin Software, LLC - from the file “Alien Skin Snap Art 3 Photoshop.8bf.plugin”
       Topaz Detail 3 CS3 (10.0) ©1993-2007 Adobe Systems Incorporated - from the file “Topaz_detail3.plugin”
       Topaz InFocus CS3 (10.0) ©1993-2007 Adobe Systems Incorporated - from the file “Topaz_infocus.plugin”
       Topaz Simplify 4 CS3 (10.0) ©1993-2007 Adobe Systems Incorporated - from the file “Topaz_simplify4.plugin”
       Viveza 2 NO VERSION - from the file “Viveza2.plugin”
    Plug-ins that failed to load: NONE
    Flash:
       Adobe Exchange
       Kuler
    Installed TWAIN devices: NONE

  • How can I read fast 50 MB Excel file in LabVIEW

    Hi,
    I have created a datalog file containing string i/p and having extension ".exl". File size is around 50 MB. When I read this file using LabVIEW, it takes 1/2 hour to display data in Array. How can I minimize this read time in LabVIEW. Or is there any options available to create large datalog files with string i/p and read it fast?
    Examples are well appriciated.
    Thanks.

    What kind of file is it? If you are writing datalog files, there is no reason for giving them excel (.xls) extensions. Excel cannot read datalog files. The other way around, native excel files cannot directly be read by Labview.
    In general terms this is what you may look into:
    -use a compact file format like (real)datalog, fully binary or at worst plain ascii text file.
    -you do not have to read the whole file into memory at once, depending on your application.
    -look at your (RAM) memory space: it sounds like you are running very low on memory and the OS needs to pagefile most of it. Try closing all unnecesary programs and/or buy more memory. Also look for memory hogging inside your code: releasing data that is no longer needed will free memory used by labview. "Uninitialized" arrays for example may seriously slow down a computer.
    my two cents,
    aartjan

  • ORABPEL-77005 Uninitialized data element

    Hi,
    I created BPM process and I used BusinessRuleTask in it.
    During testing I get:
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><subLanguageExecutionFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is bpmn:getDataOutput('ruleOutput'). The XPath expression failed to execute; the reason was: ORABPEL-77005 Uninitialized data element. DataOutput ruleOutput is not initialized in flow element BusinessRuleTask. Make sure to initialize DataOutput ruleOutput before using it in flow element BusinessRuleTask. Contact oracle support to resolve the issue. . Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary></part><part name="code"><code>XPathExecutionError</code></part></subLanguageExecutionFault></bpelFault>
    Before BusinessRuleTask step I initialized ruleOutput, but the result is the same..
    have you any idea what's wrong?

    Sharing another scenario as it might help others.
    Instead of "DataOutput [variable] is not initialized" I encountered
    Uninitialized data element.
    DataInput execData is not initialized in flow element [task name]
    Make sure to initialize DataInput execData before using it in flow element [process name]
    The issue was in the log-handler (Before Output association) of the human-task, I logged the task execData (which is a system variable that gets populated with task execution data).
    ora:getContentAsString(bpmn:getDataOutput('execData'))
    The problem was resolved after I removed the above statement from the log handler.

  • Db::stat returns uninitialized values (Windows, BDB 4.6.21)

    Hi,
    I am attempting to use Db::stat to get some information about my db, but I can't
    get any data from the call. The return value is zero, but the contents of the struct
    with the data are not initialized.
    I'm using BDB 4.6.21 on Windows XP Professional (completely patched).
    I am using VS 2008 for debugging/developing.
    I am statically linking my application with libdb46sd.lib (debug build).
    My code looks something like this (I left out code that cleans up in case of errors for brevity):
    int rc = 0;
    u_int32_t flags = DB_CREATE | DB_THREAD | DB_INIT_CDB | DB_INIT_MPOOL;
    DbEnv *dbEnv = new DbEnv(DB_CXX_NO_EXCEPTIONS);
    if((rc = dbEnv->open(tpDataDir.cStr(), flags, 0)) != 0) {
    return;
    Db *theDbToOpen = new Db(env, 0);
    if ((rc = theDbToOpen->open(NULL, dbName.c_str(), NULL, DB_HASH, DB_CREATE, 0)) != 0) {
    return;
    DB_HASH_STAT sp = (DB_HASH_STAT ) malloc(sizeof(DB_HASH_STAT));
    if ((rc = theDbToOpen->stat(NULL, (void *)sp, 0)) != 0) {
    return;
    rc is always zero (success) after these calls.
    However, when I use the debugger to look at the contents of sp (the DB_HASH_STAT struct)
    the value of hash_magic is 0x00cf2580 and the values of all other members of sp are
    0xcdcdcdcd (uninitialized memory).
    Note: the db specified by dbName is pre-existing - it has quite a bit of data in it.
    Inserting and retrieving data to the db works fine - it is just this call that does not work.
    I am not using transactions.
    Note: I have had no better luck with Db::stat_print and I cannot successfully run
    db_stat from the DOS prompt.
    Any suggestions on what I missed, or what to try next?
    Thanks,
    Eric
    Edited by: echawkes on Oct 6, 2008 6:28 PM
    Edited by: echawkes on Oct 6, 2008 6:33 PM

    Hi,
    Below is a program that demonstrates this problem.
    If you could point out the difference between my code and
    your working code, I would be grateful.
    Thanks,
    Eric
    #include <Windows.h>
    #include <errno.h>
    #include "../../db-4.6.21/build_windows/db_cxx.h"
    void printInfo();
    DbEnv *getDatabaseEnvironment();
    Db allocateNewDbHandle(const char dbName);
    void statDb();
    const char *dbEnvHome = "D:\\bdb\\bdbtest\\";
    const char *dbToStat = "D:\\bdb\\bdbtest\\testStat.db";
    const char *bdbLogFile = "D:\\bdb\\bdbtest\\bdblog.txt";
    DbEnv *dbEnv = NULL;
    Db *dbh = NULL;
    int main(int, char **)
    printInfo();
    dbEnv = getDatabaseEnvironment();
    dbh = allocateNewDbHandle(dbToStat);
    statDb();
    void printInfo()
    int major, minor, patch;
    char *bdbVersion = DbEnv::version(&major, &minor, &patch);
    printf("BDB version [%s]\n", bdbVersion);
    DbEnv *getDatabaseEnvironment()
    int rc = 0;
    u_int32_t flags = DB_CREATE | DB_THREAD | DB_INIT_CDB | DB_INIT_MPOOL;
    DbEnv *env = new DbEnv(DB_CXX_NO_EXCEPTIONS);
    if ((rc = env->open(dbEnvHome, flags, 0)) != 0)
    printf("Attempt to create BDB environment failed: error=%d [%s]\n",
    rc, DbEnv::strerror(rc));
    env->close(0);
    delete env;
    return NULL;
    return env;
    Db allocateNewDbHandle(const char dbName)
    int rc = 0;
    Db *theDbToOpen = new Db(dbEnv, 0);
    if ((rc = theDbToOpen->open(NULL, dbName, NULL, DB_HASH, DB_CREATE, 0)) != 0)
    printf("FAILED to open db handle error=%d [%s]\n", rc,
    DbEnv::strerror(rc));
    theDbToOpen->close(0);
    delete theDbToOpen;
    theDbToOpen = NULL;
    return theDbToOpen;
    void statDb()
    int rc;
    DB_HASH_STAT sp = (DB_HASH_STAT ) malloc(sizeof(DB_HASH_STAT));
    if ((rc = dbh->stat(NULL, (void *)sp, DB_FAST_STAT)) != 0)
    //if ((rc = dbh->stat(NULL, (void *)sp, 0)) != 0)
    printf("FAILED to remove db [%s] error=%d [%s]\n", dbToStat, rc,
    DbEnv::strerror(rc));
    free(sp);
    return;
    printf("For db=[%s]\nHash magic=%u\nHash db version=%u\n\n",
    dbToStat, sp->hash_magic, sp->hash_version);
    free(sp);
    }

  • Error report: ORA-06531: Reference to uninitialized collection

    I have Procedure like this
    declare
    CURSOR lcu_emp
      IS
        (SELECT *
        FROM
      emp);
    ln_count PLS_INTEGER := 1;
      TYPE emp_TBL_TYPE
    IS
      TABLE OF LCU_emp%ROWTYPE;
      LT_emp emp_TBL_TYPE;
    begin
    FOR Lr_EMP IN LCU_EMP
      LOOP
        ln_count             :=1;
    Lr_EMP.EMP_NO:='1234';  -- updating the loop variable ... just for eg its 1234
    --Transferring the loop variable to collection
    lt_PREV_ASSIGN(ln_count):= Lr_PREV_ASSIGN;   -- THis line its errorring it as Error report: ORA-06531: Reference to uninitialized collection
      END LOOP;
    FOR lr_emp IN lt_emp.FIRST..lt_emp.LAST
      LOOP
    -- printing records when  LT_emp (lr_emp ).emp_no = 1234;
    END LOOP;
    end;Please help how to assign cursor record to collection...
    Thanks
    Vinoth.

    The realtime procedure is below... i thought it will be easy for u guys to understand
    PROCEDURE MAIN(
        P_ERRBUFF OUT VARCHAR2,
        P_RETCODE OUT NUMBER,
        P_BUSINESS_GROUP_ID IN NUMBER,
        P_EFFECTIVE_DATE    IN VARCHAR2,
        p_debug_flag        IN VARCHAR2 )
    AS
      LN_ELEMENT_LINK_ID pay_element_links_f.element_link_id%TYPE;
      LN_INPUT_VALUE_ID1 pay_input_values_f.input_value_id%TYPE;
      LN_INPUT_VALUE_ID2 pay_input_values_f.input_value_id%TYPE;
      ld_effective_start_date pay_element_entries_f.effective_start_date%TYPE;
      LD_EFFECTIVE_END_DATE PAY_ELEMENT_ENTRIES_F.EFFECTIVE_END_DATE%TYPE;
      LN_ELEMENT_ENTRY_ID PAY_ELEMENT_ENTRIES_F.ELEMENT_ENTRY_ID%TYPE;
      ln_object_version_number pay_element_entries_f.object_version_number%TYPE;
      lc_create_warning BOOLEAN;
      CURSOR lcu_prev_assign
      IS
        (SELECT *
        FROM
          (SELECT P_PAAF.ASSIGNMENT_ID PREV_ASSIGNMENT_ID,
            C_PAAF.ASSIGNMENT_ID CURR_ASSIGNMENT_ID,
            PAP.ACCRUAL_PLAN_NAME ACCRUAL_PLAN_NAME,
            APPS.PER_UTILITY_FUNCTIONS.GET_NET_ACCRUAL ( P_PAAF.ASSIGNMENT_ID, P_PAAF.PAYROLL_ID , P_PAAF.BUSINESS_GROUP_ID, -1 , TRUNC(XPPOS.PREV_ACTUAL_TERMINATION_DATE) , PAP.ACCRUAL_PLAN_ID) NET_ACCRUAL,
            XPPOS.PERIOD_OF_SERVICE_ID,
            XPPOS.PERSON_ID,
            XPPOS.CURRENT_DATE_START ,
            XPPOS.PREVIOUS_DATE_START,
            XPPOS.CURR_ACTUAL_TERMINATION_DATE,
            XPPOS.PREV_ACTUAL_TERMINATION_DATE ,
            XPPOS.PREV_LSP_DATE PREV_LSP_DATE,
            P_PAAF.BUSINESS_GROUP_ID PREV_BG_ID ,
            c_paaf.business_group_id curr_bg_id ,
            'N' NEW_ASSIGNMENT_ELEIGIBLE ,
            NULL PTO_ELIGBLE_DATE,
            NULL status,
            NULL ERROR_MESSAGE,
            NULL PREV_ASS_ELEMENT_ENTRY_ID,
            null curr_ass_element_entry_id
          FROM
            (SELECT PERIOD_OF_SERVICE_ID,
              PERSON_ID,
              DATE_START CURRENT_DATE_START,
              LEAD(DATE_START,1,NULL) OVER(PARTITION BY PERSON_ID ORDER BY DMY_ORDER) PREVIOUS_DATE_START,
              ACTUAL_TERMINATION_DATE CURR_ACTUAL_TERMINATION_DATE,
              LEAD(ACTUAL_TERMINATION_DATE,1,NULL) OVER(PARTITION BY PERSON_ID ORDER BY DMY_ORDER) PREV_ACTUAL_TERMINATION_DATE,
              lead(last_standard_process_date ,1,NULL) over(PARTITION BY person_id ORDER BY DMY_ORDER) prev_lsp_date,
              row_number() over (PARTITION BY person_id ORDER BY date_start DESC) DMY_SLCT
            FROM
              (SELECT period_of_service_id ,
                PERSON_ID ,
                DATE_START,
                ACTUAL_TERMINATION_DATE,
                last_standard_process_date,
                COUNT(PERSON_ID) OVER (PARTITION BY PERSON_ID) "CNT",
                row_number() over (PARTITION BY person_id ORDER BY date_start DESC) "DMY_ORDER"
              FROM PER_PERIODS_OF_SERVICE PPOS
          WHERE CNT     >=2
          AND DMY_ORDER IN (1,2)
            ) XPPOS,
            PER_ALL_ASSIGNMENTS_F C_PAAF ,
            PER_ALL_ASSIGNMENTS_F P_PAAF,
            PAY_ELEMENT_ENTRIES_F P_PEEF,
            PAY_ACCRUAL_PLANS PAP,
            PER_PERSON_TYPE_USAGES_F P_PPTUF,
            PER_PERSON_TYPES P_PPT
          WHERE XPPOS.DMY_SLCT =1
          AND C_PAAF.PERSON_ID = XPPOS.PERSON_ID
          AND TRUNC(CURRENT_DATE_START) BETWEEN C_PAAF.EFFECTIVE_START_DATE AND C_PAAF.EFFECTIVE_END_DATE
          AND C_PAAF.PRIMARY_FLAG = 'Y'
          AND P_PAAF.PERSON_ID    = XPPOS.PERSON_ID
          AND TRUNC(prev_actual_termination_date) BETWEEN P_PAAF.EFFECTIVE_START_DATE AND P_PAAF.EFFECTIVE_END_DATE
          AND P_PAAF.PRIMARY_FLAG  = 'Y'
          AND P_PEEF.ASSIGNMENT_ID = P_PAAF.ASSIGNMENT_ID
          AND TRUNC(PREV_ACTUAL_TERMINATION_DATE) BETWEEN P_PEEF.EFFECTIVE_START_DATE AND P_PEEF.EFFECTIVE_END_DATE
          AND PAP.ACCRUAL_PLAN_ELEMENT_TYPE_ID = P_PEEF.ELEMENT_TYPE_ID
          AND C_PAAF.BUSINESS_GROUP_ID         = P_BUSINESS_GROUP_ID
          AND TRUNC(PREV_ACTUAL_TERMINATION_DATE) BETWEEN P_PPTUF.EFFECTIVE_START_DATE AND P_PPTUF.EFFECTIVE_END_DATE
          AND P_PPTUF.PERSON_ID                                                                                                                                                                       = P_PAAF.PERSON_ID
          AND P_PPTUF.PERSON_TYPE_ID                                                                                                                                                                  = P_PPT.PERSON_TYPE_ID
          AND P_PPT.SYSTEM_PERSON_TYPE                                                                                                                                                               IN ('EMP', 'EMP_APL')
          AND P_PAAF.EMPLOYMENT_CATEGORY                                                                                                                                                             IN ('LOCAL' , 'FR')
          AND C_PAAF.ASSIGNMENT_ID                                                                                                                                                                    = 83528
          AND APPS.PER_UTILITY_FUNCTIONS.GET_NET_ACCRUAL ( P_PAAF.ASSIGNMENT_ID, P_PAAF.PAYROLL_ID , P_PAAF.BUSINESS_GROUP_ID, -1 , TRUNC(XPPOS.PREV_ACTUAL_TERMINATION_DATE) , PAP.ACCRUAL_PLAN_ID) <> 0
          ORDER BY NEW_ASSIGNMENT_ELEIGIBLE
        CURSOR LCU_PTO_ELGIBLE(P_ASSIGNMENT_ID NUMBER , P_PLAN_NAME VARCHAR2 , P_EFF_DATE DATE)
        IS
          (SELECT MIN(peef.EFFECTIVE_START_DATE) pto_eligble_date
          FROM PAY_ELEMENT_ENTRIES_F PEEF,
            PAY_ELEMENT_TYPES_F PETF
          WHERE PEEF.ASSIGNMENT_ID = P_ASSIGNMENT_ID
          AND PETF.element_NAME    = P_PLAN_NAME
          AND TRUNC(p_eff_date) BETWEEN petf.effective_start_date AND petf.effective_end_date
        CURSOR LCU_ELEMENT_LINK(p_plan_name VARCHAR2,p_eff_date DATE)
        IS
          (SELECT PIVF1.INPUT_VALUE_ID INPUT_VALUE_ID1,
            PIVF2.INPUT_VALUE_ID INPUT_VALUE_ID2,
            PELF.ELEMENT_LINK_ID
          FROM PAY_ELEMENT_LINKS_F PELF ,
            PAY_ELEMENT_TYPES_F PETF,
            pay_input_values_f pivf1 ,
            pay_input_values_f pivf2
          WHERE PELF.ELEMENT_TYPE_ID = PETF.ELEMENT_TYPE_ID
          AND PIVF1.ELEMENT_TYPE_ID  = PETF.ELEMENT_TYPE_ID
          AND PIVF2.ELEMENT_TYPE_ID  = PETF.ELEMENT_TYPE_ID
          AND TRUNC(P_EFF_DATE) BETWEEN PELF.EFFECTIVE_START_DATE AND PELF.EFFECTIVE_END_DATE
          AND TRUNC(P_EFF_DATE) BETWEEN PETF.EFFECTIVE_START_DATE AND PETF.EFFECTIVE_END_DATE
          AND TRUNC(P_EFF_DATE) BETWEEN PIVF1.EFFECTIVE_START_DATE AND PIVF1.EFFECTIVE_END_DATE
          AND TRUNC(p_eff_date) BETWEEN pivf2.effective_start_date AND pivf2.effective_end_date
          AND ELEMENT_NAME = p_plan_name
            ||' RollOver Adj'
          AND PIVF2.NAME             = 'Hours'
          AND PIVF1.NAME             = 'Effective Date'
          AND petf.BUSINESS_GROUP_ID = P_BUSINESS_GROUP_ID
        ln_count PLS_INTEGER := 1;
      TYPE PREV_ASSIGN_TBL_TYPE
    IS
      TABLE OF LCU_PREV_ASSIGN%ROWTYPE;
      LT_PREV_ASSIGN PREV_ASSIGN_TBL_TYPE;
      --LR_PREV_ASSIGN LCU_PREV_ASSIGN%ROWTYPE;
      --Lb_PREV_ASSIGN LCU_PREV_ASSIGN%ROWTYPE;
    BEGIN
      FOR Lr_PREV_ASSIGN IN LCU_PREV_ASSIGN
      LOOP
        ln_count             :=1;
        LN_ELEMENT_LINK_ID   := NULL;
        LN_INPUT_VALUE_ID1   := NULL;
        LN_INPUT_VALUE_ID2   := NULL;
        FOR LRU_ELEMENT_LINK IN LCU_ELEMENT_LINK (Lr_PREV_ASSIGN.ACCRUAL_PLAN_NAME,LR_PREV_ASSIGN.PREV_LSP_DATE )
        LOOP
          LN_ELEMENT_LINK_ID :=LRU_ELEMENT_LINK.ELEMENT_LINK_ID;
          LN_INPUT_VALUE_ID1 := LRU_ELEMENT_LINK.input_value_id1;
          LN_INPUT_VALUE_ID2 := LRU_ELEMENT_LINK.INPUT_VALUE_ID2;
          BEGIN
            apps.pay_element_entry_api.create_element_entry ( P_EFFECTIVE_DATE => LR_PREV_ASSIGN.PREV_LSP_DATE, P_BUSINESS_GROUP_ID => LR_PREV_ASSIGN.PREV_BG_ID ,p_assignment_id => Lr_PREV_ASSIGN.prev_assignment_id ,p_element_link_id => ln_element_link_id ,p_entry_type => 'E'
            --,p_creator_type => 'F'
            --,p_cost_allocation_keyflex_id => cost_keyflex_id
            --,p_date_earned => l_week_ending_date
            ,p_input_value_id1 => LN_INPUT_VALUE_ID1 ,p_input_value_id2 => LN_INPUT_VALUE_ID2
            --,p_input_value_id3 => l_inp_value3_id
            --,p_input_value_id4 => l_inp_value4_id
            ,P_ENTRY_VALUE1 => LR_PREV_ASSIGN.PREV_ACTUAL_TERMINATION_DATE ,p_entry_value2 => (-1)* LR_PREV_ASSIGN.net_accrual
            --,p_entry_value3 => l_constant_all_deductions
            --,p_entry_value4 => l_constant_no
            ,p_effective_start_date => ld_effective_start_date ,p_effective_end_date => ld_effective_end_date ,p_element_entry_id => ln_element_entry_id ,p_object_version_number => ln_object_version_number ,P_CREATE_WARNING => LC_CREATE_WARNING );
            LR_PREV_ASSIGN.STATUS                    :='P';
            Lr_PREV_ASSIGN.prev_ass_element_entry_id := ln_element_entry_id;
          EXCEPTION
          WHEN OTHERS THEN
            LR_PREV_ASSIGN.STATUS        :='E';
            Lr_PREV_ASSIGN.error_message := SQLERRM;
          END;
        END LOOP;
        FOR LR_PTO_ELGIBLE IN LCU_PTO_ELGIBLE(LR_PREV_ASSIGN.CURR_ASSIGNMENT_ID ,LR_PREV_ASSIGN.ACCRUAL_PLAN_NAME , LR_PREV_ASSIGN.CURRENT_DATE_START )
        LOOP
          LR_PREV_ASSIGN.NEW_ASSIGNMENT_ELEIGIBLE := 'Y';
          LR_PREV_ASSIGN.pto_eligble_date         := LR_PTO_ELGIBLE.pto_eligble_date ;
        END LOOP;
        IF(LR_PREV_ASSIGN.STATUS = 'P')
        then
        BEGIN
            apps.pay_element_entry_api.create_element_entry (
            P_EFFECTIVE_DATE => LR_PREV_ASSIGN.pto_eligble_date ,
            P_BUSINESS_GROUP_ID => LR_PREV_ASSIGN.CURR_BG_ID ,
            P_ASSIGNMENT_ID => LR_PREV_ASSIGN.CURR_ASSIGNMENT_ID ,
            P_ELEMENT_LINK_ID => LN_ELEMENT_LINK_ID ,
            p_entry_type => 'E'
            --,p_creator_type => 'F'
            --,p_cost_allocation_keyflex_id => cost_keyflex_id
            --,p_date_earned => l_week_ending_date
            ,P_INPUT_VALUE_ID1 => LN_INPUT_VALUE_ID1
            ,p_input_value_id2 => LN_INPUT_VALUE_ID2
            --,p_input_value_id3 => l_inp_value3_id
            --,p_input_value_id4 => l_inp_value4_id
            ,P_ENTRY_VALUE1 => LR_PREV_ASSIGN.PTO_ELIGBLE_DATE ,
            p_entry_value2 =>  LR_PREV_ASSIGN.net_accrual
            --,p_entry_value3 => l_constant_all_deductions
            --,p_entry_value4 => l_constant_no
            ,P_EFFECTIVE_START_DATE => LD_EFFECTIVE_START_DATE ,
            P_EFFECTIVE_END_DATE => LD_EFFECTIVE_END_DATE ,
            P_ELEMENT_ENTRY_ID => LN_ELEMENT_ENTRY_ID ,
            P_OBJECT_VERSION_NUMBER => LN_OBJECT_VERSION_NUMBER ,
            P_CREATE_WARNING => LC_CREATE_WARNING );
            LR_PREV_ASSIGN.STATUS                    :='S';
            LR_PREV_ASSIGN.CURR_ASS_ELEMENT_ENTRY_ID := LN_ELEMENT_ENTRY_ID;
            commit;
          EXCEPTION
          WHEN OTHERS THEN
          rollback;
            LR_PREV_ASSIGN.STATUS        :='E';
            LR_PREV_ASSIGN.ERROR_MESSAGE := SQLERRM;
          END;
          END IF;
        lt_PREV_ASSIGN(ln_count):= Lr_PREV_ASSIGN;
    ln_count:=ln_count+1;
      END LOOP;
      FOR lr_prev_assign IN lt_prev_assign.FIRST..lt_prev_assign.LAST
      LOOP
      IF(lt_prev_assign(lr_prev_assign).status = 'E')
      THEN
      FND_FILE.PUT_LINE(FND_FILE.LOG,lt_prev_assign(lr_prev_assign).error_message);
      end if;
        --print the error records here
      END LOOP;
    END MAIN;

Maybe you are looking for

  • Please Help in Joins and content tab (BMM Layer).

    Hi all, I am a newbie in OBIEE. I am working on a project in our organisation for existing database schema in oracle. We are planning to use OBIEE for reporting purpose. Here's my problem....... I have Three dimensions and Two Fact tables in my schem

  • Fxtrans currency conversion

    Hi, We use Multicurrency Trans to convert all foreign currencies and translate into common reporting currency (USD). Recently we added a new foreign currency in the Inputcurrency dimension. When I run the fxtrans package the values are not getting co

  • Apply Filter to static content

    Hi, I am writing a filter very similar to the one outlined in http://developer.java.sun.com/developer/JDCTechTips/2001/tt0626.html#tip2. I would like this filter to be applied to all static content on the web server. I have found a problem that the f

  • Import data - fill in form

    Can we not import from a simple ASCII file (tab delimited) a list of entries which are placed into the defined fields of a PDF form? It seems to me that this should be a product feature. I just can't see how it is done. Thank in advance. Tom

  • Dialog process (loading)

    Hello, We have upgraded the system to BW2004s. Now when loading fom cube to cube. We get 2 dialog processes. Before we got only 1 dialog process. Does anybody know how to select only 1 dialog proces during loading? regards, Jos.