Finding # rows to be returned from dbms_sql

I need to know how many rows are going to be returned from my dbms_sql (without looping). Currently I am going thru a loop until no more rows are left.
LOOP
if dbms_sql.fetch_rows(cursor_handle) > 0 then null;
END LOOP;

Unless you have a count(*) in the query, Oracle won't know how many rows are returned by a query until it returns the last row. Why do you need to know the exact count ahead of time?
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Multiple rows to be returned from a procedure without a cursor?

    We can return multiple rows using ref cursor as the return type in a procedure/function but I want to avoid processing a cursor. I would like to use the select statement on the returned multiple rows. I believe pl/sql table can not be used here also as select are not permitted on it. Is there some way to get around this defficiency in oracle?? Please help out!! My email is [email protected]
    null

    Oracle 8i has temporary tables. As far as I know, this is your only option.
    I, too, would like to be able to return a true "relation" (or "table") from a pl/sql function. Why can't I just specify the return type of the function as a "table" of "records"?
    Note that if pl/sql is completely orthogonality (neat word, huh?) I should be allowed to use this function that returns a "relation" as a table in the "from" clause of a sql query.
    Speaking of complete orthogonality, why can't I treat a pl/sql table just like any other table -- I should be able to query it, "insert" into it, "update" it, join it to other "tables", etc.
    How about this for a slogan, "tables everywhere"? Anything, from arrays scalars to functions to arrays of classes to pl/sql tables should be able to participate in a sql statement as a "relation/table."
    Anyone from Oracle listening out there? :-)

  • How can I save the OLE Picture returned from CWGraph.ControlImage as a jpg?

    CWGraph.ControlImage returns a pictureBox.picture object but I have not been able to save this picture as a jpg. I am using Intel's ijl11.dll and plan to save the jpg via their suggestion:
    Dim c As New cDibSection
    ' Convert Picture object to DIBSection:
    c.CreateFromPicture picThis.Picture
    ' Save it:
    SaveJPG c, sFileName
    I find that the picture returned from ControImage is incompatible with the 'standard' picture.
    Help!!!

    Hello
    The CWGraph ControlImage method returns an enhanced Windows metafile format .
    SavePicture CWGraph.ControlImage, "C:\myImage.emf"
    You can use VB's SavePicture method to save it as a window's metafile image, but if you need to convert it into a jpeg, you will need some third party tools, since VB 6.0 does not have any libraries for such file format conversions. VB.NET though has a bunch of class libraries for such conversions though.
    Bilal Durrani
    NI
    Bilal Durrani
    NI

  • Wish to find out number of rows returned from query

    hi,
    is it possible to determine how many rows have been returned after a query has been executed?
    thank you.

    It doesn't seem like there is a method to do it for you, [...]There can't be such a method that's guaranteed to work for all databases. Many databases just hand you a cursor with the query results, and you have to walk the cursor to find the complete set. It's even possible for the DB to continue computing the query in the background and just give you a cursor to walk and consume what it has already generated.
    So no, you have to walk the result set (effectively pulling everything over to the client) to count the number of rows..

  • Is it possible to count the rows returned from a query?

    Hello,
    When using JDBC is there anyway of finding out the number of
    rows returned from a query before actually getting each row?
    In Forms 4.5 you can use the count_query function, does anyone
    know of an equivalent function or work around in JDBC and/or
    SQLJ?
    Thanks.
    null

    Pasi Hmlinen (guest) wrote:
    : Try
    : SELECT COUNT(*) FROM the_table WHERE <conditions>;
    : Hope this helps,
    : Pasi
    Thanks for the advice, I'm currently using SELECT COUNT(*) but
    I'm looking for a more efficient way of doing it. If I SELECT
    COUNT each time then I have to prepare and execute a SQL
    statement each time. What I want to do it execute a single SQL
    statement to return my results and somehow find out the number
    of rows in the resultset without having to go back to the
    database.
    Gethin.
    null

  • Find(String pkey) method returns multiple object of the same row

    I'm not quite sure what i've done or havent done, but I've implemented updating a row using the em.persist(Object) method.....works great, but after i did that a few times the find(String pkey) method returns multiple copies of 1 row in the db
    here are two rows in the db
    personid(PK) firstName lastName
    1234 joe jones
    2345 rachel jones
    when i execute any query looking for people with the last name jones, ie
    select object(p) from Person p where p.lastName='jones'
    it returns multiple objects of each row ie
    1234 joe jones
    1234 joe jones
    1234 joe jones
    1234 joe jones
    2345 rachel jones
    2345 rachel jones
    2345 rachel jones
    2345 rachel jones
    There is only one row for both rachel and joe in the db, but why is the entity manager returning multiple objects of each, and how do i prevent that without using DISTINCT?
    Thanks for the help in advance

    Sorry, i forgot to mention i'm using ejb 3 and jboss

  • How to Customize the Message "No Row Returned" from a Report

    Hi,
    I've been trying to customize the Message "No Row Returned" from a Report.
    First i followed the instructions in Note:183131.1 -
    How to Customize the Message "No Row Returned" from a Report
    But of course the OWA_UTIL.REDIRECT_URL in this solution did not work (in a portlet) and i found the metalink document 228620.1 which described how to fix it.
    So i followed the "fix" in the document above and now my output is,..
    "Portlet 38,70711 responded with content-type text/plain when the client was requesting content-type text/html"
    So i search in Metalink for the above and come up with,...
    Bug 3548276 PORTLET X,Y RESPONDED WITH CONTENT-TYPE TEXT/PLAIN INSTEAD OF TEXT/HTML
    And i've read it and read it and read it and read it and can't make heads or tails of what it's saying.
    Every "solution" seems to cause another problem that i have to fix. And all i want to do is customize the Message "No Row Returned" from a Report. Please,...does anyone know how to do this?

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • Inserting static text in between rows returned from a pivot table

    Is there a way to type static text (eg. “Note that the data for Land has an accuracy of 98%”) in between rows returned from the dataset in the rtf template. The alternative would be to break the BI analysis report (which is the source of the template data) into 2 parts and then insert each part into the template one below the other with the text typed in between.

    Oracle support has confirmed that this requirement is not possible to implement

  • How to limit a number of rows to be returned in finder method

    are there any way we can specify the # of rows to be returned in a finder method for an CMP? how should we specify that within the xml configuration files?

    Hi
    Sorry to say that u can't do it in the current versions. Only thing u can do is to get all of them and filter them out at the client or servlet layer.
    For exapmle if u get the Enumeration (say 25 objects), and u want to show 10 at a time. Keep a variable that keep track of the page number (eg whether it's the first 10 set of records nor next). Keep the Enumeraton that u got in the session (so that u don't get it everytime). When next is pressed, depending on the value of the varaible storing page number skip those number of records in the Enumeratin (eg if u are going to the second page, the number of records to skip will be 1*10 = 10, and get records form 11 to 20 and so on........
    What do u say.......this is how I did it in an appilaction.........
    Chandan.

  • How do you limit the number of rows return from query?

    How do you limit the number of rows return from query? Do all databases support this kind of feature?

    i think the standard is limit
    to get the top 30
    select * from mytable LIMIT 30;returns the first 30 rows
    also if you want a range
    select * from mytable LIMIT 10,30;returns 30 rows starting from 10
    this last one is useful for displaying ranges... something similar happens in these forums when viewing topics and messages

  • Would like to update a table based on 1 row being returned from a join.

    Hi, hope you guys can help.
    I'd like to update 1 rown that is returned from a join query. The following code returns 1 row.
    SELECT pt.*, pv.* FROM
    --SELECT pt.template_id, pt.property_code, pv.value FROM
    property_template pt inner join
    property_value pv on pt.template_id = pv.template_id
    WHERE property_code = '500_URL';
    Based on the row returned i'd like to update a column called VALUE from the property_value table.
    I've tried the following code but it updates every row in the value column.
    update property_value set value = 'http://10.14.64.170:8080/XTI/UPLOAD'
    where exists
    SELECT pt.*, pv.* FROM
    --SELECT pt.template_id, pt.property_code, pv.value FROM
    property_template pt inner join
    property_value pv on pt.template_id = pv.template_id
    WHERE property_code = '500_URL'
    Any help with this would be appreciated.

    You need this
    UPDATE property_value   pv
       SET value            = 'http://10.14.64.170:8080/XTI/UPLOAD'
    WHERE EXISTS            (
                             SELECT 1
                               FROM property_template   pt
                              WHERE pt.template_id      = pv.template_id
                                AND property_code       = '500_URL'
                            );Regards
    Arun

  • HT1455 10.8.4 returned from vacation and my finder stops resoponding frequently

    Why does my finder stop responding?
    How do I fix it?

    Yes still have the problem
    This was from the last episode, tried to get all identifying info out.
    2013-08-24 9:00:27.608 PM coreservicesd[68]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=153
    2013-08-24 9:00:27.609 PM NotificationCenter[188]: Connection interrupted.
    2013-08-24 9:00:31.795 PM GoogleSoftwareUpdateDaemon[962]: -[KeystoneDaemon main] GoogleSoftwareUpdateDaemon inactive, shutdown.
    2013-08-24 9:00:32.413 PM WDButtonManager[977]: self-sent 'ascr'/'gdut' event accepted in process that isn't scriptable
    2013-08-24 9:03:15.000 PM bootlog[0]: BOOT_TIME 1377392595 0
    2013-08-24 9:03:27.000 PM kernel[0]: Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
    2013-08-24 9:03:27.000 PM kernel[0]: vm_page_bootstrap: 929913 free pages and 110471 wired pages
    2013-08-24 9:03:27.000 PM kernel[0]: kext submap [0xffffff7f80737000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000737000]
    2013-08-24 9:03:27.000 PM kernel[0]: zone leak detection enabled
    2013-08-24 9:03:27.000 PM kernel[0]: standard timeslicing quantum is 10000 us
    2013-08-24 9:03:27.000 PM kernel[0]: standard background quantum is 2500 us
    2013-08-24 9:03:27.000 PM kernel[0]: mig_table_max_displ = 74
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto kext started!
    2013-08-24 9:03:27.000 PM kernel[0]: Running kernel space in FIPS MODE
    2013-08-24 9:03:27.000 PM kernel[0]: Plist hmac value is    735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
    2013-08-24 9:03:27.000 PM kernel[0]: Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS integrity POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS AES CBC POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS TDES CBC POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS SHA POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS HMAC POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS ECDSA POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS DRBG POST test passed!
    2013-08-24 9:03:27.000 PM kernel[0]: corecrypto.kext FIPS POST passed!
    2013-08-24 9:03:27.000 PM kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
    2013-08-24 9:03:27.000 PM kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
    2013-08-24 9:03:27.000 PM kernel[0]: calling mpo_policy_init for TMSafetyNet
    2013-08-24 9:03:27.000 PM kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    2013-08-24 9:03:27.000 PM kernel[0]: calling mpo_policy_init for Sandbox
    2013-08-24 9:03:27.000 PM kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
    2013-08-24 9:03:27.000 PM kernel[0]: calling mpo_policy_init for Quarantine
    2013-08-24 9:03:27.000 PM kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
    2013-08-24 9:03:27.000 PM kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    2013-08-24 9:03:27.000 PM kernel[0]: The Regents of the University of California. All rights reserved.
    2013-08-24 9:03:27.000 PM kernel[0]: MAC Framework successfully initialized
    2013-08-24 9:03:27.000 PM kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
    2013-08-24 9:03:27.000 PM kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    2013-08-24 9:03:27.000 PM kernel[0]: ACPI: System State [S0 S3 S4 S5]
    2013-08-24 9:03:27.000 PM kernel[0]: PFM64 (36 cpu) 0xf80000000, 0x80000000
    2013-08-24 9:03:27.000 PM kernel[0]: [ PCI configuration begin ]
    2013-08-24 9:03:27.000 PM kernel[0]: console relocated to 0xf80010000
    2013-08-24 9:03:27.000 PM kernel[0]: PCI configuration changed (bridge=3 device=1 cardbus=0)
    2013-08-24 9:03:27.000 PM kernel[0]: [ PCI configuration end, bridges 7 devices 17 ]
    2013-08-24 9:03:27.000 PM kernel[0]: AppleIntelCPUPowerManagement: (built 18:11:47 May  1 2013) initialization complete
    2013-08-24 9:03:27.000 PM kernel[0]: mbinit: done [64 MB total pool size, (42/21) split]
    2013-08-24 9:03:27.000 PM kernel[0]: Pthread support ABORTS when sync kernel primitives misused
    2013-08-24 9:03:27.000 PM kernel[0]: rooting via boot-uuid from /chosen: C3CA7225-697D-3596-BC04-4BDC25066031
    2013-08-24 9:03:27.000 PM kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    2013-08-24 9:03:27.000 PM kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
    2013-08-24 9:03:27.000 PM kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
    2013-08-24 9:03:27.000 PM kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
    2013-08-24 9:03:27.000 PM kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
    2013-08-24 9:03:27.000 PM kernel[0]: AppleIntelCPUPowerManagementClient: ready
    2013-08-24 9:03:27.000 PM kernel[0]: FireWire (OHCI) Lucent ID 5901 built-in now active, GUID 002332fffe0d57fa; max speed s800.
    2013-08-24 9:03:27.000 PM kernel[0]: BTCOEXIST off
    2013-08-24 9:03:27.000 PM kernel[0]: wl0: Broadcom BCM4328 802.11 Wireless Controller
    2013-08-24 9:03:27.000 PM kernel[0]: 5.10.131.36
    2013-08-24 9:03:27.000 PM kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0/AppleACPIPCI/SATA@1F,2/AppleICH8AHCI/PR T0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageD river/Hitachi HDS721075KLA360 Media/IOGUIDPartitionScheme/Customer@2
    2013-08-24 9:03:27.000 PM kernel[0]: BSD root: disk0s2, major 1, minor 2
    2013-08-24 9:03:27.000 PM kernel[0]: jnl: unknown-dev: replay_journal: from: 3028992 to: 6748160 (joffset 0x1087d000)
    2013-08-24 9:03:27.000 PM kernel[0]: jnl: unknown-dev: journal replay done.
    2013-08-24 9:03:27.000 PM kernel[0]: Kernel is LP64
    2013-08-24 9:03:27.000 PM kernel[0]: hfs: Removed 10 orphaned / unlinked files and 35 directories
    2013-08-24 9:03:27.000 PM kernel[0]: AppleYukon2: Marvell Yukon Gigabit Adapter 88E8055 Singleport Copper SA
    2013-08-24 9:03:27.000 PM kernel[0]: AppleYukon2: RxRingSize <= 1024, TxRingSize 256, RX_MAX_LE 1024, TX_MAX_LE 768, ST_MAX_LE 3328
    2013-08-24 9:03:19.819 PM com.apple.launchd[1]: *** launchd[1] has started up. ***
    2013-08-24 9:03:19.819 PM com.apple.launchd[1]: *** Shutdown logging is enabled. ***
    2013-08-24 9:03:27.552 PM com.apple.launchd[1]: (com.apple.automountd) Unknown key for boolean: NSSupportsSuddenTermination
    2013-08-24 9:03:37.417 PM hidd[49]: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
    2013-08-24 9:03:37.424 PM hidd[49]: void __IOHIDLoadBundles(): Loaded 0 HID plugins
    2013-08-24 9:03:37.424 PM fseventsd[50]: event logs in /.fseventsd out of sync with volume.  destroying old logs. (113044 22 113165)
    2013-08-24 9:03:37.425 PM fseventsd[50]: log dir: /.fseventsd getting new uuid: 49A167B3-92BF-4366-8F91-59E105316021
    2013-08-24 9:03:37.000 PM kernel[0]: macx_swapon SUCCESS
    2013-08-24 9:03:38.000 PM kernel[0]: yukon: Ethernet address 00:23:32:96:13:27
    2013-08-24 9:03:38.000 PM kernel[0]: AirPort_Brcm43224: Ethernet address 00:23:12:1b:d2:b3
    2013-08-24 9:03:38.000 PM kernel[0]: IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
    2013-08-24 9:03:40.000 PM kernel[0]: Waiting for DSMOS...
    2013-08-24 9:03:40.444 PM kdc[47]: label: default
    2013-08-24 9:03:40.444 PM kdc[47]:           dbname: od:/Local/Default
    2013-08-24 9:03:40.444 PM kdc[47]:           mkey_file: /var/db/krb5kdc/m-key
    2013-08-24 9:03:40.444 PM kdc[47]:           acl_file: /var/db/krb5kdc/kadmind.acl
    2013-08-24 9:03:41.352 PM mDNSResponder[41]: mDNSResponder mDNSResponder-379.38.1 (Apr 25 2013 19:19:56) starting OSXVers 12
    2013-08-24 9:03:43.000 PM kernel[0]: [IOBluetoothHCIController][start] -- completed
    2013-08-24 9:03:43.000 PM kernel[0]: IOBluetoothUSBDFU::probe
    2013-08-24 9:03:43.000 PM kernel[0]: IOBluetoothUSBDFU::probe ProductID - 0x820F FirmwareVersion - 0x0201
    2013-08-24 9:03:43.000 PM kernel[0]: [BroadcomBluetoothHCIControllerUSBTransport][start] -- completed
    2013-08-24 9:03:43.000 PM kernel[0]: [IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification
    2013-08-24 9:03:43.000 PM kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
    2013-08-24 9:03:43.000 PM kernel[0]: ** Device in slot: SLOT--1 **
    2013-08-24 9:03:43.000 PM kernel[0]: Previous Shutdown Cause: 3
    2013-08-24 9:03:43.000 PM kernel[0]: DSMOS has arrived
    2013-08-24 9:03:43.875 PM coreservicesd[68]: FindBestLSSession(), no match for inSessionID 0xfffffffffffffffc auditTokenInfo( uid=0 euid=0 auSessionID=100000 create=false
    2013-08-24 9:03:43.906 PM blued[58]: Read the UHE Info
    2013-08-24 9:03:43.907 PM blued[58]: Read version 2 info.  Number of devices:1
    2013-08-24 9:03:43.907 PM blued[58]: Class of device:     0x2580
    2013-08-24 9:03:43.907 PM blued[58]: Device name: ' ' length:23
    2013-08-24 9:03:43.907 PM blued[58]: Finished reading the HID data
    2013-08-24 9:03:43.908 PM blued[58]: Found a device with PID:0x030d VID:0x05ac
    2013-08-24 9:03:44.101 PM airportd[78]: _processDLILEvent: en1 attached (down)
    2013-08-24 9:03:44.000 PM kernel[0]: AirPort: Link Down on en1. Reason 1 (Unspecified).
    2013-08-24 9:03:44.000 PM kernel[0]: en1::IO80211Interface::postMessage bssid changed
    2013-08-24 9:03:44.196 PM configd[17]: network changed.
    2013-08-24 9:03:44.198 PM configd[17]: setting hostname to "  -iMac-2.local"
    2013-08-24 9:03:45.323 PM mds[40]: (Normal) FMW: FMW 0 0
    2013-08-24 9:03:46.931 PM com.apple.SecurityServer[16]: Session 100000 created
    2013-08-24 9:03:53.000 PM kernel[0]: fsevents: watcher SmartwareServerA (pid: 62) - Using /dev/fsevents directly is unsupported.  Migrate to FSEventsFramework
    2013-08-24 9:03:53.000 PM kernel[0]: [BNBMouseDevice::init][75.19] init is complete
    2013-08-24 9:03:53.000 PM kernel[0]: [BNBMouseDevice::handleStart][75.19] returning 1
    2013-08-24 9:03:53.000 PM kernel[0]: [AppleMultitouchHIDEventDriver::start] entered
    2013-08-24 9:03:54.056 PM com.apple.SecurityServer[16]: Entering service
    2013-08-24 9:03:54.156 PM appleeventsd[55]: main: Starting up
    2013-08-24 9:03:54.261 PM mDNSResponder[41]: D2D_IPC: Loaded
    2013-08-24 9:03:54.261 PM mDNSResponder[41]: D2DInitialize succeeded
    2013-08-24 9:03:54.266 PM mDNSResponder[41]: Adding registration domain 1010781033.members.btmm.icloud.com.
    2013-08-24 9:03:54.000 PM kernel[0]: [AppleMultitouchDevice::start] entered
    2013-08-24 9:03:54.284 PM configd[17]: network changed: DNS*
    2013-08-24 9:03:54.287 PM configd[17]: network changed: DNS*
    2013-08-24 9:03:54.307 PM kdc[47]: PKINIT: failed to find a signing certifiate with a public key
    2013-08-24 9:03:54.540 PM com.apple.usbmuxd[29]: usbmuxd-296.4 on Dec 21 2012 at 16:11:14, running 64 bit
    2013-08-24 9:03:54.573 PM UserEventAgent[11]: Captive: [HandleNetworkInformationChanged:2435] nwi_state_copy returned NULL
    2013-08-24 9:03:54.680 PM kdc[47]: KDC started
    2013-08-24 9:03:54.790 PM loginwindow[44]: Login Window Application Started
    2013-08-24 9:03:54.977 PM locationd[45]: NOTICE,Location icon should now be in state 0
    2013-08-24 9:03:55.050 PM WindowServer[96]: Server is starting up
    2013-08-24 9:03:55.067 PM WindowServer[96]: Session 256 retained (2 references)
    2013-08-24 9:03:55.067 PM WindowServer[96]: Session 256 released (1 references)
    2013-08-24 9:03:55.070 PM systemkeychain[70]: done file: /var/run/systemkeychaincheck.done
    2013-08-24 9:03:55.153 PM awacsd[59]: Starting awacsd connectivity-78.3 (Apr 25 2013 19:22:44)
    2013-08-24 9:03:55.199 PM digest-service[101]: label: default
    2013-08-24 9:03:55.200 PM digest-service[101]:           dbname: od:/Local/Default
    2013-08-24 9:03:55.200 PM digest-service[101]:           mkey_file: /var/db/krb5kdc/m-key
    2013-08-24 9:03:55.200 PM digest-service[101]:           acl_file: /var/db/krb5kdc/kadmind.acl
    2013-08-24 9:03:55.203 PM digest-service[101]: digest-request: uid=0
    2013-08-24 9:03:55.271 PM rpcsvchost[107]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
    2013-08-24 9:03:55.286 PM digest-service[101]: digest-request: init request
    2013-08-24 9:03:55.293 PM digest-service[101]: digest-request: init return domain: BUILTIN server:
    2013-08-24 9:03:55.341 PM WindowServer[96]: Session 256 retained (2 references)
    2013-08-24 9:03:55.353 PM WindowServer[96]: init_page_flip: page flip mode is on
    2013-08-24 9:03:55.393 PM awacsd[59]: ConduitMultiClientPlus: Could not get encoded salted hashed password
    2013-08-24 9:03:55.435 PM awacsd[59]: Configuring lazy AWACS client: 1010781033.p02.members.btmm.icloud.com.
    2013-08-24 9:03:55.444 PM netbiosd[79]: Unable to start NetBIOS name service:
    2013-08-24 9:03:55.575 PM apsd[61]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
    2013-08-24 9:03:55.576 PM apsd[61]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
    2013-08-24 9:03:56.000 PM kernel[0]: en1: 802.11d country code set to 'CA'.
    2013-08-24 9:03:56.000 PM kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 132 136 140 149 153 157 161 165
    2013-08-24 9:03:57.368 PM WindowServer[96]: mux_initialize: Couldn't find any matches
    2013-08-24 9:03:57.385 PM WindowServer[96]: GLCompositor enabled for tile size [256 x 256]
    2013-08-24 9:03:57.385 PM WindowServer[96]: CGXGLInitMipMap: mip map mode is on
    2013-08-24 9:03:57.424 PM WindowServer[96]: WSMachineUsesNewStyleMirroring: false
    2013-08-24 9:03:57.425 PM WindowServer[96]: Display 0x04271ac0: GL mask 0x1; bounds (0, 0)[1680 x 1050], 36 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9c6b, S/N 0, Unit 0, Rotation 0
    UUID 0x0000061000009c6b0000000004271ac0
    2013-08-24 9:03:57.425 PM WindowServer[96]: Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    2013-08-24 9:03:57.433 PM WindowServer[96]: Created shield window 0x5 for display 0x04271ac0
    2013-08-24 9:03:57.433 PM WindowServer[96]: Created shield window 0x6 for display 0x003f003d
    2013-08-24 9:03:57.436 PM WindowServer[96]: Display 0x04271ac0: GL mask 0x1; bounds (0, 0)[1680 x 1050], 36 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9c6b, S/N 0, Unit 0, Rotation 0
    UUID 0x0000061000009c6b0000000004271ac0
    2013-08-24 9:03:57.436 PM WindowServer[96]: Display 0x003f003d: GL mask 0x2; bounds (2704, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    2013-08-24 9:03:57.437 PM WindowServer[96]: CGXPerformInitialDisplayConfiguration
    2013-08-24 9:03:57.437 PM WindowServer[96]:   Display 0x04271ac0: MappedDisplay Unit 0; Vendor 0x610 Model 0x9c6b S/N 0 Dimensions 17.05 x 10.63; online enabled built-in, Bounds (0,0)[1680 x 1050], Rotation 0, Resolution 1
    2013-08-24 9:03:57.437 PM WindowServer[96]:   Display 0x003f003d: MappedDisplay Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2704,0)[1 x 1], Rotation 0, Resolution 1
    2013-08-24 9:03:57.472 PM WindowServer[96]: GLCompositor: GL renderer id 0x01021a02, GL mask 0x00000003, accelerator 0x00003a73, unit 0, caps QEX|QGL|MIPMAP, vram 256 MB
    2013-08-24 9:03:57.472 PM WindowServer[96]: GLCompositor: GL renderer id 0x01021a02, GL mask 0x00000003, texture units 8, texture max 8192, viewport max {8192, 8192}, extensions FPRG|NPOT|GLSL|FLOAT
    2013-08-24 9:03:57.476 PM loginwindow[44]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
    2013-08-24 9:03:57.878 PM WindowServer[96]: Created shield window 0x7 for display 0x04271ac0
    2013-08-24 9:03:57.878 PM WindowServer[96]: Display 0x04271ac0: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferTable (256, 3)
    2013-08-24 9:03:57.968 PM launchctl[119]: com.apple.findmymacmessenger: Already loaded
    2013-08-24 9:03:58.045 PM com.apple.SecurityServer[16]: Session 100003 created
    2013-08-24 9:03:58.165 PM loginwindow[44]: Login Window Started Security Agent
    2013-08-24 9:03:58.442 PM SecurityAgent[127]: This is the first run
    2013-08-24 9:03:58.443 PM SecurityAgent[127]: MacBuddy was run = 0
    2013-08-24 9:03:58.502 PM coreaudiod[128]: Enabled automatic stack shots because audio IO is inactive
    2013-08-24 9:03:59.435 PM WindowServer[96]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    2013-08-24 9:03:59.489 PM WindowServer[96]: Display 0x04271ac0: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferTable (256, 3)
    2013-08-24 9:03:59.528 PM WindowServer[96]: Display 0x04271ac0: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferTable (256, 3)
    2013-08-24 9:04:00.498 PM UserEventAgent[120]: cannot find useragent 1102
    2013-08-24 9:04:00.511 PM locationd[138]: NOTICE,Location icon should now be in state 0
    2013-08-24 9:04:06.900 PM SecurityAgent[127]: User info context values set for
    2013-08-24 9:04:08.017 PM authorizationhost[139]: Failed to authenticate user < > (error: 9).
    2013-08-24 9:04:09.303 PM warmd[28]: [___bootcachectl_filter_out_sharedio_from_history_block_invoke_0:2321] Unable to open i386 shared cache: 2 No such file or directory
    2013-08-24 9:04:11.804 PM SecurityAgent[127]: User info context values set for
    2013-08-24 9:04:12.304 PM SecurityAgent[127]: Login Window login proceeding
    2013-08-24 9:04:12.766 PM loginwindow[44]: Login Window - Returned from Security Agent
    2013-08-24 9:04:12.797 PM loginwindow[44]: ERROR | ScreensharingLoginNotification | Failed sending message to screen sharing GetScreensharingPort, err: 1102
    2013-08-24 9:04:12.833 PM loginwindow[44]: USER_PROCESS: 44 console
    2013-08-24 9:04:13.023 PM com.apple.launchd.peruser.501[140]: (com.apple.gamed) Ignored this key: UserName
    2013-08-24 9:04:13.023 PM com.apple.launchd.peruser.501[140]: (com.apple.gamed) Ignored this key: GroupName
    2013-08-24 9:04:13.024 PM com.apple.launchd.peruser.501[140]: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    2013-08-24 9:04:13.030 PM loginwindow[44]: Connection with distnoted server was invalidated
    2013-08-24 9:04:13.119 PM distnoted[145]: # distnote server agent  absolute time: 58.494680158   civil time: Sat Aug 24 21:04:13 2013   pid: 145 uid: 501  root: no
    2013-08-24 9:04:13.455 PM WindowServer[96]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    2013-08-24 9:04:13.748 PM blued[58]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
    2013-08-24 9:04:13.817 PM WDButtonManager[153]: self-sent 'ascr'/'gdut' event accepted in process that isn't scriptable
    2013-08-24 9:04:13.830 PM WindowServer[96]: Display 0x04271ac0: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferTable (256, 3)
    2013-08-24 9:04:14.498 PM locationd[159]: NOTICE,Location icon should now be in state 0
    2013-08-24 9:04:15.200 PM com.apple.SecurityServer[16]: Session 100005 created
    2013-08-24 9:04:20.410 PM talagent[158]: _LSSetApplicationInformationItem(kLSDefaultSessionID, asn, _kLSApplicationIsHiddenKey, hidden ? kCFBooleanTrue : kCFBooleanFalse, NULL) produced OSStatus -50 on line 623 in TCApplication.m
    2013-08-24 9:04:20.417 PM talagent[158]: _LSSetApplicationInformationItem(kLSDefaultSessionID, asn, TAL_kLSIsProxiedForTALKey, kCFBooleanTrue, NULL) produced OSStatus -50 on line 626 in TCApplication.m
    2013-08-24 9:04:20.617 PM com.apple.launchd.peruser.501[140]: (com.apple.afpstat-qfa[187]) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
    2013-08-24 9:04:20.617 PM com.apple.launchd.peruser.501[140]: (com.apple.afpstat-qfa[187]) Job failed to exec(3) for weird reason: 2
    2013-08-24 9:04:20.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=188[GoogleSoftwareUp] clearing CS_VALID
    2013-08-24 9:04:21.215 PM loginwindow[44]: Login items - LSOpenApplication returned error -10665, url=/Applications/Palm/Transport Monitor
    2013-08-24 9:04:21.215 PM loginwindow[44]: Unable to lauch startup item: (null)
    2013-08-24 9:04:21.216 PM loginwindow[44]: Login items - LSOpenApplication returned error -10665, url=/Applications/WD Backup.app/Contents/Resources/WDBackupMonitor.app
    2013-08-24 9:04:21.216 PM loginwindow[44]: Unable to lauch startup item: (null)
    2013-08-24 9:04:21.890 PM com.apple.launchd.peruser.501[140]: (com.apple.mrt.uiagent[178]) Exited with code: 255
    2013-08-24 9:04:21.989 PM WindowServer[96]: CGXDisableUpdate: UI updates were forcibly disabled by application "SystemUIServer" for over 1.00 seconds. Server has re-enabled them.
    2013-08-24 9:04:22.231 PM Adobe Reader Updater Helper[190]: Adobe Reader Updater encountered errorCode 260
    2013-08-24 9:04:22.308 PM Adobe Reader Updater Helper[190]: Adobe Reader Updater encountered errorCode 1001
    2013-08-24 9:04:22.430 PM NetworkBrowserAgent[207]: Starting NetworkBrowserAgent
    2013-08-24 9:04:22.484 PM apsd[167]: Unable to bootstrap_lookup connection port for 'com.apple.ubd.system-push': Unknown service name
    2013-08-24 9:04:22.716 PM GoogleSoftwareUpdateDaemon[209]: -[KeystoneDaemon logServiceState] GoogleSoftwareUpdate daemon (1.1.0.3659) vending:
              com.google.Keystone.Daemon.UpdateEngine: 1 connection(s)
              com.google.Keystone.Daemon.Administration: 0 connection(s)
    2013-08-24 9:04:22.718 PM GoogleSoftwareUpdateDaemon[209]: -[KeystoneDaemon logServiceState] GoogleSoftwareUpdate daemon (1.1.0.3659) vending:
              com.google.Keystone.Daemon.UpdateEngine: 1 connection(s)
              com.google.Keystone.Daemon.Administration: 1 connection(s)
    2013-08-24 9:04:22.724 PM GoogleSoftwareUpdateDaemon[209]: -[KSDaemonAdministration(PrivateMethods) ticketsAllowUninstallWithError:] KSDaemonAdministration system Keystone will not uninstall with active tickets.
    2013-08-24 9:04:22.725 PM GoogleSoftwareUpdateDaemon[209]: -[KeystoneDaemon logServiceState] GoogleSoftwareUpdate daemon (1.1.0.3659) vending:
              com.google.Keystone.Daemon.UpdateEngine: 1 connection(s)
              com.google.Keystone.Daemon.Administration: 0 connection(s)
    2013-08-24 9:04:22.736 PM GoogleSoftwareUpdateDaemon[209]: -[KeystoneDaemon logServiceState] GoogleSoftwareUpdate daemon (1.1.0.3659) vending:
              com.google.Keystone.Daemon.UpdateEngine: 2 connection(s)
              com.google.Keystone.Daemon.Administration: 0 connection(s)
    2013-08-24 9:04:22.840 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateEngine updateProductID:] KSUpdateEngine updating product ID: "com.google.Keystone"
    2013-08-24 9:04:22.854 PM GoogleSoftwareUpdateDaemon[209]: -[KSCheckAction performAction] KSCheckAction checking 1 ticket(s).
    2013-08-24 9:04:22.909 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateCheckAction performAction] KSUpdateCheckAction starting update check for ticket(s): {(
              <KSTicket:0x5d98a10
                        productID=com.google.Keystone
                        version=1.1.0.3659
                        xc=<KSPathExistenceChecker:0x5d9ab20 path=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/>
                        serverType=Omaha
                        url=https://tools.google.com/service/update2
                        creationDate=2010-06-26 15:36:58
              >
    Using server: <KSOmahaServer:0x697ed30
              engine=<KSDaemonUpdateEngine:0x5d8f0f0>
              params={
                        EngineVersion = "1.1.0.3659";
                        ActivesInfo = {
                                  "com.google.Keystone" = {
                                            LastActivePingDate = 2013-08-23 07:00:00 +0000;
                                            LastActiveDate = 2013-08-25 01:04:22 +0000;
                                            LastRollCallPingDate = 2013-08-23 07:00:00 +0000;
                                  "com.google.macphotouploader" = {
                                            LastRollCallPingDate = 2013-08-23 07:00:00 +0000;
                        UserInitiated = 0;
                        IsSystem = 1;
                        OmahaOSVersion = "10.8.4_i486";
                        Identity = KeystoneDaemon;
                        AllowedSubdomains = (
                                  ".omaha.sandbox.google.com",
                                  ".tools.google.com",
                                  ".www.google.com",
                                  ".corp.google.com"
    2013-08-24 9:04:22.926 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateCheckAction performAction] KSUpdateCheckAction running KSServerUpdateRequest: <KSOmahaServerUpdateRequest:0x69866f0
              server=<KSOmahaServer:0x697ed30>
              url="https://tools.google.com/service/update2"
              runningFetchers=0
              tickets=1
              activeTickets=1
              rollCallTickets=1
              body=
                        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                        <o:gupdate xmlns:o="http://www.google.com/update2/request" protocol="2.0" version="KeystoneDaemon-1.1.0.3659" ismachine="1">
                            <o:os platform="mac" version="MacOSX" sp="10.8.4_i486"></o:os>
                            <o:app appid="com.google.Keystone" version="1.1.0.3659" lang="en-us" installage="1155" brand="GGLG">
                                <o:ping r="1" a="1"></o:ping>
                                <o:updatecheck></o:updatecheck>
                            </o:app>
                        </o:gupdate>
    2013-08-24 9:04:23.081 PM WindowServer[96]: reenable_update_for_connection: UI updates were finally reenabled by application "SystemUIServer" after 2.09 seconds (server forcibly re-enabled them after 1.00 seconds)
    2013-08-24 9:04:26.581 PM _networkd[214]: /usr/libexec/ntpd-wrapper: scutil key State:/Network/Global/DNS not present after 30 seconds
    2013-08-24 9:04:29.922 PM _networkd[220]: Unable to resolve hostname(s)
    2013-08-24 9:04:30.274 PM GoogleSoftwareUpdateDaemon[209]: -[KSOutOfProcessFetcher(PrivateMethods) helperDidTerminate:] The Internet connection appears to be offline. [NSURLErrorDomain:-1009]
    2013-08-24 9:04:30.275 PM GoogleSoftwareUpdateDaemon[209]: -[KSServerUpdateRequest(PrivateMethods) fetcher:failedWithError:] KSServerUpdateRequest fetch failed. (productIDs: com.google.Keystone) [com.google.UpdateEngine.CoreErrorDomain:702 - 'https://tools.google.com/service/update2'] (The Internet connection appears to be offline. [NSURLErrorDomain:-1009])
    2013-08-24 9:04:30.278 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateCheckAction(PrivateMethods) finishAction] KSUpdateCheckAction found updates: {( )}
    2013-08-24 9:04:30.901 PM GoogleSoftwareUpdateDaemon[209]: -[KSPrefetchAction performAction] KSPrefetchAction no updates to prefetch.
    2013-08-24 9:04:30.903 PM GoogleSoftwareUpdateDaemon[209]: -[KSMultiUpdateAction performAction] KSSilentUpdateAction had no updates to apply.
    2013-08-24 9:04:30.904 PM GoogleSoftwareUpdateDaemon[209]: -[KSMultiUpdateAction performAction] KSPromptAction had no updates to apply.
    2013-08-24 9:04:30.996 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateEngine(PrivateMethods) updateFinish] KSUpdateEngine update processing complete.
    2013-08-24 9:04:31.006 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateEngine updateAllProducts] KSUpdateEngine updating all installed products.
    2013-08-24 9:04:31.011 PM GoogleSoftwareUpdateDaemon[209]: -[KSCheckAction performAction] KSCheckAction checking 2 ticket(s).
    2013-08-24 9:04:31.107 PM ntpd[98]: proto: precision = 1.000 usec
    2013-08-24 9:04:31.514 PM GoogleSoftwareUpdateDaemon[209]: -[KSUpdateCheckAction performAc

  • Cannot find row from context to build the RowKey

    I have a table with 8 attributes!
    6 attributes are varchar2(20), so the input is just in textfields, the other 2 are booleans varchar2(1)!
    To select the boolean I made 2 comboboxes with the displayvalues Yes/No and datavalues Y/N!
    When I change 1 of the 6 attributes with the textfield, everything goes fine, but when I want to edit 1 of the 2 boolean attributes I get the following error:
    oracle.jbo.JboException: Cannot find row from context to build the RowKey
    The strangest thing is that all the settings from the attributes are the same and also the code in the dataeditcomponent.
    Does anyone knows what the error means and especially how to solve it!?
    If I change a boolean value the change is saved, but the error comes before you can see the changes!

    Hi Steve,
    thanks for your help.
    These are my steps to build the application:
    0.) JDev 904, WindowsXP, IE6.x, FireBird 0.7
    1.) New Project and Wizard 'New Business Components Package',
    only DeptImpl, default VO and default AppModule
    2.) New Project, Wizard 'Complete Struts-Based JSP Application'
    only default settings
    3.) Customize config of AppModule: Referenced Pool Size = 1
    4.) Start application, connect with two different browsers (IE and firebird)
    5.) Browse page DeptView1_Browse with both browsers
    1. Browser: Link Edit --&gt; edit&update attribute Loc of Dept 10 (no commit)
    2. Browser: Link Edit --&gt; edit (no update) attribute Loc of Dept 20
    6.) 2. Browser: update ==&gt; Error Message: Cannot find row from context to build the RowKey
    I have also tested JDev 9034/9033 with no error :-)
    I have build the same application in JDev 10g with ADF (no migration from other projects)
    and ran into another error message (same steps as above):
    JBO-29000: Unexpected exception caught: java.lang.reflect.InvocationTargetException, msg=null
    I don't know if my ADF-Struts project is assembled correctly but it works with just one session.
    My intention to set Referenced Pool Size = 1 was to test my code against some session releated bugs.
    I wanted to associate user information like name, role and PK with the SessionCookie instance (during login), via
    SessionCookie.setUserData(myInfos). The Information is used in VOs to get only the user related data
    and in EOs to store the real user name in an attribute like modifiedby/createdby
    (I use Tomcats as deployment platform):
    getApplicationModule().getSession().getUserData() -or-
    getDBTransaction().getSession().getUserData()
    Is there a better way to link own data to a 'session' on the level of business components?
    Can you reproduce my results?
    Ciao Markus

  • How to count no of records returned from a query?

    Hello,
    I need to find out how many records displayed from a query without writing any other queries.
    i mean that.
    I have a query such as:
    query = "select * from users";
    and the resultset for it is rs.
    and i need to display how many records fetched from this query without using any other query such as "select count(user_id) from users" etc.
    Is there any function ?

    No, unfortunately there is no method or property that will tell you how many rows have been returned by a query.
    People use many different techniques.
    1.The simplest would be, keep incrementing a counter in while ( rs.next() ) and at the end you'll have the count. But only at the end, after the loop.
    2. Run another query with count(*) just to fetch the count.
    3. Run the same query twice, once for counting and then again for printing out. Very dumb idea though, might as well do 2. suggested above.
    4. If you have a scrollable resultset, you could go to the lastRecord and then getRow number and hence know how many there are and then rewind the resultset. I don't know how advisable using scrollable resultsets is.
    5. Create a slightly clumsy query like : select count(*) as "totalcount", emp_id, emp_name, emp_email, emp_phone from employees group by emp_id, emp_name, emp_email, emp_phone. You'll need to use the group by clause since count() is an aggregate function and you can't mix aggregate functions and columns unless you add the group by to all the columns you're fetching.

  • AIR app crashes on iOS after returning from CameraUI photo capture

    So, I've been running into this problem in one way or another for as long as we've had CameraUI access. It seems that each time another version of AIR comes out Adobe claims the problem has been fixed, and each time I find that the problem hasn't. So, here we go:
    I'm running an AIR 3.4 application on a range of devices: iPod Touch (previous generation), iPhone 5, iPhone 4S, iPhone 4, and iPad 2. All the test devices are loaded with the latest version of iOS. On every one of them, if the user takes a few photos in a row the application crashes by quietly returning to the desktop. On Android devices, the same happens when I take even a single photo. In fact, when running the application in the debugger I can see that the process terminates not when the app returns from CameraUI, but as soon as the native Camera is invoked.
    This problem has been going on forever. What is the fix?

    Just going on your original post about Android quitting as soon as the camera is invoked I did a quick test.
    FB Test code:
    package
        import flash.display.Bitmap;
        import flash.display.Loader;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.IOErrorEvent;
        import flash.events.MediaEvent;
        import flash.media.CameraUI;
        import flash.media.MediaPromise;
        import flash.media.MediaType;
        public class TestingCameraRoll extends Sprite
            private var cam:CameraUI;
            private var _imgNum:int = 1;
            public function TestingCameraRoll()
                super();
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                addEventListener(Event.ACTIVATE, _onActivated);
            protected function _onActivated(event:Event):void
                removeEventListener(Event.ACTIVATE, _onActivated);
                trace("App activated, starting camera.");
                cam = new CameraUI();
                cam.addEventListener(Event.CANCEL, _captureMobileCancel, false, 0, true);
                cam.addEventListener(MediaEvent.COMPLETE, _captureMobileComplete, false, 0, true);
                cam.launch(MediaType.IMAGE);
            protected function _captureMobileComplete(event:MediaEvent):void
                trace("_captureMobileComplete: " + event.type);
                var mp:MediaPromise = MediaPromise(event.data);
                var imgLoader:Loader = new Loader();
                imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, _imgLoadHandler);
                imgLoader.addEventListener(IOErrorEvent.IO_ERROR, _errHandler);
                imgLoader.loadFilePromise(mp);
            protected function _imgLoadHandler(event:Event):void
                trace("imgLoadHandler - width:" + event.target.width + " height:" + event.target.height);
                var bm:Bitmap = new Bitmap(Bitmap(event.target.content).bitmapData);
                bm.width = stage.fullScreenWidth;
                bm.height = stage.fullScreenHeight;
                bm.name = "img_" + _imgNum++;
                addChild(bm);
                trace("Added image: " + bm.name);
                cam.launch(MediaType.IMAGE);
            protected function _captureMobileCancel(event:Event):void
                trace("Capture cancelled")
            protected function _errHandler(event:Event):void
                trace("Error: " + event);
    All that does is continuously request to take a picture and then dump it on the display list at full size. I didn't do proper size/orientation compensation, I just sized down so I could verify it took the photo. The goal was to #1 successfully load the camera, #2 take a picture, #3 receive the data, #4 pile them up in full resolution (albeit scaled) on the display list without crashing.
    My SGS3 started to get slow after 15 pictures but here's the trace:
    App activated, starting camera.
    [SWF] TestingCameraRoll.swf - 3,029 bytes after decompression
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_1
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_2
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_3
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_4
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_5
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_6
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_7
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_8
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_9
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_10
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_11
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_12
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_13
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_14
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_15
    Capture cancelled
    App never crashed, and this is running in debug mode. That's 15 8MP full size images stacked on the display list.
    I use AIR 3.5 release on this (3.5.0.600, not even the latest 3.5.0.880).

Maybe you are looking for

  • Mail says my Home folder is full?

    Strange, Mail keeps telling me it can't save changes (i.e. do anything) because my Home folder is full and that I should move documents? What's the deal? I have no documents in the documents folder in Home... Any ideas?

  • I have a gray screen and why won't it load my OS?

    Ok this is the deal I have been at this for three days.  I ran a disk verification and told me that my hard drive disk needed reparied.  I tried to repair it said to get as much stuff off that I can disk can't be repaired (it gave me a gray screen, w

  • Pages can't read a file I created yesterday

    I spent hours working on a document yesterday that was very important to me, saving it regularly. When I came back to it today, it said that Pages cannot open the file because the format is not supported. I can't open it with Text Edit, either. It wa

  • Free space in external drive when trash is empty

    I had a big folder in my external hard disk (60 Gb) I sent it to the trash and then I empty the trash but the space the file occupied is still ocuppied in the drive. How do I free up the space in my external drive? I know it should be free but someho

  • Last published field in odata reports

    hi folks, We are using Project OnLine and we  want to implement a safe Timesheet reporting in order to invoice customers correctly. I tried to create an oData report which display the Last published date and the last  Modified date for each project,