Logical placements of .load() and .onload()
Hi Folks...
I got the following code from Adobe's 'Serverside ActionScript Language Reference'. Here it is:
myLoadVars = new LoadVars();
myLoadVars.onLoad = function(result){
trace("myLoadVars load success is " + result);
myLoadVars.load(http://www.someurl.com/somedata.txt);
My questions is, if the purpose of the onload event handler is to confirm if the load operation is a sucess,than should it not be placed after the load command? In the above code, the onload event handler appears before the load and yet it works, I am wondering how this is possible? I hope someone can explain to me. Thanks guys.
regards
Call it planning ahead...
The code is preparing for the load completion by assigning a function that will execute after the load completion event occurs--the function does not execute just because it appears first. If you prepare for an event after the activity that leads up to the event has already begun, you run the risk of not being ready when the event occurs... the file could load before the function exists and the actions of that function would not be executed as a result.
Try to think of it in terms of planning ahead. like for a surprise party. You tell everyone to wait until the victim arrives and turns on the lights before everyone yells "surprise!!". You have prepared them to take an action when the event finally occurs. If you had tried to tell them the plan when the person was already reaching for the lights......
Similar Messages
-
I'm using LoadVars in Frame 1, and I need to use the
resulting variables in other scripts afterwards. (But all the
examples I find online only use the variables right in the same
script.)
The problem I'm having is, the onLoad function doesn't
actually make it wait. It goes ahead to the next frame whether
fully loaded or not. It depends on the connection at the moment--if
the vars haven't fully loaded, hilarity ensues.
My script in Frame 1:
_root.myloadvars = new LoadVars();
_root.myloadvars.load("datapairs.txt");
_root.myloadvars.onLoad = function(success) {
if (success) {
//trace("TXT RETRIEVED");
gotoAndPlay(2);
} else {
trace("TXT NOT RETRIEVED");
gotoAndPlay(1);
It's SUPPOSED to hold in Frame 1 until ready to proceed and make
use of the variables in Farme 2.
Things I have tried:
* Moving the above to Frame 2, so the "not retrieved" loop
actually has two frames to cycle (back to 1, then forward to 2
where the script it).
* Adding an additional gotoAndPlay(1) BELOW the above.
But regardless, it never goes back to Frame 1, it always goes
forward. It reports success, but half the time the variables (or
some of them) are still Undefined.
What's the RIGHT way to wait in a frame for LoadVars, and
then let other scripts use the variables afterwards?
Many thanks for any advice!
(PS, this is Flash MX--I'm waiting for Universal Binary
before I upgrade.)You need a stop() on the frame doing the load and onLoad.
Then in the onLoad
you move to the next frame. Other approaches include hiding
the UI and in
the onLoad, revealing the UI such as a MovieClip cover is
made invisible.
Declare the results LoadVars object on the timeline outside
of a function
and it is accessible for the entire movie at all levels.
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"nagromme" <[email protected]> wrote in
message
news:e4fpvm$qmq$[email protected]..
I'm using LoadVars in Frame 1, and I need to use the
resulting variables in
other scripts afterwards. (But all the examples I find online
only use the
variables right in the same script.)
The problem I'm having is, the onLoad function doesn't
actually make it
wait.
It goes ahead to the next frame whether fully loaded or not.
It depends on
the
connection at the moment--if the vars haven't fully loaded,
hilarity ensues.
<b>My script in Frame 1:</b>
_root.myloadvars = new LoadVars();
_root.myloadvars.load("datapairs.txt");
_root.myloadvars.onLoad = function(success) {
if (success) {
//trace("TXT RETRIEVED");
gotoAndPlay(2);
} else {
trace("TXT NOT RETRIEVED");
gotoAndPlay(1);
<b>It's SUPPOSED to hold in Frame 1 until ready to
proceed and make use of
the
variables in Farme 2.
Things I have tried:</b>
* Moving the above to Frame 2, so the "not retrieved" loop
actually has two
frames to cycle (back to 1, then forward to 2 where the
script it).
* Adding an additional gotoAndPlay(1) BELOW the above.
But regardless, it never goes back to Frame 1, it always
goes forward. It
reports success, but half the time the variables (or some of
them) are still
Undefined.
What's the RIGHT way to wait in a frame for LoadVars, and
then let other
scripts use the variables afterwards?
<b>Many thanks for any advice!</b>
(PS, this is Flash MX--I'm waiting for Universal Binary
before I upgrade.) -
how many computers can i load my downloaded logic pro on? and can i sell my logic 8... or do i need it?
This is the mainadvantage of purchaseing apps from the app store:
Go to the "App Store" app under the Apple menu.
Login with your Apple ID account (the one you purchase Logic)
Go to the Purchases tab where you find all the apps that you purchased with that Apple ID
Any app that is not installed on the current computer is ready for download
Download and install the app
Done.
Hoe that helps
Edgar Rothermich -
I accidentally deleted all of my Logic Pro X files and put them in my trash but now that I copied them back to my documents they all play in the wrong places in my projects
Buddhaguru wrote:
I know that Mac's don't have a roll back like PC's
They do. It's called Time Machine.
You need to reinstall all of your Apps. That should replace all of the support files you nuked. -
I have a JSP custom tag that places a value in the HTTPRequest attribute section.
A chunck of code within a JavaScript function called from a <BODY onLoad> statement
in the JSP is to pick up this value. However, the onLoad() event seems to be called
before the tag is executed and the value placed in the attribute space.
Now the JavaScript onLoad() function should be called when the window has finished
loading and the JSP tag is part of the window load. Has anybody else seen this sort
of behavior?
Perry Hoekstra
Hi,
I am not sure what your problem is, however I have some suggestions:
1) as the onload is executed at the client side I don't think it can ever really pick
up something from a request attribute
2) inspect the generated html code, if the onload method is reasonable
3) generate the onload method at the latest possible point, so it can pick the needed
values at generation time
Regards,
Christian Buchegger
Developer Relations Engineer
BEA Support
Perry Hoekstra schrieb:
> I have a JSP custom tag that places a value in the HTTPRequest attribute section.
> A chunck of code within a JavaScript function called from a <BODY onLoad> statement
> in the JSP is to pick up this value. However, the onLoad() event seems to be called
> before the tag is executed and the value placed in the attribute space.
>
> Now the JavaScript onLoad() function should be called when the window has finished
> loading and the JSP tag is part of the window load. Has anybody else seen this sort
> of behavior?
>
> Perry Hoekstra
-
Logic Pro 7.2 and Tascam FW-1884 Not Working
I recently upgraded to Logic Pro 7.2 and I'm using a Tascam FW-1884 as my audio interface / Control Surface. Everything was working fine in 7.1.1, but now it doesn't work correctly. When I press buttons and faders on the Tascam I see MIDI information changing in Logic, but not in any of the correct places. When I click on the screen controls in Logic the Tascam does reflect the same on the board, but not the other way around? I updates the Tascam Plug-In (.bundle) file, the Control Panel, and even the Firmware. Still does not work. The faders go up on boot-up and down when I quit the program, but that is it. Any help would be greatly appreciated? I'm using a Mac G5, dual 2.7ghz processors, and 2.5 gigs in RAM. My gut is telling me it's something with the upgrade, but maybe others have resolved the problem without reprogramming every control one by one.
G5 Dual 2.7GHz Mac OS X (10.4.6) 2.5 Megs RAMMr. Walden,
I recently switched to Macintosh and am learning to use Garage Band. I have an 1884, as do you, and I plan to invest in Logic Express. Do you have any comments or suggestions concerning the marriage between Logic and the 1884?
s -
How to load and save custom workspaces in PE7
I've written a little utility which allows PE7 users to load and save custom workspaces. It's attached to post #1 of this thread.
System requirements
The utility has been tested with Windows XP Pro SP3 only. It might or might not run under Vista. It will only work with PE7 installations where the executable files are in the default places.
Installation
When you have downloaded the utility (it's only 199KB) you can run it from any convenient place in your system - it doesn't need to be installed as such.
Usage
It's pretty self-explanatory in use but here's the manual!
Run the downloaded utility "PE7WS.exe".
A file selection dialog appears. Choose the workspace layout file you wish to use. "LastUsed.layout" is the last used workspace (that's all you will be offered the first time you run the program). If you press Cancel at this point, the program will exit and nothing will happen.
Once you have selected the workspace, click "Open" and Premiere Elements 7 will run, using the workspace layout you chose.
After you exit from Premiere Elements 7, a workspace layout file save dialog will appear. If you made changes to the workspace during your Premiere Elements 7 session, you can now give the revised workspace a name and save it.
Do not save the workspace in a different directory from that which the dialog offers!
If you have changed an existing custom workspace, and you want to update the version previously stored, just select the name and over-write the saved workspace layout with the new one.
If you don't want to save the workspace at all, just click "Cancel" - next time you run Premiere Elements, you can choose the "LastUsed.layout" workspace to use that last used unsaved workspace in any event.
If you use the PE7WS utility to run Premiere Elements 7, and then you use the menu option "Window > Restore Workspace", then exit, you can either cancel the workspace saving stage, (which will mean that "LastUsed.layout" will contain that default workspace), or you could give that default workspace a name like "PE7 Default" so you can start a future Premiere Elements 7 session with the default workspace, even though you last used a custom workspace.
If you run Premiere Elements 7 in the usual way without using PE7WS.exe, the workspace that appears will be the last used one.
The usual disclaimer...
The utility should be entirely safe in use, but I can't accept responsibility for any loss or damage it might cause. However, the only file manipulation is does is to workspace files in the directory that Premiere Elements 7 uses purely for the purpose - the utility doesn't go anywhere near your precious project files.I'm finding it very handy on my particular twin 22" monitor setup to sometimes use a one-screen layout and sometimes a two screen layout. I 'discovered' that having the timeline on the second monitor enables me to tweak edits there while having the playback full size after pressing the "full screen" button on the first monitor. Where the timeline would normally be I have the history, mixer, and other windows always open. As the second monitor is also used by another PC (the one I have the net and email etc on) using "Maxivista" monitor sharing software, I revert to single screen layout when doing stuff like exporting to DVD so I can see what is going on with the render while typing stuff like this.
Selectable workspaces are dead handy! -
Logic 9.1.5 and Lion. Interface unresponsive.
I'm experiencing a very strange issue with logic 9. The interface becomes unresponsive, I can't click on any buttons in plugin windows / transport bar / mixer page.... anywhere while the project is playing. The keyboard is equally unresponsive i.e. I can't stop with space bar etc. The clicks / keystrokes are being recognised by them system as after a while, usually about 5-10 seconds, the messages get throughout to logic. If a 'stop' message get though from the keyboard or transport bar stop button, as soon as the project stops... I can see all the clicks/keystrokes in the buffer all get executed at once in a bulk dump, which can be in the hundreds of commands if I get pareticulary frustrated. This is not a problem with overloading the audio engine. My quad core mac is only showing 1 or 2 notches of activity on all cores in logics system performance meter and activity monitor shows I'm only using %10 of available CPU. The rest of the system is unaffected. Safari / Mail etc work as usual. Closing any other open apps doesn't help. It happens on my MOTU ultralite [i]and[/i] Apogee Duet. It happens at [i]any[/i] I/O buffer setting and [i]any[/i] size reasonable size project. I have one open now with 15 tracks and about 20 or so plugins, my mac should barely even register this on the performance meter.
Other users are reporting the same issues here and note the Logic 7's interface is near instantaneous on the same system.
https://discussions.apple.com/thread/2396951?start=0&tstart=0
Anyone have any ideas?I was joking... sorry for my english
anyway: I'm running a top of the line Imac, Mac Os 10.7.1 (that came preinstalled) and Logic 9.15. a full Apple rig... It's not unrealistic to expect a normal performance. IMO it's a little sub-par.
Regarding Logic, the last thing I want is they make things "simpler"... It ussually means less options. If I'd want a simpler interface and less options I'd go with protools in a breeze as it's the de facto standard and it's a lot simpler. If somebody wants even simpler things Garage Band is the way to go...not Logic. Why people don't ask for a more complex GB instead of a simpler Logic?. The program has TONS of places to improve: PDC is a mess, there are LOTS of bugs, and I can think not less than 20 real improvements. None of them makes things simpler. IMHO it has to be professional, not "simpler". Playing piano is very simple, but it takes time and effort to master it. I don't agree with this childist society thinking that everything has to be so simple that any ignorant can drive it. This is a professional tool for professionals, or it should be.
That said, I also like the new features in Lion. Problem is: I use my machine for work not for some eye candy. If that were the case I'd buy an Ipad.
regards -
Logic 9.1.4 and Lion strangeness
Hi all...
After having my macpro for several years it was pretty loaded up with crap so I decide to wipe and install lion clean. I succeeded in doing that and managed to get Logic 9.1.4 loaded, registered etc. The only hassle I'm having is I use an Apogee Duet which is not currently compatible with Lion so I have not installed the drivers for that yet and I'm just using the standard core Audio.
Right now logic is in 32 bit mode. Got all of my plug ins loaded and working. Logic runs fine. But if I have any plug-in or instrument window open when I try to hit the stop button on the transport bar instead of stopping I get a popup menu like I right clicked. Sometimes it seems to take three or four clicks to stop Logic playing...
Anyone else? Any suggestions? I have a FaderPort I usually use for logic transport control but I'm reluctant to install its drivers until I know I have a Lion working set.Thanks for the info, Oddgrooves.
Sadly, this hardly seems like a good solution on the part of Apple. I actually still have an old G5 running Logic Pro 7 that I use in a separate space for some simple sound design stuff. I still need that XS key to be here, or Logic will no longer run on that machine. No, the preferred solution here is that Apple actually puts out an update that prods Lion to "remember" the XS key and deal with it properly. Or, they update Logic Pro 9 to accept a Logic 8 upgrade serial as good enough for the Logic 9 upgrade to function. Sending the physical XS key back to Apple isn't a viable workaround. There are going to be literally thousands of Logic customers in the same boat we're in. Is Apple going to require *all* of us to send in our XS keys and get serial numbers instead?
I'm holding out for a legitimate software fix. This is pro software, Apple. How about adding some pro support back into your shiny new OS? Forcing your customers to mail in a dongle that you yourself created and required us all to use as of five years ago hardly seems like a professional solution.
So, in case anyone at Apple is actually reading this thread, here's a potentially much easier solution: Make a small XS reader app that we can download. It will only have one function in life: To read the XS serial number off the XS key. We insert the key, it gives us the number, and we can then either call Apple support and "trade in" the number for a newer, functioning serial number...or....enter the number onto a webpage somewhere that you'll create, which will "exchange" the XS serial for a working, current serial. Yes, it would require minimal code support, but given the thousands of professional Logic Pro users out there who have stuck with the platform over the years, it seems worth it to me.
-OR-
Find another workaround here, so we don't have to go through this monkey business.
-Chris -
Preview on Mac OS X Lion 10.7.3 won't load and crashes! Help!
Preview on Mac OS X Lion 10.7.3 won't load and crashes. These are the details after it closes:
Please help!
Process: Preview [644]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Identifier: com.apple.Preview
Version: 5.5.1 (719.16)
Build Info: Preview-719016000000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [123]
Date/Time: 2012-03-10 13:54:27.241 +0000
OS Version: Mac OS X 10.7.3 (11D50d)
Report Version: 9
Interval Since Last Report: 1704 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 272 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: F11533E3-FBBF-4799-B4C2-A5CC4A263F12
Crashed Thread: 5 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x00000001109cc000
VM Regions Near 0x1109cc000:
MALLOC_LARGE 00000001108f1000-0000000110906000 [ 84K] rw-/rwx SM=COW
--> mapped file 0000000110906000-0000000110a12000 [ 1072K] r--/rwx SM=COW /Users/USER/Desktop/*.jpg
shared memory 0000000110a12000-0000000110b13000 [ 1028K] r--/r-- SM=SHM
Application Specific Information:
objc[644]: garbage collection is OFF
Thread 0:: Dispatch queue: CFPreferences Background Sync Queue
0 libsystem_kernel.dylib 0x00007fff83c795b6 fsync + 10
1 com.apple.CoreFoundation 0x00007fff84ca0ca2 -[CFXPreferencesPropertyListSourceSynchronizer writePlistToDisk] + 706
2 com.apple.CoreFoundation 0x00007fff84c698e5 -[CFXPreferencesPropertyListSourceSynchronizer synchronizeAlreadyFlocked] + 613
3 com.apple.CoreFoundation 0x00007fff84c69639 -[CFXPreferencesPropertyListSourceSynchronizer synchronize] + 441
4 com.apple.CoreFoundation 0x00007fff84c692ac -[CFXPreferencesPropertyListSource synchronize] + 108
5 com.apple.CoreFoundation 0x00007fff84c96d02 -[CFXPreferencesSearchListSource synchronize] + 98
6 com.apple.CoreFoundation 0x00007fff84c9f071 ___CFXPreferencesAppSynchronize_block_invoke_1 + 49
7 com.apple.CoreFoundation 0x00007fff84c68550 ____CFXPREFS_SYNC_LOCKED_block_invoke_1 + 32
8 libdispatch.dylib 0x00007fff88dd1aad _dispatch_barrier_sync_f_invoke + 33
9 com.apple.CoreFoundation 0x00007fff84c9f014 CFPreferencesAppSynchronize + 292
10 com.apple.Foundation 0x00007fff8ef580e1 -[NSUserDefaults(NSUserDefaults) synchronize] + 19
11 com.apple.AppKit 0x000000010afc3755 -[_NSScrollerStyleRecommender scrollerStyleRecommendationUpdateTimerFired:] + 48
12 com.apple.Foundation 0x00007fff8ef98f64 __NSFireTimer + 102
13 com.apple.CoreFoundation 0x00007fff84c78c24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
14 com.apple.CoreFoundation 0x00007fff84c78776 __CFRunLoopDoTimer + 534
15 com.apple.CoreFoundation 0x00007fff84c59001 __CFRunLoopRun + 1617
16 com.apple.CoreFoundation 0x00007fff84c58676 CFRunLoopRunSpecific + 230
17 com.apple.HIToolbox 0x00007fff8f38531f RunCurrentEventLoopInMode + 277
18 com.apple.HIToolbox 0x00007fff8f38c51b ReceiveNextEventCommon + 181
19 com.apple.HIToolbox 0x00007fff8f38c456 BlockUntilNextEventMatchingListInMode + 62
20 com.apple.AppKit 0x000000010ad87f5d _DPSNextEvent + 659
21 com.apple.AppKit 0x000000010ad87861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
22 com.apple.AppKit 0x000000010ad8419d -[NSApplication run] + 470
23 com.apple.AppKit 0x000000010b002b88 NSApplicationMain + 867
24 com.apple.Preview 0x000000010a670db4 0x10a66f000 + 7604
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff83c797e6 kevent + 10
1 libdispatch.dylib 0x00007fff88dd15be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff88dd014e _dispatch_mgr_thread + 54
Thread 2:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 3:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 5 Crashed:: Dispatch queue: com.apple.root.default-priority
0 libsystem_c.dylib 0x00007fff88a00308 memmove$VARIANT$sse3x + 1099
1 com.apple.ImageIO.framework 0x00007fff89507a3b CGImageReadGetBytesAtOffset + 613
2 com.apple.ImageIO.framework 0x00007fff895077c7 CGImageReadSessionGetBytes + 33
3 com.apple.ImageIO.framework 0x00007fff895076ad fill_input_buffer + 197
4 libJPEG.dylib 0x00007fff88cb0ee3 decode_mcu_optimized + 2848
5 libJPEG.dylib 0x00007fff88cb023a decompress_onepass + 201
6 libJPEG.dylib 0x00007fff88cb0112 process_data_simple_main + 61
7 libJPEG.dylib 0x00007fff88cb00c9 _cg_jpeg_read_scanlines + 177
8 com.apple.ImageIO.framework 0x00007fff8950b9fb copyImageBlockSetJPEG + 3185
9 com.apple.ImageIO.framework 0x00007fff8950accb ImageProviderCopyImageBlockSetCallback + 417
10 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
11 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
12 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
13 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
14 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
15 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
16 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
17 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
18 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
19 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
20 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
21 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
22 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
23 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
24 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
25 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
26 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
27 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
28 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 6:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 7:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 8:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 9:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.ImageIO.framework 0x00007fff8950abd6 ImageProviderCopyImageBlockSetCallback + 172
3 com.apple.CoreGraphics 0x00007fff8db5e7b2 subImageProviderCopyImageBlockSet + 356
4 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
5 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
6 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
7 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
8 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
9 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
10 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
11 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
12 com.apple.Preview 0x000000010a6a8313 0x10a66f000 + 234259
13 com.apple.Preview 0x000000010a6a7649 0x10a66f000 + 230985
14 com.apple.Preview 0x000000010a6a72bd 0x10a66f000 + 230077
15 com.apple.Preview 0x000000010a6a71ae 0x10a66f000 + 229806
16 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
17 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
18 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
20 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
21 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 10:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78bf2 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff88a251a1 pthread_mutex_lock + 545
2 com.apple.imageKit 0x00007fff8370f7a9 -[IKThumbnailBuilder clear] + 18
3 com.apple.imageKit 0x00007fff8370f69b -[IKThumbnailOperation notifyDelegate] + 105
4 com.apple.Foundation 0x00007fff8efadde3 -[NSOperationQueue cancelAllOperations] + 288
5 com.apple.imageKit 0x00007fff8370f144 -[IKThumbnailBuilderQueue cancelTasks] + 50
6 com.apple.imageKit 0x00007fff8363c88e -[IKImageBrowserView(ImageBrowserImport) _importThumbnails:state:] + 1036
7 com.apple.imageKit 0x00007fff836df998 -[IKImageBrowserView(IKImageBrowserTasks) _performAsyncImportIfAny:delegate:] + 51
8 com.apple.CoreFoundation 0x00007fff84cb6591 -[NSObject performSelector:withObject:withObject:] + 65
9 com.apple.imageKit 0x00007fff836dd00c -[IKTaskAsyncOperation main] + 62
10 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
11 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
12 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
13 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
14 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
15 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 11:: Dispatch queue: com.apple.root.default-priority
0 libsystem_c.dylib 0x00007fff88a00498 memmove$VARIANT$sse3x + 1499
1 com.apple.ImageIO.framework 0x00007fff89507a3b CGImageReadGetBytesAtOffset + 613
2 com.apple.ImageIO.framework 0x00007fff895077c7 CGImageReadSessionGetBytes + 33
3 com.apple.ImageIO.framework 0x00007fff8954da2b read_fn + 44
4 libPng.dylib 0x00007fff893fd5c5 png_crc_read + 52
5 libPng.dylib 0x00007fff893febee _cg_png_read_row + 542
6 com.apple.ImageIO.framework 0x00007fff89511787 copyImageBlockSetPNG + 2529
7 com.apple.ImageIO.framework 0x00007fff8950accb ImageProviderCopyImageBlockSetCallback + 417
8 com.apple.CoreGraphics 0x00007fff8d707815 CGImageProviderCopyImageBlockSet + 50
9 com.apple.CoreGraphics 0x00007fff8d7073d8 img_blocks_create + 412
10 com.apple.CoreGraphics 0x00007fff8d735538 img_blocks_extent + 88
11 com.apple.CoreGraphics 0x00007fff8d77741c img_interpolate_extent + 136
12 com.apple.CoreGraphics 0x00007fff8d682e68 img_data_lock + 8112
13 com.apple.CoreGraphics 0x00007fff8d7066f9 CGSImageDataLock + 186
14 libRIP.A.dylib 0x00007fff8cae1082 ripc_AcquireImage + 2209
15 libRIP.A.dylib 0x00007fff8cadf8c4 ripc_DrawImage + 1048
16 com.apple.CoreGraphics 0x00007fff8d70634c CGContextDrawImage + 432
17 com.apple.imageKit 0x00007fff836203c8 _IKThumbnailImageFromSourceRef + 2080
18 com.apple.imageKit 0x00007fff836204c5 _IKFastThumbnailImageFromURL + 72
19 com.apple.imageKit 0x00007fff8361c132 -[IKImageWrapper _thumbnailWithSize:antialiased:quality:] + 105
20 com.apple.imageKit 0x00007fff8361c070 -[IKImageWrapper thumbnailWithSize:antialiased:quality:] + 188
21 com.apple.imageKit 0x00007fff8370fa9d -[IKThumbnailBuilder computeThumbnail] + 237
22 com.apple.imageKit 0x00007fff8370f5f4 -[IKThumbnailOperation main] + 35
23 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
24 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
25 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
26 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
27 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
28 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 12:: Dispatch queue: com.apple.root.default-priority
0 libsystem_c.dylib 0x00007fff88a002b6 memmove$VARIANT$sse3x + 1017
1 com.apple.ImageIO.framework 0x00007fff89507a3b CGImageReadGetBytesAtOffset + 613
2 com.apple.ImageIO.framework 0x00007fff895077c7 CGImageReadSessionGetBytes + 33
3 com.apple.ImageIO.framework 0x00007fff895076ad fill_input_buffer + 197
4 libJPEG.dylib 0x00007fff88cb8a87 save_marker + 411
5 libJPEG.dylib 0x00007fff88cac641 read_markers + 2691
6 libJPEG.dylib 0x00007fff88cab8de consume_markers + 58
7 libJPEG.dylib 0x00007fff88cab594 _cg_jpeg_consume_input + 85
8 libJPEG.dylib 0x00007fff88cab506 _cg_jpeg_read_header + 61
9 com.apple.ImageIO.framework 0x00007fff89505848 initImageJPEG + 3200
10 com.apple.ImageIO.framework 0x00007fff89504b9b _CGImagePluginInitJPEG + 79
11 com.apple.ImageIO.framework 0x00007fff89504412 makeImagePlus + 652
12 com.apple.ImageIO.framework 0x00007fff8950ea31 _CGImageSourceGetPropertiesAtIndexInternal + 58
13 com.apple.ImageIO.framework 0x00007fff8950e9c0 CGImageSourceCopyPropertiesAtIndex + 123
14 com.apple.imageKit 0x00007fff8361bada -[IKImageWrapper _size] + 752
15 com.apple.imageKit 0x00007fff8361b7cd -[IKImageWrapper size] + 140
16 com.apple.imageKit 0x00007fff8370f9fb -[IKThumbnailBuilder computeThumbnail] + 75
17 com.apple.imageKit 0x00007fff8370f5f4 -[IKThumbnailOperation main] + 35
18 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
19 com.apple.Foundation 0x00007fff8ef9c936 ____NSOQSchedule_block_invoke_2 + 124
20 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
21 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
22 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
23 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 13:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff83c78a1e __mmap + 10
1 com.apple.ImageIO.framework 0x00007fff89513881 _CFDataCreateWithMappedFile + 292
2 com.apple.ImageIO.framework 0x00007fff8951364a CGImageReadCreateWithFile + 207
3 com.apple.ImageIO.framework 0x00007fff89513332 CGImageSourceCreateWithURL + 417
4 com.apple.Preview 0x000000010a69ef8d 0x10a66f000 + 196493
5 com.apple.Preview 0x000000010a69ef5e 0x10a66f000 + 196446
6 com.apple.Preview 0x000000010a6af9eb 0x10a66f000 + 264683
7 com.apple.Preview 0x000000010a77a611 0x10a66f000 + 1095185
8 com.apple.Preview 0x000000010a77a461 0x10a66f000 + 1094753
9 com.apple.Preview 0x000000010a68d59b 0x10a66f000 + 124315
10 com.apple.Preview 0x000000010a68d07d 0x10a66f000 + 123005
11 com.apple.Preview 0x000000010a7be93d 0x10a66f000 + 1374525
12 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
13 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
14 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
15 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 14:: Dispatch queue: NSPersistentUI I/O
0 libsystem_kernel.dylib 0x00007fff83c790ea __unlink + 10
1 libsystem_kernel.dylib 0x00007fff83c78322 unlink + 14
2 libremovefile.dylib 0x00007fff8e22368e __removefile_process_file + 362
3 libremovefile.dylib 0x00007fff8e223785 __removefile_tree_walker + 169
4 libremovefile.dylib 0x00007fff8e222812 removefile + 146
5 com.apple.Foundation 0x00007fff8ef8ae99 -[NSFilesystemItemRemoveOperation main] + 249
6 com.apple.Foundation 0x00007fff8ef896d8 -[__NSOperationInternal start] + 705
7 com.apple.Foundation 0x00007fff8ef88831 -[NSFileManager removeItemAtPath:error:] + 85
8 com.apple.Foundation 0x00007fff8ef887a5 -[NSFileManager removeItemAtURL:error:] + 151
9 com.apple.AppKit 0x000000010adbca68 -[NSPersistentUIManager _interiorClearCrashCountFileIfNecessary] + 114
10 com.apple.AppKit 0x000000010adbc98a __-[NSPersistentUIManager modifyCrashBlameCounterBy:]_block_invoke_1 + 49
11 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
12 libdispatch.dylib 0x00007fff88dd110a _dispatch_queue_drain + 264
13 libdispatch.dylib 0x00007fff88dd0f66 _dispatch_queue_invoke + 54
14 libdispatch.dylib 0x00007fff88dd0760 _dispatch_worker_thread2 + 198
15 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
16 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff83c78bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88a2a274 _pthread_cond_wait + 840
2 com.apple.Foundation 0x00007fff8ef9d4e4 -[NSCondition wait] + 261
3 com.apple.Foundation 0x00007fff8ef90878 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 975
4 com.apple.Foundation 0x00007fff8efbb76e -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:] + 84
5 com.apple.CoreFoundation 0x00007fff84cb0ff4 ___forwarding___ + 756
6 com.apple.CoreFoundation 0x00007fff84cb0c88 _CF_forwarding_prep_0 + 232
7 com.apple.imageKit 0x00007fff836def62 -[IKImageBrowserView(IKImageBrowserTasks) cellsArrayForTasks] + 84
8 com.apple.imageKit 0x00007fff8363d7a7 -[IKImageBrowserView(ImageBrowserImport) startImportVisibleCells] + 73
9 com.apple.CoreFoundation 0x00007fff84cbb021 -[NSObject performSelector:] + 49
10 com.apple.imageKit 0x00007fff836ddf7d -[IKTaskManager taskLoop] + 776
11 com.apple.Foundation 0x00007fff8ef9b74e -[NSThread main] + 68
12 com.apple.Foundation 0x00007fff8ef9b6c6 __NSThread__main__ + 1575
13 libsystem_c.dylib 0x00007fff88a268bf _pthread_start + 335
14 libsystem_c.dylib 0x00007fff88a29b75 thread_start + 13
Thread 16:: Dispatch queue: com.apple.root.default-priority
0 com.apple.CoreFoundation 0x00007fff84c22a41 CFRetain + 1
1 com.apple.CoreFoundation 0x00007fff84c33ba3 __CFDataInit + 707
2 com.apple.ImageIO.framework 0x00007fff8951395c _CFDataCreateWithMappedFile + 511
3 com.apple.ImageIO.framework 0x00007fff8951364a CGImageReadCreateWithFile + 207
4 com.apple.ImageIO.framework 0x00007fff89513332 CGImageSourceCreateWithURL + 417
5 com.apple.Preview 0x000000010a69ef8d 0x10a66f000 + 196493
6 com.apple.Preview 0x000000010a69ef5e 0x10a66f000 + 196446
7 com.apple.Preview 0x000000010a6af9eb 0x10a66f000 + 264683
8 com.apple.Preview 0x000000010a77a611 0x10a66f000 + 1095185
9 com.apple.Preview 0x000000010a77a461 0x10a66f000 + 1094753
10 com.apple.Preview 0x000000010a68d59b 0x10a66f000 + 124315
11 com.apple.Preview 0x000000010a68d07d 0x10a66f000 + 123005
12 com.apple.Preview 0x000000010a7be93d 0x10a66f000 + 1374525
13 libdispatch.dylib 0x00007fff88dcf8ba _dispatch_call_block_and_release + 18
14 libdispatch.dylib 0x00007fff88dd0799 _dispatch_worker_thread2 + 255
15 libsystem_c.dylib 0x00007fff88a283da _pthread_wqthread + 316
16 libsystem_c.dylib 0x00007fff88a29b85 start_wqthread + 13
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x00007fff88a00302 rbx: 0x000000000003fd31 rcx: 0xfffffffffffff340 rdx: 0x0000000000000018
rdi: 0x00007fd1fba39330 rsi: 0x00000001109cccb9 rbp: 0x000000010fb92010 rsp: 0x000000010fb92010
r8: 0x00007fff889fff48 r9: 0x000000004d372e8e r10: 0x00007fd1fb0aeca0 r11: 0x00007fd1fba383a8
r12: 0x00007fd1fba38350 r13: 0x0000000000000000 r14: 0x0000000000000fa0 r15: 0x000000011098c000
rip: 0x00007fff88a00308 rfl: 0x0000000000010282 cr2: 0x00000001109cc000
Logical CPU: 0
Binary Images:
0x10a66f000 - 0x10a853fef com.apple.Preview (5.5.1 - 719.16) <EE12E506-F88C-319F-A2B4-5EF997884F0C> /Applications/Preview.app/Contents/MacOS/Preview
0x10a8e2000 - 0x10abc4fff com.apple.security (7.0 - 55110) <252F9E04-FF8A-3EA7-A38E-51DD0653663C> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x10ace2000 - 0x10acf2ff7 com.apple.opengl (1.7.6 - 1.7.6) <C168883D-9BC5-3C38-9937-42852D719718> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x10acfd000 - 0x10ad1cfff com.apple.MediaUI (1.0 - 1) <0DF5368C-31CC-39DF-95A8-587B82321925> /System/Library/PrivateFrameworks/MediaUI.framework/Versions/A/MediaUI
0x10ad40000 - 0x10ad6dfe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
0x10ad7f000 - 0x10b983fff com.apple.AppKit (6.7.3 - 1138.32) <A9EB81C6-C519-3F29-89F1-42C3E8930281> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x10c00c000 - 0x10c011ff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
0x10c01a000 - 0x10c029ff7 libxar-nossl.dylib (??? - ???) <A6ABBFB9-E4ED-38AD-BBBB-F9958B9CEFB5> /usr/lib/libxar-nossl.dylib
0x10c034000 - 0x10c236fff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
0x10c2c8000 - 0x10c2fbff7 com.apple.GSS (2.1 - 2.0) <57AD81CE-6320-38C9-9B66-0E5A4DEA898A> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x10c319000 - 0x10c37fff7 com.apple.coreui (1.2.1 - 165.3) <378C9221-ADE6-36D9-9944-F33AE6904E4F> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x10c3c1000 - 0x10c413ff7 libGLU.dylib (??? - ???) <3C9153A0-8499-3DC0-AAA4-9FA6E488BE13> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x10c428000 - 0x10c42efff libGFXShared.dylib (??? - ???) <B95E9B22-AE68-3E48-8733-00CCCA08D50E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x10c43a000 - 0x10c450fff libGL.dylib (??? - ???) <6A473BF9-4D35-34C6-9F8B-86B68091A9AF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x10c469000 - 0x10c4a8ff7 libGLImage.dylib (??? - ???) <348729DC-BC44-3744-B249-9DFA6498344A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x10c4b3000 - 0x10c4b5fff libCVMSPluginSupport.dylib (??? - ???) <B2FC6EC0-1A0C-3482-A3C9-D08446E8713A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x10c4bf000 - 0x10c4c2fff libCoreVMClient.dylib (??? - ???) <E034C772-4263-3F48-B083-25A758DD6228> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x10e2d3000 - 0x10e301ff7 GLRendererFloat (??? - ???) <0C213C61-C08C-3B5D-85A4-EB4660AF55BF> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x10fb9b000 - 0x10fd34fff GLEngine (??? - ???) <8BA26192-A4D7-362D-8B57-5FCF4B706A25> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x10fd68000 - 0x10fe61fff libGLProgrammability.dylib (??? - ???) <B7710703-8652-36B8-83DD-4F216FAF0730> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x10fe87000 - 0x110562ff7 libclh.dylib (4.0.3 - 4.0.3) <29108026-20C1-3BF9-A43F-0986E0430FF0> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
0x1107c4000 - 0x1107c5ffc +cl_kernels (??? - ???) <45AC429B-3369-49B4-A6AE-B696C6BEEBD8> cl_kernels
0x111d40000 - 0x111d43ff7 libCoreFSCache.dylib (??? - ???) <0E2C3D54-7D05-35E8-BA10-2142B7C03946> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
0x111d5c000 - 0x111d5cffd +cl_kernels (??? - ???) <CBF77A72-BE62-4854-80C7-D16BDE85ED6E> cl_kernels
0x112a41000 - 0x112a42ff3 +cl_kernels (??? - ???) <C33C0D9C-9557-45E6-9BF5-035C490D96CB> cl_kernels
0x1134fe000 - 0x113504fef libcldcpuengine.dylib (1.50.69 - compatibility 1.0.0) <C0C4CC37-F2FD-301C-A830-EC54D86612D5> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
0x113538000 - 0x1135cbff7 unorm8_bgra.dylib (1.50.69 - compatibility 1.0.0) <5FB796A4-1AD0-3B4D-AA83-F8A46E039224> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
0x1135f3000 - 0x1135f4ff3 +cl_kernels (??? - ???) <2F089452-5FA0-4E98-B0E9-1934173EE353> cl_kernels
0x200000000 - 0x2007e6ff7 com.apple.GeForceGLDriver (7.18.11 - 7.1.8) <66FE927B-DCB6-3D51-B713-90D9676AA079> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x7fff6a26f000 - 0x7fff6a2a3baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
0x7fff835ee000 - 0x7fff83612fff com.apple.RemoteViewServices (1.3 - 44) <21D7A0E7-6699-37AB-AE6C-BF69AF3D61C2> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x7fff83613000 - 0x7fff83889ff7 com.apple.imageKit (2.1.1 - 1.0) <A4A58BBB-70BB-3A0F-84F0-49EC6113BF2F> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x7fff8388a000 - 0x7fff838deff7 com.apple.ImageCaptureCore (3.0.2 - 3.0.2) <68147E63-C211-361E-8B24-B5E0675B4297> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x7fff838df000 - 0x7fff83981ff7 com.apple.securityfoundation (5.0 - 55107) <6C2E7362-CB11-3CBD-BB1C-348E4B10F25A> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff83982000 - 0x7fff83a1cff7 com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff83a1d000 - 0x7fff83a5efff com.apple.QD (3.40 - ???) <47674D2C-BE88-388E-B1B0-03F08BFFE5FD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff83c62000 - 0x7fff83c82fff libsystem_kernel.dylib (1699.24.8 - compatibility 1.0.0) <C56819BB-3779-3726-B610-4CF7B3ABB6F9> /usr/lib/system/libsystem_kernel.dylib
0x7fff83c83000 - 0x7fff83e22fff com.apple.QuartzCore (1.7 - 270.2) <F2CCDEFB-DE43-3E32-B242-A22C82617186> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff83e23000 - 0x7fff83e2eff7 com.apple.DisplayServicesFW (2.5.2 - 317) <D1FE33BD-1D71-343F-B790-685253F1F701> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x7fff83e2f000 - 0x7fff83e34fff libcache.dylib (47.0.0 - compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> /usr/lib/system/libcache.dylib
0x7fff83e35000 - 0x7fff83e38fff com.apple.AppleSystemInfo (1.0 - 1) <111B6F69-3FBD-3860-BCF8-1DF02D9BED28> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
0x7fff83e92000 - 0x7fff83e92fff com.apple.ApplicationServices (41 - 41) <89B6AD5B-5C75-3E83-8C2B-AA7F4C55E400> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff83ee7000 - 0x7fff844cbfff libBLAS.dylib (??? - ???) <C34F6D88-187F-33DC-8A68-C0C9D1FA36DF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff844cc000 - 0x7fff844cefff libquarantine.dylib (36.2.0 - compatibility 1.0.0) <48656562-FF20-3B55-9F93-407ACA7341C0> /usr/lib/system/libquarantine.dylib
0x7fff844cf000 - 0x7fff844cffff com.apple.Cocoa (6.6 - ???) <7EC4D759-B2A6-3A99-AC75-809FED1500C6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff846d3000 - 0x7fff84af0ff7 com.apple.SceneKit (2.2 - 125.3) <DDCC8DB6-D5DB-31CD-A401-F56C84216E1C> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
0x7fff84af1000 - 0x7fff84af9fff libsystem_dnssd.dylib (??? - ???) <998E3778-7B43-301C-9053-12045AB8544D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff84b07000 - 0x7fff84b69ff7 com.apple.Symbolication (1.3 - 91) <B072970E-9EC1-3495-A1FA-D344C6E74A13> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x7fff84bb6000 - 0x7fff84c11ff7 com.apple.HIServices (1.11 - ???) <DE8FA7FA-0A41-35D9-8473-5104F81DA934> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x7fff84c20000 - 0x7fff84df4fff com.apple.CoreFoundation (6.7.1 - 635.19) <57B77925-9065-38C9-A05B-02F4F9ED007C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff84e87000 - 0x7fff84ed7fff com.apple.CoreMediaIO (210.0 - 3180) <C5B60D3E-71BE-3CD2-90FC-3B2F9961D662> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
0x7fff84ee7000 - 0x7fff84ef9ff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
0x7fff84f02000 - 0x7fff84f42ff7 libcups.2.dylib (2.9.0 - compatibility 2.0.0) <29DE948E-38C4-3CC5-B528-40C691380607> /usr/lib/libcups.2.dylib
0x7fff84f43000 - 0x7fff85025fff com.apple.CoreServices.OSServices (478.37 - 478.37) <1DAC695E-0D0F-3AE2-974F-A173E69E67CC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff85389000 - 0x7fff8548bff7 libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <22F1D1B6-1761-3687-9EFD-036EA15FB2E4> /usr/lib/libxml2.2.dylib
0x7fff85617000 - 0x7fff8577eff7 com.apple.CFNetwork (520.3.2 - 520.3.2) <516B611D-E53E-3467-9211-3C5B86ABA865> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff86856000 - 0x7fff8685bfff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff8685c000 - 0x7fff8693afff com.apple.DiscRecording (6.0.3 - 6030.4.1) <8DB1BDDD-F066-3E8B-B416-11DF712C6A1E> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x7fff8698b000 - 0x7fff8698cfff liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
0x7fff8698d000 - 0x7fff869e1ff7 com.apple.ScalableUserInterface (1.0 - 1) <33563775-C662-313D-B7FA-3D575A9F3D41> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableU serInterface.framework/Versions/A/ScalableUserInterface
0x7fff869e2000 - 0x7fff869e2fff com.apple.Carbon (153 - 153) <C1A30E01-E113-38A0-95CA-99360F92A37A> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff869e3000 - 0x7fff86c6efff com.apple.JavaScriptCore (7534.53 - 7534.53.8) <619D6392-D833-3C55-B1C0-4DAA0477796C> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x7fff86c6f000 - 0x7fff86c6ffff com.apple.vecLib (3.7 - vecLib 3.7) <9A58105C-B36E-35B5-812C-4ED693F2618F> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff86c87000 - 0x7fff86cfafff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff86cfb000 - 0x7fff86cfbfff com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff86cfc000 - 0x7fff86d06ff7 liblaunch.dylib (392.35.0 - compatibility 1.0.0) <8F8BB206-CECA-33A5-A105-4A01C3ED5D23> /usr/lib/system/liblaunch.dylib
0x7fff86d07000 - 0x7fff86d0afff com.apple.help (1.3.2 - 42) <BF14DE49-F7E8-336F-81FB-BBDF2DB3AC09> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff86d0b000 - 0x7fff8713dfef com.apple.VideoToolbox (1.0 - 705.61) <1A70CA82-C849-3033-8598-37C5A72637CC> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
0x7fff87e63000 - 0x7fff87ea2fff com.apple.AE (527.7 - 527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff87ea3000 - 0x7fff87eb7ff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff87eb8000 - 0x7fff87ebcfff libdyld.dylib (195.5.0 - compatibility 1.0.0) <380C3F44-0CA7-3514-8080-46D1C9DF4FCD> /usr/lib/system/libdyld.dylib
0x7fff87ee5000 - 0x7fff87f27ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <BB770C22-8C57-365A-8716-4A3C36AE7BFB> /usr/lib/system/libcommonCrypto.dylib
0x7fff87f61000 - 0x7fff8806efff libJP2.dylib (??? - ???) <F2B34A61-75F0-3BFE-A309-EE0DF4AF9E37> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff880d1000 - 0x7fff880d1fff com.apple.audio.units.AudioUnit (1.7.2 - 1.7.2) <04C10813-CCE5-3333-8C72-E8E35E417B3B> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff880d2000 - 0x7fff88156ff7 com.apple.ApplicationServices.ATS (317.5.0 - ???) <C2B254F0-6ED8-3313-9CFC-9ACD519C8A9E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x7fff88157000 - 0x7fff88162ff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff88171000 - 0x7fff88178ff7 com.apple.CommerceCore (1.0 - 17) <3894FE48-EDCE-30E9-9796-E2F959D92704> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
0x7fff881cf000 - 0x7fff881d5fff IOSurface (??? - ???) <03F95CAC-569C-3573-B3D7-2D211B8BDC56> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff881d6000 - 0x7fff881edfff com.apple.CFOpenDirectory (10.7 - 146) <E71AE4A2-F72B-35F2-9043-9F45CF75F11A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff881ee000 - 0x7fff882eefff com.apple.QuickLookUIFramework (3.1 - 500.10) <ABD3BF58-DD33-31CA-AAE3-E0EE274C8B9C> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x7fff882ef000 - 0x7fff88517fe7 com.apple.CoreData (104.1 - 358.13) <F1DA3110-C4DF-3F0A-A057-AEE78DE8C99D> /System/Library/Frameworks/CoreData.framework/Versions/Found another solution that worked for me, which did not involve going into terminal:
Open Finder
Click on GO in menu and a list box drops down
Press the ALT key (This will show the Library folder int he drop down list box that appeared)
Click LIBRARY which opens another list of folders
Click CONTAINERS which will open the container folder and should show a Textedit and Preview folder.
DELETE both these folders
And that's it!! -
Sql*loader and sequence() for primary keys
I have a question regarding SQL*Loader with the sequence() function and using it for a primary key to load records in multiple tables from one input record. I am pulling data from a delimited file and populating several tables from each row. For the primary key, I am using the sequence function.
For the first table (the parent), I use sequence(40000,1) for the key. Since the remaining inserts are based on the same logical record, I use sequence(40000,1) for those too (one record for each month). The problem comes in when a child record does not pass a WHEN clause (the amount is zero). Then it almost seems as if the parent record is not loaded and the child (or children) that does pass the WHEN clause are assigned to the next parent! Obviously, the sequence is getting out of sync between the children and the parent.
I've looked in the documentation and tried several different ways to attack this problem. Is there a bug in SQLLDR (8.1.7) or is it just my coding.
I will try to include the files below but they are very large.
Thanks for your help.
Dan
***CONTROL FILE***
LOAD DATA
INFILE 'rent.csv'
INTO TABLE BUDGET_LINE
append
WHEN TOT_AMT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER CHAR,
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
JUL_AMT FILLER CHAR,
JUL_CNT FILLER CHAR,
AUG_AMT FILLER CHAR,
AUG_CNT FILLER CHAR,
SEP_AMT FILLER CHAR,
SEP_CNT FILLER CHAR,
OCT_AMT FILLER CHAR,
OCT_CNT FILLER CHAR,
NOV_AMT FILLER CHAR,
NOV_CNT FILLER CHAR,
DEC_AMT FILLER CHAR,
DEC_CNT FILLER CHAR,
CUT FILLER CHAR,
NETMANGEN FILLER CHAR,
NETMAN_item BOUNDFILLER CHAR,
NETMAN_item_seq BOUNDFILLER CHAR,
NETMAN_location BOUNDFILLER CHAR,
UPDATED_ON DATE "MM/DD/YYYY",
NETMAN_com_desc BOUNDFILLER CHAR,
NETMAN_vendor BOUNDFILLER CHAR,
NETMAN_generation BOUNDFILLER CHAR,
CREATED_ON SYSDATE,
CREATED_BY CONSTANT '0',
UPDATED_BY CONSTANT '0',
ACTIVE CONSTANT 'T',
GL_CODE_COMBO_ID CONSTANT '0',
BUDGET_TYPE CONSTANT 'B',
AMOUNT_TYPE CONSTANT 'D',
source constant 'N',
BUDGET_LINE_ID SEQUENCE(40000,1),
DESCRIPTION "(:NETMAN_item)||'-'||(:NETMAN_item_seq)||'; '||:NETMAN_com_desc||'; '||:NETMAN_vendor||' ('||:NETMAN_generation||')'"
INTO TABLE GL_CODE_TEMP
append
WHEN TOT_AMT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
SPENDER CHAR ,
ACCT CHAR ,
TOT_AMT FILLER CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '1',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '2',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '3',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '4',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '5',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '6',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '7',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '8',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
JUL_AMT FILLER CHAR,
JUL_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '9',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
JUL_AMT FILLER CHAR,
JUL_CNT FILLER CHAR,
AUG_AMT FILLER CHAR,
AUG_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '10',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
JUL_AMT FILLER CHAR,
JUL_CNT FILLER CHAR,
AUG_AMT FILLER CHAR,
AUG_CNT FILLER CHAR,
SEP_AMT FILLER CHAR,
SEP_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '11',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
JUL_AMT FILLER CHAR,
JUL_CNT FILLER CHAR,
AUG_AMT FILLER CHAR,
AUG_CNT FILLER CHAR,
SEP_AMT FILLER CHAR,
SEP_CNT FILLER CHAR,
OCT_AMT FILLER CHAR,
OCT_CNT FILLER CHAR,
AMOUNT CHAR
INTO TABLE BUDGET_COST
append
WHEN AMOUNT != '0'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
NETMAN_ITEM_NO FILLER POSITION(1) CHAR TERMINATED BY ',',
BUDGET_LINE_ID SEQUENCE(40000,1),
PERIOD_ID CONSTANT '12',
SPEND FILLER CHAR,
ACCOUNT FILLER CHAR,
TOT_AMT FILLER CHAR,
JAN_AMT FILLER CHAR,
JAN_CNT FILLER CHAR,
FEB_AMT FILLER CHAR,
FEB_CNT FILLER CHAR,
MAR_AMT FILLER CHAR,
MAR_CNT FILLER CHAR,
APR_AMT FILLER CHAR,
APR_CNT FILLER CHAR,
MAY_AMT FILLER CHAR,
MAY_CNT FILLER CHAR,
JUN_AMT FILLER CHAR,
JUN_CNT FILLER CHAR,
JUL_AMT FILLER CHAR,
JUL_CNT FILLER CHAR,
AUG_AMT FILLER CHAR,
AUG_CNT FILLER CHAR,
SEP_AMT FILLER CHAR,
SEP_CNT FILLER CHAR,
OCT_AMT FILLER CHAR,
OCT_CNT FILLER CHAR,
NOV_AMT FILLER CHAR,
NOV_CNT FILLER CHAR,
AMOUNT CHAR
*** PIECE OF DATA FILE ***
Item,Spender,Account,Total Amt,Jan Amt,Jan Count,Feb Amt,Feb Count,Mar Amt,Mar Count,Apr Amt,Apr Count,May Amt,May Count,Jun Amt,Jun Count,Jul Amt,Jul Count,Aug Amt,Aug Count,Sep Amt,Sep Count,Oct Amt,Oct Count,Nov Amt,Nov Count,Dec Amt,Dec Count,Status,Netman Gen,Netman Item,Netman Unit,Location,Last Update Date,Component Description,Vendor Description,Generation Process
10110993,10993,8301-01,90134,7480,0,7480,0,7480,0,7480,0,7480,0,7480,0,7480,0,7480,0,7480,0,7480,0,7667,0,7667,0,0,+,LEASE PYMT,207,WIMOS,5/22/2002,LEASE PAYMENTS,"VIKING HOLDING, INC.",ACTUAL BUDGET
10410993,10993,8301-04,15240,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,1270,0,0,+,JANITORIAL,58,WIMOS,5/22/2002,JANITORIAL,BUILDING ONE SVC SOLUTION,ACTUAL BUDGET
10810993,10993,8301-08,2232,186,0,186,0,186,0,186,0,186,0,186,0,186,0,186,0,186,0,186,0,186,0,186,0,0,+,ELECTRIC,77,WIMOS,5/22/2002,"UTILITIES (GAS,ELEC.,ETC)",WISCONSIN PUBLIC SERVICE,AVGD 01 04 07 10 NOT WEIGHTED
10910993,10993,8301-09,4220,26,0,348,0,609,0,383,0,348,0,371,0,348,0,371,0,360,0,348,0,360,0,348,0,0,+,FIRE EQUIP,51,WIMOS,5/22/2002,RENT CONTRACT SERVICES,"CENTRALCOM, INC.",ACTUAL EXPERIENCE
11610993,10993,8301-16,1272,106,0,106,0,106,0,106,0,106,0,106,0,106,0,106,0,106,0,106,0,106,0,106,0,0,+,L/H MOSINE,1,WIMOS,5/22/2002,LEASEHOLD IMPROVEMENTS,ELLIS STONE,ACTUAL BUDGET
10110994,10994,8301-01,69960,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,5830,0,0,+,LEASE PYMT,228,WISTEWEL,5/22/2002,LEASE PAYMENTS,BJ INVESTMENTS LLC,ACTUAL BUDGET
10410994,10994,8301-04,840,70,0,70,0,70,0,70,0,70,0,70,0,70,0,70,0,70,0,70,0,70,0,70,0,0,+,JANITORIAL,69,WISTEWEL,5/22/2002,JANITORIAL,MARSDEN,ACTUAL BUDGET
10710994,10994,8301-07,6067,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6067,0,0,+,LEASE PYMT,228,WISTEWEL,5/22/2002,LEASE PAYMENTS,BJ INVESTMENTS LLC,ASSUME 5% INCREASE OVER ACTUAL 2000 EXPENSES
10810994,10994,8301-08,2460,205,0,205,0,205,0,205,0,205,0,205,0,205,0,205,0,205,0,205,0,205,0,205,0,0,+,ELECTRIC,84,WISTEWEL,5/22/2002,"UTILITIES (GAS,ELEC.,ETC)",BJ INVESTMENTS LLC,AVGD 03 06 09 NOT WEIGHTED
10910994,10994,8301-09,1050,70,0,70,0,105,0,105,0,70,0,105,0,35,0,140,0,35,0,70,0,210,0,35,0,0,+,SANITATION,12,WISTEWEL,5/22/2002,RENT CONTRACT SERVICES,WASTE MANAGEMENT OF WIS,ACTUAL EXPERIENCE
11910994,10994,8301-19,1099,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1099,0,0,0,0,0,0,0,0,0,0,+,INSURANCE,6,WISTEWEL,5/22/2002,INSURANCE,BJ INVESTMENTS LLC,ACTUAL EXPERIENCE
10110998,10998,8301-01,2440,2440,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,+,LEASE PYMT,47,ILELG,5/22/2002,LEASE PAYMENTS,ELGIN AIRPORT BUSINESS PK,ACTUAL BUDGET
10410998,10998,8301-04,146,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,+,LEASE PYMT,47,ILELG,5/22/2002,LEASE PAYMENTS,ELGIN AIRPORT BUSINESS PK,ACTUAL BUDGET
10610998,10998,8301-06,336,28,0,28,0,28,0,28,0,28,0,28,0,28,0,28,0,28,0,28,0,28,0,28,0,0,+,DRINK H2O,46,ILELG,5/22/2002,COOLER AND BOTTLED WATER,"HINCKLEY & SCHMITT, INC.",AVGD 01 02 03 04 05 06 07 08 09 10
10710998,10998,8301-07,276,276,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,+,LEASE PYMT,47,ILELG,5/22/2002,LEASE PAYMENTS,ELGIN AIRPORT BUSINESS PK,ASSUME 5% INCREASE OVER ACTUAL 2000 EXPENSES
10810998,10998,8301-08,3108,433,0,315,0,234,0,173,0,181,0,292,0,320,0,337,0,316,0,153,0,183,0,171,0,0,+,ELECTRIC,20,ILELG,5/22/2002,"UTILITIES (GAS,ELEC.,ETC)",COMMONWEALTH EDISON,AVGD 01 02 03 04 05 06 07 08 09 10 WEIGHTED
*** SCRIPT FOR TABLES LOADED ***
CREATE TABLE BUDGET_LINE (
BUDGET_LINE_ID NUMBER NOT NULL,
BUDGET_TYPE CHAR (1) NOT NULL,
GL_CODE_COMBO_ID NUMBER NOT NULL,
AMOUNT_TYPE CHAR (1) NOT NULL,
ACTIVE CHAR (1) DEFAULT 'T' NOT NULL,
SOURCE CHAR (1),
CUT CHAR (1),
DESCRIPTION VARCHAR2 (180),
CAP_ITEM_ID NUMBER,
PBT_ID NUMBER,
BILL_ID NUMBER,
CREATED_ON DATE DEFAULT SYSDATE NOT NULL,
CREATED_BY NUMBER NOT NULL,
UPDATED_ON DATE DEFAULT SYSDATE NOT NULL,
UPDATED_BY NUMBER NOT NULL,
CHECK (ACTIVE IN ('T','F') ) ,
CHECK (CUT IN ('C',NULL) ),
CONSTRAINT BUDGET_LINE_PRI
PRIMARY KEY ( BUDGET_LINE_ID ) ) ;
CREATE TABLE BUDGET_COST (
BUDGET_LINE_ID NUMBER NOT NULL,
PERIOD_ID NUMBER NOT NULL,
AMOUNT NUMBER (13,2),
CONSTRAINT BUDGET_COST_PRI
PRIMARY KEY ( BUDGET_LINE_ID, PERIOD_ID ) ) ;
CREATE TABLE GL_CODE_TEMP (
BUDGET_LINE_ID NUMBER NOT NULL,
SPENDER CHAR (5),
ACCT CHAR (7),
GL_CODE_COMBO_ID NUMBER,
CONSTRAINT GL_CODE_TEMP_BDGT_ID
PRIMARY KEY ( BUDGET_LINE_ID ) ) ;Thanks for the reply .. user do have their user credentials but only for the application ... but all users use a common loader and control file once they log into the application. So irrespective of which user is logged in he selects the same control file and loads to the same table mentioned in the control file .. i instead want user to be able to load to the table in control file but into his schema like username.tablename instead of just the tablename mentioned in .ctl file.
-
SQL*Loader and pipe on unix
On unix is it possible to pipe the data to be loaded in to SQL*Loader instead of reading it from file? I have a program that generates data that is to be loaded, and it is a bit waste of time to first save it to file, just to read it back in.
Yes, it's possible :
TEST@db102 SQL> desc test1
Name Null? Type
A VARCHAR2(20)
B VARCHAR2(20)
TEST@db102 SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[ora102 work db102]$ cat test1.dat
aaaaa,bbbbb
ccccc,ddddd
eeeee,fffff
[ora102 work db102]$ cat test1.ctl
load data
replace
INTO TABLE test1
fields terminated by ','
trailing nullcols
a, b
[ora102 work db102]$ cat test1.dat | sqlldr test/test control=test1.ctl
SQL*Loader: Release 10.2.0.1.0 - Production on Mon Sep 25 14:29:50 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 3
[ora102 work db102]$ sqlplus test/test
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 25 14:29:58 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
TEST@db102 SQL> select * from test1;
A B
aaaaa bbbbb
ccccc ddddd
eeeee fffff
TEST@db102 SQL> -
I cannot make a simple purchase of a $.99 of Beethoven's 9 symphony 4th Movement. When I click on the orchestra, a pop-up states "connecting - loading" and nothing happens. When I click on "View iTunes" for this selection, nothing happens.
AlexCarey, I've been having issues purchasing recently and place a number of calls to the support team. On Oct. 5th, and on my own decision, I went into my itunes profile and re-entered my credit card expiration date and security code. (Notice, it is not displayed for safety measures.) Today, I received an email from Apple support verifying if I made changes made to my account. For the heck of it, I logged back into itunes; click "Buy". It's working again after three days of failure. However, diagnosis still displays "Secure link to itunes store failed". Very confusing state of affairs, lately. See my post on "Itunes dilemma"
-
what is the best method for loading external XML (with
inherent HTML) content into Flash and into the TextArea component?
here is the requirement:
i have an image loader and a TextArea together on the screen.
a "story" is loaded which will present a series of images (in the
image loading) associated with a corresponding text (in the
TextArea). a "story" has multiple image/text sections that are
navigatied through with FRWD/BACK buttons. any given section can
also have multiple sub-sections or "frames".
here is a diagram of the flow (in this case there would be 5
click throughs: 5 text/image sequences, but all contained only
within 4 sections):
http://jalaka.com/lab/ia/story_nav.jpg
below is my proposed sample XML structure. i want Flash to
recognize how many sections and frames within sections there are in
each story XML document - in order to generate a corresponding
navigation structure (a tab for each section). HTML content will be
immediate availble to loadinto TextArea as user move forward in
sequence with nav. and images references can also be preloaded into
available MC containers to be swapped into place as user navigates
forward in sequence. also need to read and store attributes for
each node in the XML to come up in MCs in sequence. and must also
be able to parse XML in a way to place simple HTML formatted
content (within XML) into the TextArea.
would Arrays be used?
<story title = "Story Title">
<section num = "1" title = "Section One Title" >
<frame image = "1.jpg" caption = "caption text
here"><b>Content</b><br><br>content
content content</frame>
</section>
<section num = "2" title = "Section Two Title" >
<frame image = "1.jpg" caption = "caption text
here"><b>Content</b><br><br>content
content content</frame>
<frame image = "2.jpg" caption = "caption text
here"><b>Content</b><br><br>content
content content</frame>
</section>
</story>Placing the XML into an array is a great plan. What you want
is each array element to be an object containing the section data.
Another plan is to use a List or Combox component. Again each
data property element would be an object containing the section
data. -
Af:region, PPR and onload handler
We develop custom JSF components that need some javascript counterpart on the client.
These counterparts needs to be initialized (through some AJAX calls) when the page is ready to be displayed.
In old technologies, this was done through an "onload" javascript handler placed on the page.
In Apache Trinidad PPR, the page is already loaded when the components are rendered, and we need to register those scripts at render time (in encodeEnd) through :
ExtendedRenderKitService service = Service.getRenderKitService(context, ExtendedRenderKitService.class);
service.addScript(context, jsMethod);This method is available in ADF, so we can reuse this.
However, since the default onload mechanism already calls the scripts, and we want the scripts to be called only once, we need to make sure we are in a PPR context by using something like
reqContext.isPartialRequest(context);Now, in an af:region use case, we are not really in a PPR rendering (isPartialRequest returns false). What API should I use to check that the page is already loaded and we are just rendering a new region in that page ?I tried the AdfFacesContext.getCurrentInstance().isInitialRender() through layers of reflection, to keep independent at compile time from ADF.
However, even when this "initialRender" flag is true, the page rendering (client side) still goes through ADF AJAX calls and does not happen directly in the browser window.
I need in fact to detect, server side, whether the HTML I'm rendering will be executed directly in the browser (in that case, the "onload" happens) or through some indirection on the client where DOM elements such as "document" or "window" may not exist. In the latter case, I will register a script through the ExtendedRenderKitService class.
Any idea on the way I can do this in case of an af:region ?
Maybe you are looking for
-
Best AP express extend apple tv wiring set up
Hello Apologies for complete ignorance of the subject - been searching and googling for a while but can't find the answer to my specific question - so here goes: I have a 2012 Airport extreme base station on the ground floor of my house Wireless on t
-
Is there any way of having one MAC PRO and having 2 displays connected to it... one directly and the other one via WIFI (I already have a TIME CAPSULE)... OR anybody can help how I can have one tower (maybe I need an XSERVER) and 2 displays connected
-
Variable Bind Data in Oracle 9i
Hi everyone, I am trying to write a query in Oracle 9i which can resolve bound data names and values, but can't seem to find a way to do so. I have a 10g query which works great, but uses v$sql_bind_capture to find the variable names. 10g query: SELE
-
No one knows how to fix! Help me!
I'm posting this after a couple of days running around on the net and several calls to the "apple call center" with no answers. Here is the problem: My 2gig iPod Nano's screen never changes off of the language screen. This is what I've done: Pressed
-
Migrating VB Applications on SQL Server to Oracle Forms on Oracle 10g RAC
Hello All, I am looking at migrating a VB application built on a SQL Server database across to an Oracle Forms deployment with the data migrated to an Oracle 10g RAC database environment. My first question is whether the SQL Developer Migration Workb