Creating a combined timeline based on several timelines in several tables

Hi,
I need to extract a timeline for a customer based on valid_from and valid_to dates in several tables.
For example: I have a table named customers with an id, a valid_from and a valid_to date and a table named contracts with an contrat_name, customer_id and valid_from and valid_to:
CUSTOMERS:
ID | VALID_FROM | VALID_TO
1 | 01.03.2010 | 01.01.4000
CONTRACTS:
CONTRACT_NAME | CUSTOMER_ID | VALID_FROM | VALID_TO
ContractA | 1 | 01.03.2010 | 01.10.2010
ContractB | 1 | 01.10.2010 | 01.01.4000
The following statement would now give me the correct timeline:
select cus.id customer, con.contract_name contract, greatest(cus.valid_from,con.valid_from) valid_from, least(cus.valid_to,con.valid_to) valid_to
from customers cus
inner join contracts con on cus.id = con.customer_id;
CUSTOMER | CONTRACT | VALID_FROM | VALID_TO
1 | ContractA | 01.03.2010 | 01.10.2010
1 | ContractB | 01.10.2010 | 01.01.4000
That works, but I get a problem as soon as I have a point of time where there is no contract for a customer but I still would like to have these periods in my timeline:
Let's assume the following data and the same select statement:
CUSTOMERS:
ID | VALID_FROM | VALID_TO
1 | 01.03.2010 | 01.01.4000
CONTRACTS:
CONTRACT_NAME | CUSTOMER_ID | VALID_FROM | VALID_TO
ContractA | 1 | 01.05.2010 | 01.10.2010
ContractB | 1 | 01.12.2010 | 01.03.2011
What I would now get would be:
CUSTOMER | CONTRACT | VALID_FROM | VALID_TO
1 | ContractA | 01.05.2010 | 01.10.2010
1 | ContractB | 01.12.2010 | 01.03.2011
But what I would like to get is the following:
CUSTOMER | CONTRACT | VALID_FROM | VALID_TO
1 | null | 01.03.2010 | 01.05.2010
1 | ContractA | 01.05.2010 | 01.10.2010
1 | null | 01.10.2010 | 01.12.2010
1 | ContractB | 01.12.2010 | 01.03.2011
1 | null | 01.03.2011 | 01.01.4000
What I do not want to do is to generate a result with contract = null any time there is no contract since I actually want to join the timeline of several different tables into one and it would therefore become very complicated to assume things based on what data can or can not be found in one specific table.
Thanks for any help or ideas,
Regards,
Thomas

Hi, Thomas,
Thomas Schenkeli wrote:
... Is this the way you meant? Because I actually didn't have to change anything about part (b) of the statement since non-matching results were excluded by the where-clause "OR     valid_from     < valid_to" in the final select anyway.You're absolutely right. Sorry about the mistakes in my last message. I'm glad you solved the problem anyway.
Beware of SELECT DISTINCT . Adding DISTINCT causes the system to do extra work, often because the query was doing something wrong and generating too many rows, so you pay for it twice. In this case, the join conditions in (b) are different from (a) and (c), so b is generating too many rows. The DISTINCT in the main query corrects that mistake, but it would be more efficient just to avoid the mikstake in the first place, and use the same join conditions in all 3 branches of the UNION. (You could also factor out the join, doing it once in another sub-query, and then referencing that result set in each branch of the UNION.)
You can get the same results a little more efficiently, with a little less code, this way:
WITH     union_data     AS
     SELECT       MIN (ua.customer_id)     AS customer_id
     ,       NULL               AS contract_name
     ,       MIN (ua.valid_from)     AS valid_from
     ,       MIN (oa.valid_from)     AS valid_to
     ,       'A'                AS origin
     FROM       tmp_customers     ua
     JOIN       tmp_contracts     oa     ON     oa.customer_id     = ua.customer_id
                           AND     oa.valid_from     >= ua.valid_from
                         AND     oa.valid_to     <= ua.valid_to
     GROUP BY  ua.id
    UNION ALL
     SELECT       ub.customer_id
     ,       ob.contract_name
     ,       ob.valid_from
     ,       ob.valid_to
     ,       'B'                AS origin
     FROM       tmp_customers     ub
     JOIN       tmp_contracts     ob     ON     ob.customer_id     = ub.customer_id
                           AND     ob.valid_from     >= ub.valid_from
                         AND     ob.valid_to     <= ub.valid_to
    UNION ALL
     SELECT       uc.customer_id
     ,       NULL               AS contract_name
     ,       oc.valid_to          AS valid_from
     ,       LEAD ( oc.valid_from
                 , 1
                 , uc.valid_to
                 ) OVER ( PARTITION BY  uc.id
                    ORDER BY      oc.valid_from
                     )          AS valid_to
     ,       'C'                AS origin
     FROM       tmp_customers     uc
     JOIN       tmp_contracts     oc     ON     oc.customer_id     = uc.customer_id
                           AND     oc.valid_from     >= uc.valid_from
                         AND     oc.valid_to     <= uc.valid_to
SELECT       *
FROM       union_data
WHERE       contract_name     IS NOT NULL
OR       valid_from     < valid_to
ORDER BY  customer_id
,       valid_from
You may have noticed that this site normally doesn't display multiple spaces in a row.
Whenever you post formatted text on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Strange behaviour of view based on several tables join with union all

    Dear fellows we r facing a strange problem we have a view based on several tables joined by union all ,when we issue an ordered query on date,rows returned are unusually different than they should be .
    Is oracle has some special behaviour for view based on union all ?
    I m using oracle 8.1.6 on windows 2000
    Kashif Sohail

    Did you ever solve this problem? I have two select statements based on 4 tables and 3 views using about 5 more tables. When I execute each select individually I get exactly what is expected. When I UNION ALL both selects together, I get "no rows returned", however when I UNION them I get exactly what is expected. I should get the same answer for both UNION ALL and UNION. The two select statements are identical, except for one column where I changed the constant to be different. Any thoughts?

  • Create a scrolling timeline

    I'm looking for tutorials to create a scrolling timeline similar to the link below
    http://classic.motown.com/timeline/
    thanks for any help

    You may be able to find a tutorial by Googling "AS2 slider tutorial" and similar terms.  If you can follow the description below and you know how to code AS2, it may be enough to get you to a solution.
    The general approach involves having an object that acts like a slider which you assign startDrag and stopDrag methods to, for onPress and onRelease events, respectively.  The _x property of that slider object defines the _x of the image that it seems to make move via an enterframe event-based function that updates the image's position based on the slider's position.  The full distance that the slider moves would be relative to the full width of the image (a viewing area-width less since the image would not go completely to the left).  Essentially, if the slider is XX% of the way down its travelable distance, the image will also be XX% of the way down its travelable distance.

  • Adobe Encore CS6 crashes when creating a new timeline

    Hello,
    So I've been using Encore for a while now, and recently just upgraded my system to OSX Mavericks. I understand that the compatibility of En is with OSX Lion but I had it working in Mountain Lion, and see no drastic OS changes that'd make the application crash.
    Whenever I open the application and create a new timeline it crashes. This happens whether I have two files selected (m2v and WAV) or simply just creating a blank timeline.
    I can create menus, and link them with the pick-whip, but timelines there is nothing I can figure out what to do.
    I have done a clean install of CS6 three times already hoping that would fix it, but it didn't. Then I did a fresh install of the OS on one of the Macs to see if the upgrade was an issue - still no avail.
    Has anyone got Encore working? It's a struggle at best knowing the application isn't getting worked on in the CC anymore, let alone not allowing me to continue using it.
    I also tried creating a Slideshow Timeline, but that too crashes the application if that's any extra help

    This is the crash log:
    Process:         Adobe Encore [1393]
    Path:            /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/MacOS/Adobe Encore
    Identifier:      com.adobe.Encore
    Version:         6.0.1 (6.0.1)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [163]
    Responsible:     Adobe Encore [1393]
    User ID:         501
    Date/Time:       2014-03-02 14:10:53.432 +1100
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  7E1CFC05-A602-54A5-92F3-EF7A8F5E69AF
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000136f4d470
    VM Regions Near 0x136f4d470:
        MALLOC_LARGE           0000000136cb7000-0000000136ec0000 [ 2084K] rw-/rwx SM=PRV 
    --> VM_ALLOCATE            0000000136ec0000-0000000136fa7000 [  924K] rw-/rwx SM=PRV 
        __TEXT                 0000000136fa7000-0000000136fbc000 [   84K] r-x/rwx SM=COW  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/QTParser.framework/Versions/A/QTParser
    Application Specific Information:
    Performing @selector(dispatchMenuSelection:) from sender DVAMacMenuItem 0x610000305bb0
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib         0x00007fff85488292 __kill + 10
    1   com.adobe.dvacore.framework   0x00000001046cf21a (anonymous namespace)::SignalHandler(int, __siginfo*, void*) + 314
    2   libsystem_platform.dylib       0x00007fff8f4fc5aa _sigtramp + 26
    3   ???                           0x0000000136f4d470 0 + 5216982128
    4   com.adobe.Encore               0x0000000100158565 MLFPlaybackHelper::CreateVideoTrack(TrackEditor const&, boost::shared_ptr) + 151
    5   com.adobe.Encore               0x000000010015b152 MLFPlaybackHelper::CreateSequence(PGCEditor const&, boost::shared_ptr, bool, int, int, dvacore::geom::PointT, long long, encore::FieldType) + 618
    6   com.adobe.Encore               0x0000000100158cd2 MLFPlaybackHelper::GetSequence(PGCEditor const&, boost::shared_ptr, bool, int, int, dvacore::geom::PointT, long long) + 1382
    7   com.adobe.Encore               0x00000001001617b0 MLFPlaybackHelper::GetSequence(GUOM::Timeline const*, boost::shared_ptr, bool) + 182
    8   com.adobe.Encore               0x000000010057ff76 AuthorContext::EditingServices::InternalCreateTimeline(AuthorContext::StEditingServicesUndoHelper&, GUOM::Timeline*) + 448
    9   com.adobe.Encore               0x000000010058060e AuthorContext::EditingServices::CreateTimeline(std::string const&) + 212
    10  com.adobe.Encore               0x000000010053ab2f GUOM::Timeline::CreateTimeline(GUOM::ProjectItemContainer*, GUOM::Timeline**) + 501
    11  com.adobe.Encore               0x00000001002d62ce ProjectCommands::CreateTimelineHelper(UndoSupport::UndoCookieJar&, GUOM::ProjectItemContainer&, std::basic_string, dvacore::utility::SmallBlockAllocator::STLAllocator > const&, std::list > const&, std::list > const&) + 77
    12  com.adobe.Encore               0x00000001002d76a7 ProjectCommands::AddTimelineHelper(UndoSupport::UndoCookieJar&, GUOM::ProjectItemContainer&, std::list >&, UISupport::ProgressStepper*) + 895
    13  com.adobe.Encore               0x00000001002d904f ProjectCommands::CreateTimelineFromCurrSelection(Document*, exo::selection::Manager*, bool) + 215
    14  com.adobe.Encore               0x00000001002b0067 encore::ProjectCmdAttachment::DoHandleCommand(int) + 839
    15  com.adobe.exo.framework       0x00000001055b25ff exo::uisupport::CommandHandler::HandleCommand(int) + 239
    16  com.adobe.exo.framework       0x00000001055b183a exo::uisupport::CommandHandler::DoCallMyCommandChain(int) + 26
    17  com.adobe.exo.framework       0x00000001055b0bcc exo::uisupport::CommandHandlerBase::CallCommandChain(int) + 34
    18  com.adobe.exo.framework       0x0000000105557d9b exo::app::OS_AppBase::DispatchMenuCommand(int) + 139
    19  com.adobe.dvacore.framework   0x00000001045db9de int dvacore::config::ErrorManager::ExecuteFunction(boost::function0*, void*) + 28
    20  com.adobe.Encore               0x0000000100227224 dva::encore::DroverErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost::function0) + 52
    21  com.adobe.dvacore.framework   0x00000001045db8d0 void dvacore::config::ErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost::function0, bool*) + 112
    22  com.adobe.dvacore.framework   0x00000001045dde0d void dvacore::config::ExecuteTopLevelFunction(boost::function0, bool*) + 125
    23  com.adobe.exo.framework       0x0000000105556cbf -[ExoMacApplication handleMenuCommand:] + 143
    24  com.apple.AppKit               0x00007fff8376c340 -[NSApplication sendAction:to:from:] + 327
    25  com.apple.AppKit               0x00007fff837872a8 -[NSMenuItem _corePerformAction] + 394
    26  com.apple.AppKit               0x00007fff83786fe4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
    27  com.adobe.dvaui.framework     0x0000000104c69f77 -[DVAMacMenu performActionForItemAtIndex:] + 55
    28  com.apple.AppKit               0x00007fff837d648d -[NSMenu _internalPerformActionForItemAtIndex:] + 35
    29  com.apple.AppKit               0x00007fff837d6309 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
    30  com.apple.AppKit               0x00007fff8377d0d6 NSSLMMenuEventHandler + 716
    31  com.apple.HIToolbox           0x00007fff8afbe1d4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 892
    32  com.apple.HIToolbox           0x00007fff8afbd787 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 385
    33  com.apple.HIToolbox           0x00007fff8afd1880 SendEventToEventTarget + 40
    34  com.apple.HIToolbox           0x00007fff8b007640 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 420
    35  com.apple.HIToolbox           0x00007fff8b03a238 SendMenuCommandWithContextAndModifiers + 59
    36  com.apple.HIToolbox           0x00007fff8b03a1e0 SendMenuItemSelectedEvent + 178
    37  com.apple.HIToolbox           0x00007fff8b03a0bf FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 94
    38  com.apple.HIToolbox           0x00007fff8b042095 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 718
    39  com.apple.HIToolbox           0x00007fff8b041cc1 _HandleMenuSelection2 + 446
    40  com.apple.AppKit               0x00007fff836ef73c _NSHandleCarbonMenuEvent + 284
    41  com.apple.AppKit               0x00007fff8354e6be _DPSNextEvent + 2170
    42  com.apple.AppKit               0x00007fff8354da2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    43  com.apple.AppKit               0x00007fff83541b2c -[NSApplication run] + 553
    44  com.adobe.exo.framework       0x0000000105557729 exo::app::OS_AppBase::RunEventLoop() + 55
    45  com.adobe.Encore               0x0000000100347260 main + 399
    46  com.adobe.Encore               0x00000001000497e8 start + 52
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib         0x00007fff85489662 kevent64 + 10
    1   libdispatch.dylib             0x00007fff8af6e43d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib             0x00007fff8af6e152 _dispatch_mgr_thread + 52
    Thread 2:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 5:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 8:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 9:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 10:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ACE                 0x00000001059502c9 0x105917000 + 234185
    6   com.adobe.ACE                 0x000000010594f5da 0x105917000 + 230874
    7   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 11:
    0   libsystem_kernel.dylib         0x00007fff85488a3a __semwait_signal + 10
    1   libsystem_c.dylib             0x00007fff906a4dc0 nanosleep + 200
    2   com.adobe.Encore               0x00000001004a0eae ScObjects::Thread::sleep(unsigned int) + 116
    3   com.adobe.Encore               0x00000001004a0eed ScObjects::Thread::wait(unsigned int) + 39
    4   com.adobe.Encore               0x000000010046f6af ScObjects::BridgeTalkThread::run() + 405
    5   com.adobe.Encore               0x00000001004a1b23 ScObjects::Thread::go(void*) + 309
    6   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 12:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.adobe.ape.engine           0x0000000133984c0d APXGetHostAPI + 2516093
    3   com.adobe.ape.engine           0x0000000133732ec1 APXGetHostAPI + 83761
    4   com.adobe.ape.engine           0x0000000133984cd1 APXGetHostAPI + 2516289
    5   com.adobe.ape.engine           0x0000000133984d4a APXGetHostAPI + 2516410
    6   com.adobe.ape.engine           0x0000000133984e79 APXGetHostAPI + 2516713
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 13:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.adobe.ape.engine           0x0000000133984c0d APXGetHostAPI + 2516093
    3   com.adobe.ape.engine           0x0000000133732ec1 APXGetHostAPI + 83761
    4   com.adobe.ape.engine           0x0000000133984cd1 APXGetHostAPI + 2516289
    5   com.adobe.ape.engine           0x0000000133984d4a APXGetHostAPI + 2516410
    6   com.adobe.ape.engine           0x0000000133984e79 APXGetHostAPI + 2516713
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 14:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.adobe.ape.engine           0x0000000133984c0d APXGetHostAPI + 2516093
    3   com.adobe.ape.engine           0x0000000133732ec1 APXGetHostAPI + 83761
    4   com.adobe.ape.engine           0x0000000133984cd1 APXGetHostAPI + 2516289
    5   com.adobe.ape.engine           0x0000000133984d4a APXGetHostAPI + 2516410
    6   com.adobe.ape.engine           0x0000000133984e79 APXGetHostAPI + 2516713
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 15:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.adobe.ape.engine           0x0000000133984c0d APXGetHostAPI + 2516093
    3   com.adobe.ape.engine           0x0000000133732ec1 APXGetHostAPI + 83761
    4   com.adobe.ape.engine           0x0000000133984cd1 APXGetHostAPI + 2516289
    5   com.adobe.ape.engine           0x0000000133984d4a APXGetHostAPI + 2516410
    6   com.adobe.ape.engine           0x0000000133984e79 APXGetHostAPI + 2516713
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 16:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c77 _pthread_cond_wait + 787
    2   com.adobe.ape.engine           0x0000000133984bd0 APXGetHostAPI + 2516032
    3   com.adobe.ape.engine           0x000000013399cddb APXGetHostAPI + 2614859
    4   com.adobe.ape.engine           0x0000000133984cd1 APXGetHostAPI + 2516289
    5   com.adobe.ape.engine           0x0000000133984d4a APXGetHostAPI + 2516410
    6   com.adobe.ape.engine           0x0000000133984e79 APXGetHostAPI + 2516713
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 17:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c77 _pthread_cond_wait + 787
    2   com.adobe.ape.engine           0x0000000133984bd0 APXGetHostAPI + 2516032
    3   com.adobe.ape.engine           0x0000000133b172c3 APXGetHostAPI + 4164403
    4   com.adobe.ape.engine           0x0000000133984cd1 APXGetHostAPI + 2516289
    5   com.adobe.ape.engine           0x0000000133984d4a APXGetHostAPI + 2516410
    6   com.adobe.ape.engine           0x0000000133984e79 APXGetHostAPI + 2516713
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 18:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 19:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.ASLFoundation.framework 0x0000000108276410 ASL::(anonymous namespace)::TaskProc(void*) + 160
    6   com.apple.CoreServices.CarbonCore 0x00007fff8f96b6c3 PrivateMPEntryPoint + 58
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 20:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 21:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 22:
    0   libsystem_kernel.dylib         0x00007fff8548964a kevent + 10
    1   com.adobe.dvatransport.framework 0x000000010b6d9f12 boost::asio::detail::kqueue_reactor::run(bool, boost::asio::detail::op_queue&) + 240
    2   com.adobe.dvatransport.framework 0x000000010b6e40da boost::asio::detail::task_io_service::do_one(boost::asio::detail::scoped_lock&, boost::asio::detail::task_io_service::idle_thread_info*) + 512
    3   com.adobe.dvatransport.framework 0x000000010b6e4467 boost::asio::detail::task_io_service::run(boost::system::error_code&) + 291
    4   com.adobe.dvatransport.framework 0x000000010b6d0fbd SkyConnectionEnv::MainLoop() + 129
    5   com.adobe.dvatransport.framework 0x000000010b6d103b SkyConnectionEnv::StaticThreadFunc(SkyConnectionEnv*) + 9
    6   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 23:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.adobe.dvatransport.framework 0x000000010b6e404b boost::asio::detail::task_io_service::do_one(boost::asio::detail::scoped_lock&, boost::asio::detail::task_io_service::idle_thread_info*) + 369
    3   com.adobe.dvatransport.framework 0x000000010b6e4467 boost::asio::detail::task_io_service::run(boost::system::error_code&) + 291
    4   com.adobe.dvatransport.framework 0x000000010b6d1c2a boost::asio::detail::posix_thread::func::run() + 42
    5   com.adobe.dvatransport.framework 0x000000010b6d4c33 boost_asio_detail_posix_thread_function + 19
    6   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 24:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 25:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 26:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 27:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 28:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 29:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 30:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 31:
    0   libsystem_kernel.dylib         0x00007fff85488716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c2c3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore 0x00007fff8f99a800 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f99a9ff TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore 0x00007fff8f96b145 MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework   0x0000000104649994 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr > >&, int) + 200
    6   com.adobe.dvacore.framework   0x0000000104646c93 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr const&, boost::shared_ptr const&) + 115
    7   com.adobe.dvacore.framework   0x0000000104644383 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0 const&, dvacore::threads::ThreadPriority, boost::function const&, boost::function const&) + 163
    8   com.adobe.boost_threads.framework 0x000000010457aace thread_proxy + 158
    9   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    10  libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    11  libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 32:
    0   libsystem_kernel.dylib         0x00007fff85484a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff85483d18 mach_msg + 64
    2   com.apple.CoreFoundation       0x00007fff904b4155 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation       0x00007fff904b3779 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation       0x00007fff904b30b5 CFRunLoopRunSpecific + 309
    5   com.apple.AVCVideoServices     0x0000000145810ad0 AVS::AVCVideoServicesThreadStart(AVS::AVCVideoServicesThreadParams*) + 186
    6   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 33:
    0   libsystem_kernel.dylib         0x00007fff85484a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff85483d18 mach_msg + 64
    2   com.apple.CoreFoundation       0x00007fff904b4155 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation       0x00007fff904b3779 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation       0x00007fff904b30b5 CFRunLoopRunSpecific + 309
    5   com.apple.AVCVideoServices     0x0000000145810ad0 AVS::AVCVideoServicesThreadStart(AVS::AVCVideoServicesThreadParams*) + 186
    6   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 34:: com.apple.audio.IOThread.client
    0   libsystem_kernel.dylib         0x00007fff85484a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff85483d18 mach_msg + 64
    2   com.apple.audio.CoreAudio     0x00007fff8539d918 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
    3   com.apple.audio.CoreAudio     0x00007fff8539d8a6 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
    4   com.apple.audio.CoreAudio     0x00007fff8539c02e HALC_ProxyIOContext::IOWorkLoop() + 950
    5   com.apple.audio.CoreAudio     0x00007fff8539bbcd HALC_ProxyIOContext::IOThreadEntry(void*) + 97
    6   com.apple.audio.CoreAudio     0x00007fff8539ba8d HALB_IOThread::Entry(void*) + 75
    7   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 35:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 36:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 37:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 38:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 39:
    0   libsystem_kernel.dylib         0x00007fff85488e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8d3c1f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8d3c4fb9 start_wqthread + 13
    Thread 40:
    0   libsystem_kernel.dylib         0x00007fff85484a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff85483d18 mach_msg + 64
    2   com.apple.CoreFoundation       0x00007fff904b4155 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation       0x00007fff904b3779 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation       0x00007fff904b30b5 CFRunLoopRunSpecific + 309
    5   com.apple.AppKit               0x00007fff836ee16e _NSEventThread + 144
    6   libsystem_pthread.dylib       0x00007fff8d3c0899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8d3c072a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8d3c4fc9 thread_start + 13
    Thread 41:
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x00007fff5fbfd530  rcx: 0x00007fff5fbfd048  rdx: 0x0000000000000000
      rdi: 0x0000000000000571  rsi: 0x000000000000000a  rbp: 0x00007fff5fbfd090  rsp: 0x00007fff5fbfd048
       r8: 0x0000000000000040   r9: 0x00007fff5fbfcf00  r10: 0x0000000000000000  r11: 0x0000000000000206
      r12: 0x0000000000000000  r13: 0x0000000000000040  r14: 0x00007fff5fbfd4c8  r15: 0x000000000000000a
      rip: 0x00007fff85488292  rfl: 0x0000000000000206  cr2: 0x0000000136f4d470
    Logical CPU:     0
    Error Code:      0x02000025
    Trap Number:     133
    Binary Images:
           0x100000000 -        0x100b7ffe7 +com.adobe.Encore (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/MacOS/Adobe Encore
           0x10120e000 -        0x1012c5fef +com.adobe.AdobeXMPFiles (Adobe XMP Files 5.4 -f 51 - 66.146729)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeXMPFiles.framework/Versions/A/AdobeXMPFiles
           0x1012f8000 -        0x101358ff7 +com.adobe.AdobeXMPCore (Adobe XMP Core 5.3 -c 11 - 66.146729) <88C23D1F-50F3-13DD-7C60-F9530B29513E> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeXMP.framework/Versions/A/AdobeXMP
           0x101362000 -        0x101410fef +com.adobe.AdobeScCore (ScCore 4.2.12 - 4.2.12.18602) <9CEE95E5-2FC6-5E58-02A4-138EA6F8D894> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeScCore.framework/Versions/A/AdobeScCore
           0x10144d000 -        0x10150afff +com.adobe.AdobeExtendScript (ExtendScript 4.2.12 - 4.2.12.18602) <0957DFA6-0593-CE4B-8638-00F32113B07B> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeExtendScript.framework/Versions/A/AdobeExtendScript
           0x101554000 -        0x1023fdff7 +com.sonic.AuthorScriptHDMV (8.0.3.2 - 1) <72F7A9A8-3A36-032F-CEEC-3898D701D125> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AuthorScriptHDMV.framework/Versions/A/AuthorScriptHDMV
           0x10392d000 -        0x103f54fff +com.sonic.AdvStorage (5.0.14)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdvStorage.framework/Versions/A/AdvStorage
           0x1042f3000 -        0x1042f7ff7 +com.adobe.AdobeCrashReporter (6.0 - 6.0.20120201)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCrashReporter
           0x1042fd000 -        0x10436bfef +com.adobe.headlights.LogSessionFramework (2.1.2.1652) <25E6F475-1522-419C-2169-547FCF2FD97F> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/LogSession.framework/Versions/A/LogSession
           0x1043bf000 -        0x1044b0fff +com.adobe.AdbeScriptUIFlex (ScriptUIFlex 6.2.29 - 6.2.29.18602) <2BD3388F-976E-0B1C-55DB-B97A5AF95724> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdbeScriptUIFlex.framework/Versions/A/AdbeScriptUIFlex
           0x104534000 -        0x10454eff7 +com.adobe.ahclientframework (1.7.0.56 - 1.7.0.56)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ahclient.framework/Versions/A/ahclient
           0x104557000 -        0x10455efff +com.adobe.boost_date_time.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/boost_date_time.framework/Versions/A/boost_date_time
           0x104579000 -        0x104588fff +com.adobe.boost_threads.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/boost_threads.framework/Versions/A/boost_threads
           0x1045a9000 -        0x104779fff +com.adobe.dvacore.framework (6.0.1 - 6.0.1.0) <385662F0-64EB-FFF6-00F6-C3A2404A83AA> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvacore.framework/Versions/A/dvacore
           0x104985000 -        0x104991fff +com.adobe.boost_signals.framework (6.0.1 - 6.0.1.0) <845268CC-80E3-A639-49F4-49C73CC8C4A2> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/boost_signals.framework/Versions/A/boost_signals
           0x1049a9000 -        0x1049acfff +com.adobe.boost_system.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/boost_system.framework/Versions/A/boost_system
           0x1049b2000 -        0x104e1bfe7 +com.adobe.dvaui.framework (6.0.1 - 6.0.1.0) <35750D3E-AB6D-8464-B90B-1BDE667F2E6F> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvaui.framework/Versions/A/dvaui
           0x105389000 -        0x105441ff7 +com.adobe.dvaworkspace.framework (6.0.1 - 6.0.1.0) <1360F54F-EA7C-882A-59D3-7C5C0F3558BB> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvaworkspace.framework/Versions/A/dvaworkspace
           0x10554e000 -        0x105621ff7 +com.adobe.exo.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/exo.framework/Versions/A/exo
           0x105784000 -        0x1057aeff7 +com.adobe.dvamediatypes.framework (6.0.1 - 6.0.1.0) <53A339F6-9370-3232-E3E8-2C33310C90DB> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvamediatypes.framework/Versions/A/dvamediatypes
           0x1057e1000 -        0x1057e1ff7 +com.adobe.XpThreads.framework (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/XpThreads.framework/Versions/A/XpThreads
           0x1057e5000 -        0x1058bcff7 +com.adobe.encore.XpGraphics (6.0.1 - 6.0.1) <89327517-F7C5-366D-9C8C-05398EA51B56> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/XpGraphics.framework/Versions/A/XpGraphics
           0x105917000 -        0x105a90fff +com.adobe.ACE (AdobeACE 2.19.18.19243 - 2.19.18.19243) <7F28B188-1D1B-20C9-BBB9-B74FCC12ECAD> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeACE.framework/Versions/A/AdobeACE
           0x105aa3000 -        0x105e20fff +com.adobe.AGM (AdobeAGM 4.26.17.19243 - 4.26.17.19243) <19B59987-1020-E125-DC86-EA48FC81A890> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
           0x105e8c000 -        0x105eaafff +com.adobe.BIB (AdobeBIB 1.2.02.19243 - 1.2.02.19243) <6C6431BE-06BA-55A7-87FA-46EFB6ED0FAF> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeBIB.framework/Versions/A/AdobeBIB
           0x105eb1000 -        0x106212fef +com.adobe.CoolType (AdobeCoolType 5.10.31.19243 - 5.10.31.19243) <8BFF14FB-AA14-1CBF-C2A3-715363B5A841> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeCoolType.framework/Versions/A/AdobeCoolType
           0x10625f000 -        0x1066a5ff7 +com.adobe.MPS (AdobeMPS 5.8.0.19463 - 5.8.0.19463) <8A4BA3B2-6F6A-3958-ABDE-C3E8F21373B0> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeMPS.framework/Versions/A/AdobeMPS
           0x106721000 -        0x106769ff7 +com.adobe.UnicodeConversion.framework (6.0.1 - 6.0.1) <2ED2C1AE-7573-614B-67F9-78D7FCA0A887> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/UnicodeConversion.framework/Versions/A/UnicodeConversion
           0x106771000 -        0x106789fff +com.adobe.Alcid.framework (1.0 - 1.0) <48383769-ABC5-29AA-5A99-9370C6A43BD9> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/Alcid.framework/Versions/A/Alcid
           0x106790000 -        0x1067a4fff +com.adobe.StringManager.framework (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/StringManager.framework/Versions/A/StringManager
           0x1067b6000 -        0x1067d8fff +com.adobe.UISupport.framework (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/UISupport.framework/Versions/A/UISupport
           0x106803000 -        0x1068c4ff7 +com.adobe.UIToolkit.framework (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/UIToolkit.framework/Versions/A/UIToolkit
           0x1069cf000 -        0x106b1cff7 +WRServices (0) <58A30CB8-5C47-93D1-BC68-1204A0C2674F> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/wrservices.framework/versions/a/WRServices
           0x106b90000 -        0x106bbcfff +com.adobe.AXE8SharedExpat (AdobeAXE8SharedExpat 3.7.101.18636 - 3.7.101.18636) <488DF1F7-A643-5168-706A-498A0322A87E> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeAXE8SharedExpat.framework/Versions/A/AdobeAXE8SharedExpat
           0x106bdf000 -        0x106c07ff7 +com.adobe.BIBUtils (AdobeBIBUtils 1.1.01 - 1.1.01) <9BDD08A8-2DD8-A570-7A7B-EDAA7097D61B> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeBIBUtils.framework/Versions/A/AdobeBIBUtils
           0x106c0e000 -        0x106cd3fff +com.adobe.JP2K (2.0.0 - 2.0.0.18562)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobeJP2K.framework/Versions/A/AdobeJP2K
           0x106d20000 -        0x107e1efff +com.adobe.psl (AdobePSL 13.0.0.19494 - 13.0.0.19494) <2EC30542-8CE4-DAE8-D4E5-73ED0E25209D> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AdobePSL.framework/Versions/A/AdobePSL
           0x107fde000 -        0x10808cff7  com.apple.carbonframeworktemplate (6.0.1 - 6.0.1) <6AE89445-1789-4205-856C-61AAC32C21F4> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/PhotoshopIsolation.framework/Versions/A/PhotoshopIsolation
           0x1080e6000 -        0x1081a5ff7 +com.adobe.encore.TextSupport (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/TextSupport.framework/Versions/A/TextSupport
           0x108245000 -        0x108246ff7 +com.adobe.PRM.framework (6.0.1 - 6.0.1.0) <8A48E4CC-261B-E935-3899-44602A9478D6> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/PRM.framework/Versions/A/PRM
           0x10824c000 -        0x1082aeff7 +com.adobe.ASLFoundation.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ASLFoundation.framework/Versions/A/ASLFoundation
           0x1083a4000 -        0x1083c1fff +com.adobe.ASLMessaging.framework (6.0.1 - 6.0.1.0) <140DB0F9-20BC-20AF-7337-710CCD913995> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ASLMessaging.framework/Versions/A/ASLMessaging
           0x1083ef000 -        0x1083f0fff +com.adobe.Memory.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/Memory.framework/Versions/A/Memory
           0x1083f7000 -        0x108406fff +com.adobe.ASLUnitTesting.framework (6.0.1 - 6.0.1.0) <3F525224-ED74-772B-5A47-76DADEC27D32> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ASLUnitTesting.framework/Versions/A/ASLUnitTesting
           0x108421000 -        0x1084cdff7 +com.adobe.AudioRenderer.framework (6.0.1 - 6.0.1.0) <7413AF57-4D60-244D-C30D-3BF30D16ADD1> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AudioRenderer.framework/Versions/A/AudioRenderer
           0x10858b000 -        0x1093c1fff +com.adobe.Backend.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/Backend.framework/Versions/A/Backend
           0x109e3f000 -        0x109f82ff7 +com.adobe.ImageRenderer.framework (6.0.1 - 6.0.1.0) <2D25030B-41F9-A28B-A96B-44E91B036354> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ImageRenderer.framework/Versions/A/ImageRenderer
           0x10a098000 -        0x10a0fefe7 +com.adobe.MediaFoundation.framework (6.0.1 - 6.0.1.0) <8A51274F-42BA-8D02-0B8A-8493ED63174F> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/MediaFoundation.framework/Versions/A/MediaFoundation
           0x10a185000 -        0x10a1cbfff +com.adobe.AudioFilters.framework (6.0.1 - 6.0.1.0) <605FAAEF-CE61-1B47-6A4C-877D5375202D> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AudioFilters.framework/Versions/A/AudioFilters
           0x10a228000 -        0x10a37dff7 +com.adobe.VideoRenderer.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/VideoRenderer.framework/Versions/A/VideoRenderer
           0x10a493000 -        0x10a585fef +com.adobe.ExporterHost.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ExporterHost.framework/Versions/A/ExporterHost
           0x10a674000 -        0x10a6f8ff7 +com.adobe.PlayerHost.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/PlayerHost.framework/Versions/A/PlayerHost
           0x10a78c000 -        0x10a7cfff7 +com.adobe.AudioSupport.framework (6.0.1 - 6.0.1.0) <5606C5A0-C657-BC41-558C-A3D57EF55A1B> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AudioSupport.framework/Versions/A/AudioSupport
           0x10a818000 -        0x10a9a9ff7 +com.adobe.ImporterHost.framework (6.0.1 - 6.0.1.0) <34DFEA74-D2C9-661E-CEE2-BC24D73AB99D> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ImporterHost.framework/Versions/A/ImporterHost
           0x10ab26000 -        0x10ab6fff7 +com.adobe.MLFoundation.framework (6.0.1 - 6.0.1.0) <3171FD8B-CE77-C85A-529A-DE9259879A0F> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/MLFoundation.framework/Versions/A/MLFoundation
           0x10abde000 -        0x10ac52ff7 +com.adobe.RecorderHost.framework (6.0.1 - 6.0.1.0) <5A04E2EA-271F-ED8D-64E7-86DDB56E425A> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/RecorderHost.framework/Versions/A/RecorderHost
           0x10acd5000 -        0x10ad11fff +com.adobe.PluginSupport.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/PluginSupport.framework/Versions/A/PluginSupport
           0x10ad56000 -        0x10ad6efff +com.adobe.ProjectSupport.framework (6.0.1 - 6.0.1.0) <30BE53CD-F51D-B328-DD53-9A6AB5DC1207> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ProjectSupport.framework/Versions/A/ProjectSupport
           0x10ad96000 -        0x10adb9fff +com.adobe.AudioFilterHost.framework (6.0.1 - 6.0.1.0) <92ABD8F9-CB87-5567-0F28-E8DFC6AA3F11> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/AudioFilterHost.framework/Versions/A/AudioFilterHost
           0x10ade7000 -        0x10aed8ff7 +com.adobe.VideoFilterHost.framework (6.0.1 - 6.0.1.0) <6D9F8596-6723-ABD8-ED6D-D76517B502C3> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/VideoFilterHost.framework/Versions/A/VideoFilterHost
           0x10af97000 -        0x10afa9ff7 +com.adobe.ProjectConverterHost.framework (6.0.1 - 6.0.1.0) <0710425A-0D1E-BF63-F776-B9DABB4DC2D3> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ProjectConverterHost.framework/Versions/A/ProjectConverterHost
           0x10afc6000 -        0x10aff2ff7 +com.adobe.SweetPeaSupport.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/SweetPeaSupport.framework/Versions/A/SweetPeaSupport
           0x10b02a000 -        0x10b02dfff +com.adobe.MediaUtils.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/MediaUtils.framework/Versions/A/MediaUtils
           0x10b034000 -        0x10b088ff7 +com.adobe.VideoFrame.framework (6.0.1 - 6.0.1.0) <595F60A7-8D40-79F2-A5C8-F0BD59EF6C58> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/VideoFrame.framework/Versions/A/VideoFrame
           0x10b0d7000 -        0x10b13dff7 +com.adobe.DynamicLinkMedia.framework (6.0.1 - 6.0.1.0) <0316AB0A-A721-EE85-A83B-529BEDA73C65> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/DynamicLinkMedia.framework/Versions/A/DynamicLinkMedia
           0x10b1ed000 -        0x10b249ff7 +com.adobe.MediaCoreUI.framework (6.0.1 - 6.0.1.0) <4C928F66-6257-A995-1D9B-EC8FD6413EDE> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/MediaCoreUI.framework/Versions/A/MediaCoreUI
           0x10b2ac000 -        0x10b37bfff +com.adobe.dvaeve.framework (6.0.1 - 6.0.1.0) <40203338-5A08-D540-2FCF-6DF2759EF6FC> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvaeve.framework/Versions/A/dvaeve
           0x10b4ed000 -        0x10b5acff7 +com.adobe.MediaLayerFacade (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/MediaLayerFacade.framework/Versions/A/MediaLayerFacade
           0x10b644000 -        0x10b670fff +com.adobe.amefoundation.framework (6.0.1 - 6.0.1.0) <4585BE5B-D096-4881-5C16-B72465BA4F37> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/amefoundation.framework/Versions/A/amefoundation
           0x10b6b4000 -        0x10b71aff7 +com.adobe.dvatransport.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvatransport.framework/Versions/A/dvatransport
           0x10b79a000 -        0x10b7d6fff +com.adobe.dvamarshal.framework (6.0.1 - 6.0.1.0) <9C36EBED-6581-E85E-08AF-6940E71B195B> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvamarshal.framework/Versions/A/dvamarshal
           0x10b868000 -        0x10ba4dfef +com.adobe.dynamiclink.framework (6.0.1 - 6.0.1.0) <18C24597-48C7-0122-CAE6-E2FF291DE4ED> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dynamiclink.framework/Versions/A/dynamiclink
           0x10bc4e000 -        0x10bc93fff +com.adobe.dynamiclinkui.framework (6.0.1 - 6.0.1.0) <3161C56C-1FDB-9932-A732-2B8142D9A5B1> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dynamiclinkui.framework/Versions/A/dynamiclinkui
           0x10bd01000 -        0x10bd58fff +com.adobe.dvatemporalxmp.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvatemporalxmp.framework/Versions/A/dvatemporalxmp
           0x10bd8c000 -        0x10bdc9ff7 +com.adobe.LiveLinkUtils.framework (6.0.1 - 6.0.1) <1351FE8D-A691-3D3C-E7C8-FB08DE609B9B> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/LiveLinkUtils.framework/Versions/A/LiveLinkUtils
           0x10be1d000 -        0x10be76ff7 +com.adobe.BravoInitializer.framework (6.0.1 - 6.0.1.0) <6D071F72-E912-ACE8-9F17-69D9032FC4C4> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/BravoInitializer.framework/Versions/A/BravoInitializer
           0x10beef000 -        0x10bf9ffe7 +com.adobe.FileSupport.framework (6.0.1 - 6.0.1)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/FileSupport.framework/Versions/A/FileSupport
           0x10bfe2000 -        0x10c013ff7 +com.adobe.ameproperties.framework (6.0.1 - 6.0.1.0) <094E58D8-1A4F-7E1A-F1CA-9F92010D88B6> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/ameproperties.framework/Versions/A/ameproperties
           0x10c05e000 -        0x10c088fff +com.adobe.dvacaptioning.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvacaptioning.framework/Versions/A/dvacaptioning
           0x10c0bd000 -        0x10c117ff7 +com.adobe.dvametadata.framework (6.0.1 - 6.0.1.0)  /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/dvametadata.framework/Versions/A/dvametadata
           0x10c1b3000 -        0x10c1f0ff7 +com.adobe.TransmitHost.framework (6.0.1 - 6.0.1.0) <3A79012A-2FCB-D106-A6BE-269AEC15E804> /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Frameworks/TransmitHost.framework/Versions/A/TransmitHost
           0x10c238000 -        0x10c2ccff7 +com.adobe.dvametadataUI.framework (6.0.1 - 6.0.1.0)  /

  • Using Motion Tween to create a moving timeline

    I'm just learning the software and haven't been able to figure this out.  I'm trying to create an historic timeline for our company and am using 20 jpg images, which I placed on separate layers and then converted each jpg to a symbol and motion tweened to go across the screen.  The problem is that there is a gap between the frames when they play as a movie and I don't know how to get rid of that so that they flow continuously across the screen from left to right seamlessly.  Can anyone provide me with some instruction on this?

    this may be time-consuming but should be easy.  start at the left-most keyframe that has an image.  i would think there's only one keyframe there that has an image so nothing needs to be done there.  go to the next keyframe.  there will be an image there and the previous image should still be on-stage (or you need to move that 2nd keyframe).  move that 2nd image so it abuts the first. go to the next keyframe etc.
    all your tweens should be the same number of frames, use the same easing and move the images the same number of pixels.

  • Creating a adf page based on webservice data control

    hello
    i am using latest version of jdev 11g from otn.
    i created a VO based on EO and define a view criteria as well. i added that to a AM and exposed it as web service and deployed to a wls server.
    now i wish to created a adf page based on it so i created a ws data control based on the wsdl.
    in the data control section now i see service as findSearchOrder. When i try to drop it on the page it created a adf form with two input boxes findControl and findCriteria.
    So, I am not able to understand how exactly these are going to map to the actual search parameters?
    Please advise

    If you want to retrieve all records, you can set them to null.
    But of course, it depends on what you want to archive (I suppose you want a search form?).
    Please give us your complete JDev version. (Help > About > About tab)

  • Creating a dynamic lov based on a column

    Hi,
    I want to create a dynamic lov based on a column in a database-table.
    Eg. the query
    'select code, description from code_table'
    is the contents of the column 'lov_query' in the table 'parameters'.
    For every parameter there can be a different lov-query, but the result is always
    two columns (code and description, number and name, etc.), exactly what you need to use in a lov.
    I've written a (dbms_sql) function that takes the parameter-id and returns the lov_query.
    create or replace function "GET_PMR_LOV"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    cur INTEGER := DBMS_SQL.OPEN_CURSOR;
    fdbk INTEGER;
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(2000);
    begin
    DBMS_SQL.PARSE
    (cur, 'select pmr.lov_query from parameters pmr where pmr.ID ' || ' = 'L_PMR_ID', DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cur, 'L_PMR_ID', l_pmr_id);
    DBMS_SQL.DEFINE_COLUMN (cur, 1, l_stmnt, 2000);
    fdbk := DBMS_SQL.EXECUTE (cur);
    fdbk := DBMS_SQL.FETCH_ROWS (cur);
    IF fdbk > 0
    THEN
    DBMS_SQL.COLUMN_VALUE (cur, 1, l_stmnt);
    return (l_stmnt);
    ELSE     
    return null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR (cur);
    END;
    But now I'm stuck on how to pass on this statement in HTMLDB
    as an dynamic lov, I don't seem to be able to execute this statement
    into the two display and return columns. Any ideas?

    Hello again,
    This lov is on an updatable report-column where the user has to make a choice from an non-named, popup and query-based lov. In the lov-query box I have just put:
    "return get_pmr_lov(:p41_param_id)" (without the quotes ;-)
    Here's my latest version plus an alternative, which both seem to work fine:
    create or replace function "GET_PMR_LOV"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    cur INTEGER := DBMS_SQL.OPEN_CURSOR;
    fdbk INTEGER;
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(1000);
    begin
    DBMS_SQL.PARSE (cur, 'select pmr.lov_query from paramaters pmr where pmr.ID ' || '= :L_PMR_ID', DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cur, 'L_PMR_ID', l_pmr_id);
    DBMS_SQL.DEFINE_COLUMN (cur, 1, l_stmnt, 1000);
    fdbk := DBMS_SQL.EXECUTE (cur);
    fdbk := DBMS_SQL.FETCH_ROWS (cur);
    IF fdbk > 0 THEN
    DBMS_SQL.COLUMN_VALUE (cur, 1, l_stmnt);
    return (l_stmnt);
    ELSE
    return null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR (cur);
    END;
    create or replace function "GET_PMR_LOV2"
    (pmr_id in NUMBER)
    return VARCHAR2
    is
    l_pmr_id NUMBER(9) := pmr_id;
    l_stmnt VARCHAR2(1000);
    BEGIN
    EXECUTE IMMEDIATE 'select pmr.lov_query from parameters pmr where pmr.ID = :1'
    INTO l_stmnt USING l_pmr_id;
    return l_stmnt;
    END;
    The error-message remains the same, unable to bind :p41_param_id !

  • Creating a target group based on the BP email address only in CRM

    Hi there,
    I am currently trying to create a target group based on the business partner email address only.
    I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses.  With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
    What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
    The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range.  I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list.   I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
    Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
    Any help would be most appreciated.
    Kind regard
    JoJo

    Hi JoJo ,
    The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
    REPORT  zexcel.
    * G L O B A L D A T A D E C L A R A T I O N
    TYPE-POOLS : ole2.
    TYPES : BEGIN OF typ_xl_line,
    email TYPE ad_smtpadr,
    END OF typ_xl_line.
    TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
    DATA : t_data TYPE typ_xl_tab,
           lt_bu_guid TYPE TABLE OF bu_partner_guid,
           ls_bu_guid TYPE  bu_partner_guid,
           lt_guids TYPE TABLE OF bapi1185_bp,
           ls_guids TYPE  bapi1185_bp,
           lt_return TYPE bapiret2_t.
    * S E L E C T I O N S C R E E N L A Y O U T
    PARAMETERS : p_xfile TYPE localfile,
                  p_tgguid TYPE bapi1185_key .
    * E V E N T - A T S E L E C T I O N S C R E E N
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
       CALL FUNCTION 'WS_FILENAME_GET'
         IMPORTING
           filename         = p_xfile
         EXCEPTIONS
           inv_winsys       = 1
           no_batch         = 2
           selection_cancel = 3
           selection_error  = 4
           OTHERS           = 5.
       IF sy-subrc <> 0.
         CLEAR p_xfile.
       ENDIF.
    * E V E N T - S T A R T O F S E L E C T I O N
    START-OF-SELECTION.
    * Get data from Excel File
       PERFORM sub_import_from_excel USING p_xfile
       CHANGING t_data.
       SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
    but000~partner =
       but020~partner
         INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
    lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
    t_data-email.
       CLEAR: lt_guids,ls_guids.
       LOOP AT lt_bu_guid INTO ls_bu_guid.
         ls_guids-bupartnerguid = ls_bu_guid.
         APPEND ls_guids TO lt_guids.
       ENDLOOP.
       CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
         EXPORTING
           targetgroupguid = p_tgguid
         TABLES
           return          = lt_return
           businesspartner = lt_guids.
    *&      Form  SUB_IMPORT_FROM_EXCEL
    *       text
    *      -->U_FILE     text
    *      -->C_DATA     text
    FORM sub_import_from_excel USING u_file TYPE localfile
    CHANGING c_data TYPE typ_xl_tab.
       CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
       DATA : l_dummy TYPE typ_xl_line,
              cnt_cols TYPE i.
       DATA : h_excel TYPE ole2_object,
              h_wrkbk TYPE ole2_object,
              h_cell TYPE ole2_object.
       DATA : l_row TYPE sy-index,
              l_col TYPE sy-index,
              l_value TYPE string.
       FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
    * Count the number of columns in the internal table.
       DO.
         ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
         IF sy-subrc EQ 0.
           cnt_cols = sy-index.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Create Excel Application.
       CREATE OBJECT h_excel 'Excel.Application'.
       CHECK sy-subrc EQ 0.
    * Get the Workbook object.
       CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
       CHECK sy-subrc EQ 0.
    * Open the Workbook specified in the filepath.
       CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
       CHECK sy-subrc EQ 0.
    * For all the rows - Max upto 65536.
       DO const_max_row TIMES.
         CLEAR l_dummy.
         l_row = l_row + 1.
    * For all columns in the Internal table.
         CLEAR l_col.
         DO cnt_cols TIMES.
           l_col = l_col + 1.
    * Get the corresponding Cell Object.
           CALL METHOD OF h_excel 'Cells' = h_cell
             EXPORTING #1 = l_row
             #2 = l_col.
           CHECK sy-subrc EQ 0.
    * Get the value of the Cell.
           CLEAR l_value.
           GET PROPERTY OF h_cell 'Value' = l_value.
           CHECK sy-subrc EQ 0.
    * Value Assigned ? pass to internal table.
           CHECK NOT l_value IS INITIAL.
           ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
           <fs_dummy> = l_value.
         ENDDO.
    * Check if we have the Work Area populated.
         IF NOT l_dummy IS INITIAL.
           APPEND l_dummy TO c_data.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Now Free all handles.
       FREE OBJECT h_cell.
       FREE OBJECT h_wrkbk.
       FREE OBJECT h_excel.
    ENDFORM. " SUB_IMPORT_FROM_EXCEL
    Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
    snap shot of excel file:
    Let me know if it was useful.

  • Creating a BC4J EO Based on Stored Proc w/DB assigned PK using Seq/Trigge

    BC4J Code-o-philes;
    Using Steven Muench article "Creating a BC4J Entity Object Based on Stored Procedures" (HOWTO: Basing BC4J Entity on Stored Procedure as a starting point, I would like to modify that example to use a Stored Procedure where the Primary Keys of the Department Table are assigned by a DB Sequence/Before trigger. I already have the stored procedure and sequence/trigger working fine in SQL*Plus.
    The assumption I have is that code below needs to be modified, but I'm not sure exactly what need to be done to retreive the DB assigned PK.
    Lastly, I think that JDeveloper should be doing this automatically, maybe next release?
    Bill G...
    void handleStoredProcInsert() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN hr.do_insert(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    /* st.setLong(1,getDepartmentId().longValue()); */
    st.registerOutParameter(3,Types.NUMERIC);
    if (getDepartmentName() != null) {
    st.setString(1,getDepartmentName());
    else {
    st.setNull(1,Types.VARCHAR);
    if (getLocationId() != null) {
    st.setLong(2,getLocationId().longValue());
    else {
    st.setNull(2,Types.VARCHAR);
    int rows = st.executeUpdate();
    Long newId = new Long(st.getLong(3));
    populateAttributeAsChanged(DEPARTMENTID, new DBSequence(newId));
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}

    ARGHHHHHHHHHHHHHH!
    I've change the line
    st.setLong(1,getDepartmentId().longValue());
    to
    st.setLong(1,getSequenceNumber().longValue());
    And I'm still getting Error(303,20): method getSequenceNumber not found in class stproc.DepartmentsImpl.
    even though i've imported "oracle.jbo.domain.DBSequence;"
    The code below is taken from the BC4J StoredProc sample and is what I want to modify to get it working with DB/Triggers.
    BG...
    package stproc;
    import java.math.BigDecimal;
    import java.lang.Math;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.jbo.JboException;
    import oracle.jbo.Key;
    import oracle.jbo.RowInconsistentException;
    import oracle.jbo.RowIterator;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.server.DBTransaction;
    import oracle.jbo.server.EntityDefImpl;
    import oracle.jbo.server.EntityImpl;
    import oracle.jbo.server.TransactionEvent;
    import oracle.jbo.AlreadyLockedException;
    import oracle.jbo.domain.DBSequence;
    // --- File generated by Oracle Business Components for Java.
    public class DepartmentsImpl extends EntityImpl
    protected static final int DEPARTMENTID = 0;
    protected static final int DEPARTMENTNAME = 1;
    protected static final int LOCATIONID = 2;
    private static EntityDefImpl mDefinitionObject;
    * This is the default constructor (do not remove)
    public DepartmentsImpl()
    * Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject()
    if (mDefinitionObject == null)
    mDefinitionObject = (EntityDefImpl)EntityDefImpl.findDefObject("stproc.Departments");
    return mDefinitionObject;
    * Gets the attribute value for DepartmentId, using the alias name DepartmentId
    public DBSequence getDepartmentId()
    return (DBSequence)getAttributeInternal(DEPARTMENTID);
    * Sets <code>value</code> as the attribute value for DepartmentId
    public void setDepartmentId(DBSequence value)
    setAttributeInternal(DEPARTMENTID, value);
    * Gets the attribute value for DepartmentName, using the alias name DepartmentName
    public String getDepartmentName()
    return (String)getAttributeInternal(DEPARTMENTNAME);
    * Sets <code>value</code> as the attribute value for DepartmentName
    public void setDepartmentName(String value)
    setAttributeInternal(DEPARTMENTNAME, value);
    * Gets the attribute value for LocationId, using the alias name LocationId
    public Number getLocationId()
    return (Number)getAttributeInternal(LOCATIONID);
    * Sets <code>value</code> as the attribute value for LocationId
    public void setLocationId(Number value)
    setAttributeInternal(LOCATIONID, value);
    // Generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index, AttributeDefImpl attrDef) throws Exception
    switch (index)
    case DEPARTMENTID:
    return getDepartmentId();
    case DEPARTMENTNAME:
    return getDepartmentName();
    case LOCATIONID:
    return getLocationId();
    default:
    return super.getAttrInvokeAccessor(index, attrDef);
    // Generated method. Do not modify.
    protected void setAttrInvokeAccessor(int index, Object value, AttributeDefImpl attrDef) throws Exception
    switch (index)
    case DEPARTMENTID:
    setDepartmentId((DBSequence)value);
    return;
    case DEPARTMENTNAME:
    setDepartmentName((String)value);
    return;
    case LOCATIONID:
    setLocationId((Number)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    protected void doSelect(boolean lock) {
    if (lock) {
    this.handleStoredProcLock();
    else {
    this.handleStoredProcSelect();
    public void doDML(int operation, TransactionEvent e) {
    switch (operation) {
    case DML_INSERT: {
    handleStoredProcInsert();
    break;
    case DML_UPDATE: {
    handleStoredProcUpdate();
    break;
    case DML_DELETE: {
    handleStoredProcDelete();
    break;
    void handleStoredProcSelect() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN hr.do_select(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    /* st.setLong(1,getDepartmentId().longValue()); */
    st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.NUMERIC);
    int rows = st.executeUpdate();
    populateAttribute(DEPARTMENTNAME,st.getString(2),true,false);
    populateAttribute(LOCATIONID,st.getBigDecimal(3),true,false);
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcDelete() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN hr.do_delete(?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    /* st.setLong(1,getDepartmentId().longValue()); */ // bg mod
    st.registerOutParameter(1,Types.NUMERIC); // bg add
    int rows = st.executeUpdate();
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcInsert() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN hr.do_insert(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    /* st.setLong(1,getDepartmentId().longValue()); */ // bg mod
    st.registerOutParameter(3,Types.NUMERIC);
    if (getDepartmentName() != null) {
    st.setString(1,getDepartmentName());
    else {
    st.setNull(1,Types.VARCHAR);
    if (getLocationId() != null) {
    st.setLong(2,getLocationId().longValue());
    else {
    st.setNull(2,Types.VARCHAR);
    int rows = st.executeUpdate();
    Long newId = new Long(st.getLong(3));
    populateAttributeAsChanged(DEPARTMENTID, new DBSequence(newId));
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcUpdate() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN hr.do_update(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    /* st.setLong(1,getDepartmentId().longValue()); */ // bg mod
    /* dbSeqVal.getSequenceNumber().longValue() */
    st.setLong(1,getSequenceNumber().longValue());
    if (getDepartmentName() != null) {
    st.setString(2,getDepartmentName());
    else {
    st.setNull(2,Types.VARCHAR);
    if (getLocationId() != null) {
    st.setLong(3,getLocationId().longValue());
    else {
    st.setNull(3,Types.VARCHAR);
    int rows = st.executeUpdate();
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcLock() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN hr.do_lock(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    /* st.setLong(1,getDepartmentId().longValue()); */ // bg mod
    st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.NUMERIC);
    int rows = st.executeUpdate();
    String newDname = st.getString(2);
    BigDecimal newLoc = st.getBigDecimal(3);
    // Compare the old values to the current values to
    // detect if row has changed.
    compareOldAttrTo(DEPARTMENTNAME,newDname);
    compareOldAttrTo(LOCATIONID,newLoc);
    catch (SQLException s) {
    if (Math.abs(s.getErrorCode())==54) {
    throw new AlreadyLockedException(s);
    else {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void compareOldAttrTo(int slot, Object newVal) {
    if ((getPostedAttribute(slot) == null && newVal != null) ||
    (getPostedAttribute(slot) != null && newVal == null) ||
    (getPostedAttribute(slot) != null && newVal != null &&
    !getPostedAttribute(slot).equals(newVal))) {
    throw new RowInconsistentException(createPrimaryKey(getDepartmentId()));
    * Creates a Key object based on given key constituents
    public static Key createPrimaryKey(DBSequence departmentId)
    return new Key(new Object[] {departmentId});
    }

  • Creating a combined view of two spatially indexed tables

    Hi All,
    I'm using oracle 10g and C++ occi to store and retrieve data. I have two tables that are identical in structure, they have an SDO_GEOM column where I store lat/long/altitude info. When I store the data using a stored procedure, the data is put into the correct table. I now want to retrieve the data using a spatial operator - I use SDO_NN to retrive data within a given distance of a lat/long/altitude point. This works fine for a single or multiple tables as I use a stored function to give me the data back as an object. I now have a requirement to list all the data from both tables - I thought I could do this by creating a combined view but I understand this cannot be done with spatial data - I habe also tried using the join operator but I am having problems since the columns for each table are identical. Is there any workaround for this - the combined view will not have any spatial operators run on it, I just need to return each row (the spatial data can be returned as individual lat/long/alt instead of as a SDO_GEOM. A second idea I had would be to return all the data using a ref cursor - this works for a single table but I do not understand how I can open the cursor with a select from two tables with identical column names.
    Unfortunately it is a requirement that the tables are seperate so combining the two tables into one is not an option.
    Thanks in advance for any help anyone can offer,
    Cheers,
    Rob

    You can create a UNION ALL view:
    CREATE TABLE cola_markets_1 (
    mkt_id NUMBER PRIMARY KEY,
    name VARCHAR2(32),
    shape SDO_GEOMETRY);
    CREATE TABLE cola_markets_2 (
    mkt_id NUMBER PRIMARY KEY,
    name VARCHAR2(32),
    shape SDO_GEOMETRY);
    CREATE VIEW v1 AS
    SELECT * FROM cola_markets_1 UNION ALL SELECT * FROM cola_markets_2;
    If both tables have a spatial index on their shape column, a query plan will look
    like:
    explain plan for SELECT c.mkt_id, c.name FROM v1 c WHERE SDO_NN(c.shape, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(4,6, 8,8)) , 'sdo_num_res=1') = 'TRUE';
    0 SELECT STATEMENT     |           |
    1 VIEW               | V1          |
    2 UNION-ALL          |           |
    3 TABLE ACCESS BY INDEX ROWID| COLA_MARKETS_1
    4 DOMAIN INDEX     | COLA_SPATIAL_IDX_1
    5 TABLE ACCESS BY INDEX ROWID| COLA_MARKETS_2
    6 DOMAIN INDEX     | COLA_SPATIAL_IDX_2
    However, the above SDO_NN query will return 2 rows (one from each table),
    because it can only work on one table, it won't return the nearest neighbor
    from the combined view without some tweaks. For example, to return the
    top one, you may try:
    select * from (SELECT c.mkt_id, c.name FROM v1 c WHERE SDO_NN(c.shape, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(4,6, 8,8)) , 'sdo_num_res=1') = 'TRUE' order by sdo_geom.sdo_distance(c.shape, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(4,6, 8,8)), 0.0001)) where rownum < 2;
    Note that you can only pass literals or bind variables into the second input parameter
    of spatial operators (including SDO_NN), when a UNION ALL view is used. i.e. the following
    query won't work right now:
    SELECT c.* FROM v1 c, another_table b WHERE b.id =1 and SDO_NN(c.shape, b.shape, 'sdo_num_res=1')= 'TRUE';

  • How to creat a Data provider  based on different fields in SAP BW ?

    Hi,
    Experts,
    There are  20 fields  of  Plant Maintainace  like : 
    SWERK
    BEBER
    STORT
    TPLNR
    EQUNR
    INGRP
    QMDAT   ---peroid
    STTXT
    QMDAT  - Date of Notification
    QMNUM
    QMTXT
    QMART
    AUSVN
    AUZTV
    AUSBS
    AUZTB
    AUSZT
    ERNAM
    QMDAB
    AUFNR
    I  want to creat a  Report based upon these fields  ?
    For that I h'v  checked the relevant Fields to the   existing standard  Datasource  in Bw side   &
    Checked  cubes   created  based upon these Datasource  in Bw side !
    i h'v found  some fields are  existing different cubes & some are  missing .
    How to creat a Data provider  based on different fields in SAP BW ?
    plz suggest      !!!!!!!
    Thanx,
    Asit
    Edited by: ASIT_SAP on Jul 15, 2011 6:25 AM
    Edited by: ASIT_SAP on Jul 15, 2011 6:27 AM
    Edited by: ASIT_SAP on Jul 15, 2011 12:37 PM

    Hi Lee, Please see below..
    DECLARE @Machine2 TABLE
    DispatchDate DATE
    INSERT INTO @Machine2 VALUES ('2014/02/01'), ('2014/02/02'), ('2014/02/03')
    DECLARE @DateFrom DATE
    SELECT @DateFrom = DATEADD(D,1,MAX(DispatchDate)) FROM @Machine2
    SELECT @DateFrom AS DateFrom
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • Dynamically creating a Record Group based on Previously entered Record Grou

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Hi,
    I know how to dynamically create a record group based on a query and putting the code in When new form instance.
    My query is. I have a form which has multiple Record Groups and the user wants to dynamically create subsequent groups based on previous groups.
    For example
    I have a record group with selects a Location,
    when the user selects the Location from a list of values
    the 2nd record group called 'Cost Centres' will have to filter out only those with the locations selected above.
    How can I populate the 2nd record group at run-time when I do not know what site the user will select?
    If I simply populate in when new form instance as in location and just select everything, the list of values populates.
    CC field is a LIST ITEM and the list style is a POP LIST, it is not required.
    I have put the code in the Location field in the when-list-changed trigger.
    I am getting this error:
    frm-41337: cannot populate the list from the record group
    here is the code:
    DECLARE
    v_recsql Varchar2(1000); -- The SQL for creating the Record Group.
    v_recgrp RecordGroup; -- Record Group
    v_status Number; -- Return Value of Populate_Group function.
    c_where VARCHAR2(1000);
    BEGIN
         IF :location = '1' THEN
              c_where := ' substr(cost_centre,1,2) in (''01'',''02'')';
         ELSIF :location  = '2' THEN
              c_where := ' substr(cost_centre,1,2) in (''02'',''03'')';
         ELSIF :location   = '3' THEN
              c_where := ' substr(cost_centre,1,2) in (''01'',''11'',''07'')';
                   ELSE
              c_where :=  ' 1=1'; --EVERYTHING
         END IF;
    v_recsql := 'SELECT cost_centre, description  FROM   cost_centres  where '||c_where;
    -- Create the Record Group
    v_recgrp := CREATE_GROUP_FROM_QUERY('v_recgrp', v_recsql);
    IF NOT ID_NULL(v_recgrp)
    THEN -- No Error, record group has been successfully created.
    -- Populate Record Group
    v_status := POPULATE_GROUP('v_recgrp');
    IF v_status = 0
    THEN -- No Error. Record Group has been Populated.
    POPULATE_LIST('block.CC', 'v_recgrp');
    END IF; -- IF v_status = 0
    -- Delete the Record Group as it is no longer needed.
    DELETE_GROUP('v_recgrp');
    END IF; -- IF NOT ID_NULL(v_recgrp)
    END;thanks for your assistance.

    Hi,
    Once record status gets change for block you can not populate/repopulate the list item. Keep those list items as non-database item with different names and create different items as database orignal items. Than assign the values in WHEN-LIST-CHANGE trigger to the actual database items.
    -Ammad

  • BAPI to create SNP planned order based on start date

    Hi,
    I am looking for a BAPI to create SNP planned order based on the order start date. There is BAPI BAPI_MOSRVAPS_CREATESNPORDER which can be used to create SNP planned order based on the end date but not based on the start date.
    Also would be great if some one can share how do they create SNP Planned orders using BAPI BAPI_MOSRVAPS_CREATESNPORDER in case if GR processing time is defined in the product master and workdays for GR to be respected according to the calendar.
    Regards,
    Venkat

    Hello Mr.Venkat,
    Hope you recognize me.
    Please check out the BAdi below.
    BAdi - APO_BAPI_BUS10503 (this is the BAdi for ManufactOrderAPS  BAPI which contains the SNPorder BAPI)
    Method - CHANGE_SAVEMULTIPLE2
    In this method parameter IT_ORDER_HEAD contains Order start date input option.
    For GR time please check this (not sure if it will help).
    Same BAdi/ same method
    Parameter IV_PLANNING_MODE_USAGE contains field PLANNING_MODE.
    Value 1 for PLANNING_MODE corresponds to "Observance of parameters from the product master".
    This may make it respect the GR time in product master
    Good luck with the above
    Regards,
    Ashok

  • How can i create a dynamic structure based on my input from a select-option

    Hello,
    This is to develop a custom report in FI for G/L Balance based on company code.
    I have an input select-option for Company code.
    Based on the range of company code my output layout should be modified.
    I am not very much sure to create a dynamic internal based on the input from a select-option.
    Can any one please let me know how can i do this.
    I would appreciate for anyone who turns up quickly.
    Thank you,
    With regs,
    Anitha Joss.

    See the following program, it builds a dynamic internal table based on the company codes from the select option. 
    report zrich_0001 .
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>.
    data: alv_fldcat type slis_t_fieldcat_alv,
          it_fldcat type lvc_t_fcat.
    data: it001 type table of t001 with header line.
    selection-screen begin of block b1 with frame title text-001.
    select-options: s_bukrs for it001-bukrs.
    selection-screen end of block b1.
    start-of-selection.
      select * into table it001 from t001
                     where bukrs in s_bukrs.
      perform build_dyn_itab.
    *  Build_dyn_itab
    form build_dyn_itab.
      data: index(3) type c.
      data: new_table type ref to data,
            new_line  type ref to data,
            wa_it_fldcat type lvc_s_fcat.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname = 'PERIOD' .
      wa_it_fldcat-datatype = 'CHAR'.
      wa_it_fldcat-intlen = 6.
      append wa_it_fldcat to it_fldcat .
      loop at it001.
        clear wa_it_fldcat.
        wa_it_fldcat-fieldname = it001-bukrs .
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 4.
        append wa_it_fldcat to it_fldcat .
      endloop.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = it_fldcat
                   importing
                      ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
    endform.
    Regards,
    Rich Heilman

  • Create an AP Invoice based on a Purchase Order using SDK

    Hi,
    What are the steps to create an AP Invoice based on a Purchase Order using DI API?
    Which methods of which objects to use and what parameters to pass?
    Thanks.

    Hi Rajesh,
    Here is a sample to create an Invoice based on a Sales Order. The same way you can change as per your requirement:
    SAPbobsCOM.Documents oInvoice = default(SAPbobsCOM.Documents);
                oInvoice = (SAPbobsCOM.Documents)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
                oInvoice.CardCode = "C000003";
                oInvoice.DocDueDate = DateAndTime.Now;
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
               oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
               oInvoice.Lines.BaseLine = 1;
                oInvoice.Lines.Quantity = 3;
                oInvoice.Lines.Add();
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
                oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
                oInvoice.Lines.BaseLine = 2;
                int kth = 0;
                kth = oInvoice.Add();
                if (kth != 0)
                    int irrcode;
                    string errmsg;
                    SBO_Company.GetLastError(out irrcode, out errmsg);
                    Program.oMainSAPDI.ShowMessage(errmsg, BoStatusBarMessageType.smt_Error);
    The main thing to remember is Base Type, Based Entry and Base Line.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

Maybe you are looking for

  • Trying to use Buttons and keep getting an error code

    I am trying to use buttons and I keep getting the error code ReferenceError: Error #1074: Illegal write to read-only property graphics on flash.display.MovieClip. There is one button that doesnt appear when I view it live/in browser/ in flash profess

  • How to terminate the running query for a report?

    Hi, When I run a report, the SQL query takes too long. This causes an overload on database. How do I stop query from running after some time?

  • Where should I store the collatoral files that are associated with photos stored in lightroom?

    Where should I store the collatoral files that are associated with photos stored in lightroom? Items such as pdf files, word documents, etc. How should I connect them to each other so I can find both the photo and the related data?

  • Appstore Error Downloading Xcode 4.2

    Have made many attempts at downloading Xcode 4.2 from Appstore but always fails with message "Error has occured".  I've trolled tons of  forums on Apple and other sites and attempted just about all remedies I could find from new DNS's, Clearing Cache

  • Help with Permissions 10.4.11

    Permissions on my OD server are not working correctly, I have a volume shared through WGM. Owner = hmistaff / R&W Group = hmistaff / R&W and Everyone / R&W. The share has posix permissions and ACL's on. If I propagate the permissions down, it looks o