DnD with 2D scaled drop target

This is more a strategy question than a code question - although code examples will be muchly appreciated.
I have a model drawing component (ModelDrawingComponent extends JInternalFrame) that contains child components ( ie. ClassNode extends JInternalFrame). I need to be able to drop information into the child component (ClassNode). My description is greatly simplified leaving out several layers such as JScrollPanes, JPanels, etc.
I have overridden the main JPanel's paintComponent() method to allow 2D drawing of lines and scale transformations of the entire model component resultant view. To provide mouse event interactions for this I use a GlassPane which transforms the mouse point to a scaled component adjusted point.
My problem is implementing a DropTarget for Drag and Drop with 2D scaling - the mouse gestures reference points that are not adjusted for the scaling. So I need to transform the point geometry to determine whether the drag is over one of the ClassNode components.
Does anyone have experience with DnD and 2D transformed targets they would like to share - ie. what is the best strategy for managing the transformation of the current drag point to the transformed / scaled point? I am assuming that the DropTarget should be the GlassPane. If so, how do you manage only showing a Drop OK Cursor when the cursor is over a child (ie. ClassNode) instead of over the GlassPane? What event listeners do I need to override to accomplish this?
Thanks in advance.

I don't know why your DropTarget implementation doesn't work, but an alternative, more high-level way of doing what you want is to use a TransferHandler:
        canvas.setTransferHandler(new TransferHandler() {
            @Override
            public boolean canImport(TransferSupport support) {
                if (support.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                    support.setDropAction(DnDConstants.ACTION_COPY);
                    return true;
                return false;
            @Override
            public boolean importData(TransferSupport support) {
                try {
                    String text = (String) support.getTransferable().getTransferData(DataFlavor.stringFlavor);
                    System.out.println(text);
                    return true;
                catch (Exception ex) {
                    ex.printStackTrace();
                    return false;
        });

Similar Messages

  • Drag and Drop Interaction with 50+ Drop Targets

    Hello,
    I'm fairly new to Captivate 7 but very familiar with Flash. I'm tasked with a project that I would like to do with the drag and drop interaction widget from Captivate 7. Basically, we need our learners to identify the locations of our resorts on a map. Select the name of the resort, drag and drop it in the city/state or country where located. My question is can Captivate handle this task? To me, it seems as a large task for Captivate to handle, and so I was thinking of coding it in Flash.
    Here is what I need:
    1.- List of all the properties at bottom with the drop target being a map of the US or world and have the location for each property as the drop target.
    2.- When the resort/property is selected, the name will change to the three letter code. Example: New York City, when clicked = NYC and the map itself to reflect the 3 letter code once dropped on the map if correct.
    3. If incorrect, the listed item will revert to the long name and return to the list.
    4. If this can be graded, it would be best.
    I can break the project into different regions but if I wanted to keep all 300+ properties in one module, will it be an issue? At the very least, I would need to do a minimum of about 50 per module.
    Thanks all! I've found this forum to be extremely helpful and the members seem to be eager to help.

    var matchingTargetName:String =(event.target.name).substring(0, 1);
    Change the name of the target to A and B and the mc A1, A2, A3, A4... and B1, B2,B3...

  • Drop target size/orientation with skinned List changed from 4.0 to 4.5

    I have a project that we recently moved from Flex/Flash Builder 4 to 4.5.  We have a skinned list with a horizontal orientation with the items in the list skinned with a button skin.  The user is allowed to drag buttons from a list of available items into another list of items they want.  When compiled in 4 with the 4.1 SDK, the drop area was the entire list area on the screen (it will hold about 5 of the buttons).  In 4.5, the drop area is only the width of 1 button, and appears to go down vertically instead of to the right horizontally.  If I extend the size of the list vertically, I can drop in any vertical position below the 'first' position, but cannot go to the right of the first position  to drop.
    It appears that whatever is computing the drop target area for the list is not honoring the layout of the list - it appears to always set up the drop area vertically.
    Again, all of this worked as expected in 4.1, it is only after compiling in 4.5 that this started.
    In addition, I had to add a call to event.stopImmediatePropagation() in the drop event handler, or else the item was added to the 'I want this' list 2x - I'm guessing 1x in my handler, and 1 additional time in a new 'automatic' drop handler for spark lists.
    Any idea how to fix the drop area?  It is very annoying for the users.
    Mark

    Never mind, found the problem.
    In our application, we also added a new menu and navigation bar.  The navigation bar has a 'history' panel that when you click on it, it 'swings down' and the user can click prior navigation points to return to.  This history panel, even though hidden with 'visible = false', was still blocking the drop area.  We had to set the history panel 'enabled = false' as well as 'visible = false' when it is not on the screen.  Once this was changed,  it quit blocking the drop area.  I found it when testing a different drag target that also fell under the 'history panel' area.

  • Determining drop target with TransferHandler

    Is there an easy way to determine the drop target
    from within the exportDone() method of TransferHandler?
    Details:
    I implemented a TransferHandler to handle DND from
    a JList to the same JVM or to a different (Motif)
    application.
    By default, if the drag & drop is to the same JVM I
    want to MOVE, if the drop is in another application
    I want to COPY (so my JList stays the same).
    I implemented the MOVE/COPY in exportDone(), but this
    has no (immediate) way of determining where the data
    was dropped (ie, same JVM or non-local) so I had to
    hack something involving createTransferable(),
    importData() and exportDone() to implement same.
    Any suggestions as to how I can easily determine where
    the data was dropped from exportDone()?
    Thanks, Joe

    I eventually cheated and put a static variable in the class that launches my application. There seems to be some deficiencies in the TransferHandler process. I also can't manage to figure out what TreePath in a JTree the data was dropped on.
    I may have to go back to the old 1.3 way of doing things.

  • Drag n drop exception - drop target listener

    It seems several people are having a problem with the built in drop target listener. See the (second part of) thread linked below (was mistakenly put in AWT forum).
    http://forum.java.sun.com/thread.jspa?messageID=2905780&
    ANY help would be much appreciated.

    Can anyone please help with this? No one seems to understand it. I get the following exception when dragging outside of a JTable:
    java.lang.NullPointerException
         at javax.swing.plaf.basic.BasicTableUI$TableDropTargetListener.restoreComponentState(BasicTableUI.java:1216)
         at javax.swing.plaf.basic.BasicDropTargetListener.dragExit(BasicDropTargetListener.java:249)
         at javax.swing.TransferHandler$SwingDropTarget.dragExit(TransferHandler.java:586)
         at sun.awt.dnd.SunDropTargetContextPeer.processExitMessage(SunDropTargetContextPeer.java:385)
         at sun.awt.dnd.SunDropTargetContextPeer.access$700(SunDropTargetContextPeer.java:52)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchExitEvent(SunDropTargetContextPeer.java:792)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:740)
         at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
         at java.awt.Component.dispatchEventImpl(Component.java:3494)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3315)
         at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3261)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3123)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    I get similar exception when dragging within a JList (except the NPE is in BasicTableUI$TableDropTargetListener.updateInsertionLocation). I'm using the provided StringSelection as my Transferable. The exceptions disappear when I disable the look and feel options in my app.
    PLEASE HELP. I'm so confused/frustrated by this.
    THANK YOU in advance.

  • Problem with Drag and drop in panel dashboard

    Hi
    I am having problem with drag and drop in panel dashboard.
    I will explain what i am doing.
    I am using Oracle three column template in First region i am having a table that showing all customer.
    I drag one record from my table and drop it on customer info (CIF) page on second region it is working fine.
    my CIF page has a dashboard with 6 panel box. i am showing 6 different jsff in 6 panel box.
    I put drop target in each jsff
    <af:dropTarget dropListener="#{backingBeanScope.backing_customerinformation.handleItemDrop}"
    actions="COPY">
    <af:dataFlavor flavorClass="org.apache.myfaces.trinidad.model.RowKeySet"
    discriminant="CustomerSearchDnD"/>
    </af:dropTarget>
    when i put drop target my panel boxes moves only when i drag it to another panel box header not entire part of panel box.
    if i remove the drop target then panel box move normally as the example given on: [http://adfui.us.oracle.com:7778/faces-trunk/faces/visualDesigns/dashboard.jspx?_afrLoop=2021391022520156&_afrWindowMode=0&_afrWindowId=null] but in taht case i am not able to drag and drop my data

    You must be an Oracle employee as you're referring to a component in the upcoming JDeveloper version which has yet been released to the general public. Oracle employee's are, I believe, directed to post on internal Oracle forums.
    CM.

  • Can we restrict Page assets shown in Content Finder to match available cq drop targets?

    We have defined a component that accepts drag-and-drop of user content, and the cq:DropTargetConfig node (under cq:editConfig > cq:dropTargets) defines groups=[page] because it accepts assets of type cq:Page not images.  Our component is a copy of the /libs/foundation/components/image component, because it accepts drag-and-drop, and we modified its innards to accept cq:Page not image.  Seems that the 'accept' property is completely ignored when groups=[page], I think 'accept' is only processed when groups=[media] i.e. images.
    This is basically working fine except there is so much user content that it is time-consuming for users to select the right pages to drag from the Content Finder extension into the drag-and-drop target.  And if they pick the wrong kind of asset it can really mess up the target page.  There are so many types of components based on cq:Page and many of them just do not belong in this particular drop target, but if the user drags an inappropriate asset into our drop target then cq allows it, often with disastrous results (content properties and nodes get overwritten in the wrong place, etc).
    Yes the Content Finder has a search bar but really I would like to restrict the list of assets shown there without the user having to type in a search term.  I hope there is something for Page-based content analogous to the 'allowedPaths' property in a Template.  In the WCM when you click New Page at some jcr path, a template-chooser dialog comes up and it only has templates which are allowed for that jcr path, so the dialog is uncluttered and guides the user to a relevant template.  Similarly, Components have an 'allowedParents' property so you can't use them where they don't belong.  Please advise if there is something similar to make it easier to find relevant content in Content Finder tab Pages.

    I just checked this behavior. In CQ 5.5, an image dropped in an image component OEM is trunct'ed to fit the column or parsys that it is added to. The image remains 100% full-scale and flush left. In the past as a CQ architect, I have participated in the conversation no less than 10 times. If fact I discussed this with a client last week. They insisted on being able to use renditions as part of content.
    I've advised on various solutions. The most complex solution I've advised on will autosize the image component to fit the column it is used in without author intervention. This is, however, predicated on the column components to be rewritten using a grid system and not %. It's extremely complex and changes the behavior of various components dramatically.
    I agree I don't fully understand or embrace the philosophy on this one. I see the purist attitude toward renditions of images but its not practical in the field. Under the current philosophy images of the same size and scale will be cached in multiple locations.
    Lars, feel free to school us on this one... it's your baby.

  • Issue with AFP server dropping connections on 10.8.5 server 2.2.2

    We are having issues with users getting dropped from their AFP server shares.
    These issues did not start happening until we upgraded to 10.8.5 and server 2.2.2
    the first symptoms were an occasional user would lose his / her active connection while copying files. They were unable to disconnect from the network shares without physically disconnecting the LAN or disabling the network on their system. Once the connection was removed they could reconnect to the network and establish their AFP shares again.
    However this his escalated to every user losing connections to their AFP shares at the same time.
    The server has no AFP error in the AFP error log however we are getting diskutil crash reports at around the same time. (See Below)
    The server has
    smalltree 1x6 8254 with latest drivers supporting a LACP bonded 6 pair connecting to an edgecore (LACP configured)switch.
    small tree 10Gb card directly connected to an edit station.
    onboard ethernet connected to switch in support of DHCP & DNS. (previous version of server would not see the bonded pair)
    Two Accusys A12S2's
    (we did not have this dropping connection issue before the upgrade to server 2.2.2 and OSX 10.8.5)
    Users connected to any network connection to the server appear to be affected when the AFP shares are disconnected. Direcet connect, onboard ethernet port and Bonded pair connections)
    diskutil verifies all shared drives appear to be ok. (All Green)
    SYSTEM LOG
    Feb 23 11:15:44 doghouse.local diskutil[1067]: -[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8
    Feb 23 11:15:44 doghouse.local diskutil[1067]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
              *** First throw call stack:
                        0   CoreFoundation                      0x00007fff91b2bb06 __exceptionPreprocess + 198
                        1   libobjc.A.dylib                     0x00007fff901403f0 objc_exception_throw + 43
                        2   CoreFoundation                      0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
                        3   CoreFoundation                      0x00007fff91b1a02e ___forwarding___ + 414
                        4   CoreFoundation                      0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
                        5   diskutil                            0x000000010c1eb550 diskutil + 83280
                        6   diskutil                            0x000000010c1ea0af diskutil + 77999
                        7   diskutil                            0x000000010c1e7abe diskutil + 68286
                        8   diskutil                            0x000000010c1dd0ef diskutil + 24815
                        9   diskutil                            0x000000010c1e5161 diskutil + 57697
                        10  Foundation                          0x00007fff8d29dd05 __NSFireDelayedPerform + 358
                        11  CoreFoundation                      0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
                        12  CoreFoundation                      0x00007fff91ae831d __CFRunLoopDoTimer + 557
                        13  CoreFoundation                      0x00007fff91acdad9 __CFRunLoopRun + 1529
                        14  CoreFoundation                      0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
                        15  Foundation                          0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
                        16  Foundation                          0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
                        17  diskutil                            0x000000010c1e5126 diskutil + 57638
                        18  diskutil                            0x000000010c1e51cd diskutil + 57805
                        19  libdyld.dylib                       0x00007fff86bf87e1 start + 0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1061] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544_doghouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-22-164711_dogh ouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local diskutil[1071]: -[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1067] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544-1_doghouse.crash
    Feb 23 11:15:44 doghouse.local diskutil[1071]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
              *** First throw call stack:
                        0   CoreFoundation                      0x00007fff91b2bb06 __exceptionPreprocess + 198
                        1   libobjc.A.dylib                     0x00007fff901403f0 objc_exception_throw + 43
                        2   CoreFoundation                      0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
                        3   CoreFoundation                      0x00007fff91b1a02e ___forwarding___ + 414
                        4   CoreFoundation                      0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
                        5   diskutil                            0x0000000100e49550 diskutil + 83280
                        6   diskutil                            0x0000000100e480af diskutil + 77999
                        7   diskutil                            0x0000000100e45abe diskutil + 68286
                        8   diskutil                            0x0000000100e3b0ef diskutil + 24815
                        9   diskutil                            0x0000000100e43161 diskutil + 57697
                        10  Foundation                          0x00007fff8d29dd05 __NSFireDelayedPerform + 358
                        11  CoreFoundation                      0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
                        12  CoreFoundation                      0x00007fff91ae831d __CFRunLoopDoTimer + 557
                        13  CoreFoundation                      0x00007fff91acdad9 __CFRunLoopRun + 1529
                        14  CoreFoundation                      0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
                        15  Foundation                          0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
                        16  Foundation                          0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
                        17  diskutil                            0x0000000100e43126 diskutil + 57638
                        18  diskutil                            0x0000000100e431cd diskutil + 57805
                        19  libdyld.dylib                       0x00007fff86bf87e1 start + 0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-22-164712_dogh ouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1071] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544-2_doghouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-23-093307_dogh ouse.crash
    diskutil crash report
    Process:         diskutil [1061]
    Path:            /usr/sbin/diskutil
    Identifier:      diskutil
    Version:         680
    Code Type:       X86-64 (Native)
    Parent Process:  sh [1060]
    User ID:         0
    Date/Time:       2014-02-23 11:15:43.719 -0800
    OS Version:      Mac OS X 10.8.5 (12F45)
    Report Version:  10
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
    terminate called throwing an exception
    abort() called
    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff91b2bb06 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff901403f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
    3   CoreFoundation                      0x00007fff91b1a02e ___forwarding___ + 414
    4   CoreFoundation                      0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
    5   diskutil                            0x000000010124a550 diskutil + 83280
    6   diskutil                            0x00000001012490af diskutil + 77999
    7   diskutil                            0x0000000101246abe diskutil + 68286
    8   diskutil                            0x000000010123c0ef diskutil + 24815
    9   diskutil                            0x0000000101244161 diskutil + 57697
    10  Foundation                          0x00007fff8d29dd05 __NSFireDelayedPerform + 358
    11  CoreFoundation                      0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    12  CoreFoundation                      0x00007fff91ae831d __CFRunLoopDoTimer + 557
    13  CoreFoundation                      0x00007fff91acdad9 __CFRunLoopRun + 1529
    14  CoreFoundation                      0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
    15  Foundation                          0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
    16  Foundation                          0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
    17  diskutil                            0x0000000101244126 diskutil + 57638
    18  diskutil                            0x00000001012441cd diskutil + 57805
    19  libdyld.dylib                       0x00007fff86bf87e1 start + 0
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x00007fff86519212 __pthread_kill + 10
    1   libsystem_c.dylib                       0x00007fff8a31ab24 pthread_kill + 90
    2   libsystem_c.dylib                       0x00007fff8a35ef61 abort + 143
    3   libc++abi.dylib                         0x00007fff85dc39eb abort_message + 257
    4   libc++abi.dylib                         0x00007fff85dc139a default_terminate() + 28
    5   libobjc.A.dylib                         0x00007fff90140873 _objc_terminate() + 91
    6   libc++abi.dylib                         0x00007fff85dc13c9 safe_handler_caller(void (*)()) + 8
    7   libc++abi.dylib                         0x00007fff85dc1424 std::terminate() + 16
    8   libc++abi.dylib                         0x00007fff85dc261b __cxa_rethrow + 85
    9   libobjc.A.dylib                         0x00007fff90140575 objc_exception_rethrow + 40
    10  com.apple.CoreFoundation                0x00007fff91acd146 CFRunLoopRunSpecific + 390
    11  com.apple.Foundation                    0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
    12  com.apple.Foundation                    0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
    13  diskutil                                0x0000000101244126 0x101236000 + 57638
    14  diskutil                                0x00000001012441cd 0x101236000 + 57805
    15  libdyld.dylib                           0x00007fff86bf87e1 start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff86519d16 kevent + 10
    1   libdispatch.dylib                       0x00007fff8a0dddea _dispatch_mgr_invoke + 883
    2   libdispatch.dylib                       0x00007fff8a0dd9ee _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib                  0x00007fff865196d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8a31bf1c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8a31bce3 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8a306191 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib                  0x00007fff865196d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8a31bf1c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8a31bce3 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8a306191 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff865196d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8a31bf1c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8a31bce3 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8a306191 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5e9c9ad8  rdx: 0x0000000000000000
      rdi: 0x0000000000000707  rsi: 0x0000000000000006  rbp: 0x00007fff5e9c9b00  rsp: 0x00007fff5e9c9ad8
       r8: 0x00007fff764be278   r9: 0x00007fff5e9c9ae0  r10: 0x0000000020000000  r11: 0x0000000000000206
      r12: 0x00007fff5e9c9c60  r13: 0x0000000000000001  r14: 0x00007fff764bf180  r15: 0x00007fff5e9c9b40
      rip: 0x00007fff86519212  rfl: 0x0000000000000206  cr2: 0x00007fff764b7ff0
    Logical CPU: 0
    Binary Images:
           0x101236000 -        0x10126efff  diskutil (680) <47174BB8-7EAC-39F7-96F7-99FE93C9CAF3> /usr/sbin/diskutil
        0x7fff60e36000 -     0x7fff60e6a93f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
        0x7fff85d6f000 -     0x7fff85d6ffff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
        0x7fff85dc0000 -     0x7fff85de5ff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
        0x7fff85de6000 -     0x7fff85e4eff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
        0x7fff85e4f000 -     0x7fff85ef5ff7  com.apple.CoreServices.OSServices (557.6 - 557.6) <FFDDD2D8-690D-388F-A48F-4750A792D2CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff85f54000 -     0x7fff85f62ff7  libkxld.dylib (2050.48.12) <B8F7ED1F-CF84-3777-9183-0A1C513DF81F> /usr/lib/system/libkxld.dylib
        0x7fff861de000 -     0x7fff86353ff7  com.apple.CFNetwork (596.5 - 596.5) <22372475-6EF4-3A04-83FC-C061FE4717B3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff86354000 -     0x7fff863d5fff  com.apple.Metadata (10.7.0 - 707.12) <69E3EEF7-8B7B-3652-8320-B8E885370E56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff86468000 -     0x7fff86470ff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff86499000 -     0x7fff86506ff7  com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff86507000 -     0x7fff86522ff7  libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib
        0x7fff865b1000 -     0x7fff865b2ff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
        0x7fff86764000 -     0x7fff86769fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
        0x7fff86784000 -     0x7fff86785fff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff86bf6000 -     0x7fff86bf9ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
        0x7fff8715b000 -     0x7fff8715bfff  com.apple.vecLib (3.8 - vecLib 3.8) <6CBBFDC4-415C-3910-9558-B67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
        0x7fff871a8000 -     0x7fff87235ff7  com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff87236000 -     0x7fff87243fff  libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
        0x7fff872d9000 -     0x7fff87373fff  libvMisc.dylib (380.10) <A7F12764-A94C-36EB-88E0-F826F5AF55B4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
        0x7fff87455000 -     0x7fff87455fff  com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff87874000 -     0x7fff87947ff7  com.apple.DiscRecording (7.0 - 7000.2.4) <6DCA9535-E276-3D77-BEB3-296B537AA6BB> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
        0x7fff879ab000 -     0x7fff879aefff  libutil.dylib (30) <EF3340B2-9A53-3D5E-B9B4-BDB5EEECC178> /usr/lib/libutil.dylib
        0x7fff87da3000 -     0x7fff87da5ff7  com.apple.EFILogin (2.0 - 2) <51A470D7-1F72-3369-AF0F-AD2340B42C12> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
        0x7fff880b1000 -     0x7fff880e9fff  libncurses.5.4.dylib (37.3) <68D5B5F5-8252-3F1E-AFF1-C6AFE145DBC1> /usr/lib/libncurses.5.4.dylib
        0x7fff881ed000 -     0x7fff881faff7  com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff88571000 -     0x7fff8859fff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
        0x7fff887e7000 -     0x7fff887e8ff7  libSystem.B.dylib (169.3) <5ED23C27-47AF-3C93-984A-172751CF745A> /usr/lib/libSystem.B.dylib
        0x7fff887e9000 -     0x7fff8883aff7  com.apple.SystemConfiguration (1.12.2 - 1.12.2) <581BF463-C15A-363B-999A-E830222FA925> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff8883b000 -     0x7fff88b52ff7  com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff88b53000 -     0x7fff88b54ff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff88be0000 -     0x7fff88bf3ff7  libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
        0x7fff88dd0000 -     0x7fff88dd1fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
        0x7fff892df000 -     0x7fff892e5fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
        0x7fff892e6000 -     0x7fff89335ff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
        0x7fff89336000 -     0x7fff89536fff  libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
        0x7fff89537000 -     0x7fff89537fff  libOpenScriptingUtil.dylib (148.3) <F8681222-0969-3B10-8BCE-C55A4B9C520C> /usr/lib/libOpenScriptingUtil.dylib
        0x7fff89538000 -     0x7fff89581ff7  com.apple.DiskManagement (5.3.1 - 680) <5438A1FF-B92C-3D28-A8E4-FB41F03144C2> /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManag ement
        0x7fff89589000 -     0x7fff895abff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
        0x7fff895b6000 -     0x7fff895cdfff  com.apple.CFOpenDirectory (10.8 - 151.10) <F7AD9844-559A-366E-8192-BB4FCF9EE7A3> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff895ce000 -     0x7fff895d9fff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
        0x7fff8960f000 -     0x7fff89614fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
        0x7fff899f3000 -     0x7fff89a3fff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
        0x7fff89b9a000 -     0x7fff89b9cff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
        0x7fff89bd8000 -     0x7fff89c09ff7  com.apple.DictionaryServices (1.2 - 184.4) <FB0540FF-5034-3591-A28D-6887FBC220F7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff8a01f000 -     0x7fff8a0afff7  libCoreStorage.dylib (296.18.2) <2FFB6BCA-3033-3AC1-BCE4-ED102DCBECD5> /usr/lib/libCoreStorage.dylib
        0x7fff8a0d9000 -     0x7fff8a0eeff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
        0x7fff8a0ef000 -     0x7fff8a11afff  libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
        0x7fff8a2e9000 -     0x7fff8a2f3fff  libcsfde.dylib (296.18.2) <08092C5B-2171-3C1D-A98F-CF499A315DDC> /usr/lib/libcsfde.dylib
        0x7fff8a305000 -     0x7fff8a3d1ff7  libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
        0x7fff8a5c9000 -     0x7fff8a628fff  com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff8a679000 -     0x7fff8a776fff  libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
        0x7fff8a8e3000 -     0x7fff8a9e0ff7  libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
        0x7fff8afa9000 -     0x7fff8afdffff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
        0x7fff8afe6000 -     0x7fff8afeefff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
        0x7fff8b2b7000 -     0x7fff8b368fff  com.apple.LaunchServices (539.9 - 539.9) <07FC6766-778E-3479-8F28-D2C9917E1DD1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff8b3bc000 -     0x7fff8b3c0ff7  com.apple.TCC (1.0 - 1) <F2F3B753-FC73-3543-8BBE-859FDBB4D6A6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
        0x7fff8c051000 -     0x7fff8c0b9fff  libvDSP.dylib (380.10) <3CA154A3-1BE5-3CF4-BE48-F0A719A963BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
        0x7fff8c15b000 -     0x7fff8c17cff7  libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
        0x7fff8c1bc000 -     0x7fff8c1c2ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
        0x7fff8c58d000 -     0x7fff8c984fff  libLAPACK.dylib (1073.4) <D632EC8B-2BA0-3853-800A-20DA00A1091C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff8c985000 -     0x7fff8c993ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
        0x7fff8c994000 -     0x7fff8c99bfff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
        0x7fff8c99c000 -     0x7fff8c9aafff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
        0x7fff8ccbc000 -     0x7fff8cf8dff7  com.apple.security (7.0 - 55179.13) <F428E306-C407-3B55-BA82-E58755E8A76F> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff8d22a000 -     0x7fff8d589fff  com.apple.Foundation (6.8 - 945.18) <1D7E58E6-FA3A-3CE8-AC85-B9D06B8C0AA0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff8d939000 -     0x7fff8d950fff  com.apple.GenerationalStorage (1.1 - 132.3) <FD4A84B3-13A8-3C60-A59E-25A361447A17> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
        0x7fff8d951000 -     0x7fff8d952fff  liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
        0x7fff8d953000 -     0x7fff8d95afff  com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff8d968000 -     0x7fff8d9d1fff  libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
        0x7fff8dbde000 -     0x7fff8dc4cff7  com.apple.framework.IOKit (2.0.1 - 755.42.1) <A90038ED-48F2-3CC9-A042-53A3D7985844> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff8e11b000 -     0x7fff8e11dfff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
        0x7fff9012f000 -     0x7fff9024792f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
        0x7fff91567000 -     0x7fff91568ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
        0x7fff91952000 -     0x7fff919b5fff  com.apple.audio.CoreAudio (4.1.2 - 4.1.2) <FEAB83AB-1DE5-3813-BA48-7A7F2374CCF0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff91a98000 -     0x7fff91c82ff7  com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff91c83000 -     0x7fff91e09fff  libBLAS.dylib (1073.4) <C102C0F6-8CB6-3B49-BA6B-2EB61F0B2784> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff91e13000 -     0x7fff91e25ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
        0x7fff91e76000 -     0x7fff91e7cfff  com.apple.DiskArbitration (2.5.2 - 2.5.2) <C713A35A-360E-36CE-AC0A-25C86A3F50CA> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff91f14000 -     0x7fff91f54ff7  com.apple.MediaKit (14 - 687) <8AAA8CC3-3ACD-34A5-9E57-9B24AD8AFD4D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
        0x7fff92028000 -     0x7fff92037ff7  libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
        0x7fff921bd000 -     0x7fff921c1fff  libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
        0x7fff921c2000 -     0x7fff92314fff  com.apple.audio.toolbox.AudioToolbox (1.9.2 - 1.9.2) <DC5F3D1B-036A-37DE-BC24-7636DC95EA1C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 240
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=89.5M resident=64.1M(72%) swapped_out_or_unallocated=25.4M(28%)
    Writable regions: Total=82.6M written=784K(1%) resident=1340K(2%) swapped_out=0K(0%) unallocated=81.3M(98%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    MALLOC                             72.3M
    MALLOC guard page                    32K
    STACK GUARD                        56.0M
    Stack                              10.0M
    VM_ALLOCATE                           8K
    __DATA                             3472K
    __LINKEDIT                         52.1M
    __TEXT                             37.4M
    __UNICODE                           544K
    mapped file                        18.1M
    shared memory                        12K
    ===========                      =======
    TOTAL                             250.0M

    That kind of crash is usually caused by system corruption. I suggest you reinstall.

  • Problem in using AdvanceDataGrid as tree with drag n drop functionality

    Hi All,
    I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree.
    Overwritten dragDrop handler event for ADG.
    Issues: Not getting target node on which I am dropping currently selected node.

    Please don’t use this forum for support questions, go use flexcoders or the Adobe forums instead.
    Matt
    On 2/10/09 11:21 PM, "rakess" <
    [email protected]> wrote:
    A new discussion was started by rakess in
    Developers --
      Problem in using AdvanceDataGrid as tree with drag n drop functionality
    Hi All,
    I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree.  
    Overwritten dragDrop handler event for ADG.
    Issues: Not getting target node on which I am dropping currently selected node.
    View/reply at Problem in using AdvanceDataGrid as tree with drag n drop functionality <
    http://www.adobeforums.com/webx?13@@.59b7e11c>
    Replies by email are OK.
    Use the unsubscribe <
    http://www.adobeforums.com/webx?280@@.59b7e11c!folder=.3c060fa3>  form to cancel your email subscription.

  • Flash drop target problem in Captivate

    I realise that this is more a Flash-specific question, but I thought I'd give the Captivate forum a try as it relates to a Captivate lesson I am trying to put together.
    I have an interactive exercise that I have produced in Flash CS4 (Actionscript 2), that involves the user dragging and dropping movieclips onto specific drop targets. 
    It works fine when run on its own/in a browser etc, but when I insert the movieclip into Captivate to incorporate it into the lesson, the drag/drop functionality doesn't work as it should do anymore (drag/drop still works, but the dropped mc's no longer react to being dropped on the correct targets.)
    I'm wondering if this is because Captivate outputs the lesson as an .SWF, so my Flash clip is within a 'container' consisting of the actual Captivate e-learning package itself?
    Unfortunately my knowledge of Flash and Captivate is still in its infancy, so any help would be greatly appreciated from anyone with experience of using Flash within Captivate.
    Thanks.

    Hi kglad,
    Thanks for your quick reply.  I'm little confused though - this is the line of code I'm suspecting I need to change: -
    if (GetProperty ("/Ref_out", _droptarget) eq "/Ref_in") {
    Ref_out being the dragged object, Ref_in being the drop target mc.  How would I go about using the _name property instead?
    Sorry for the stupid question, but I'm struggling to find my way around the Adobe help files on the web - I don't think they're particularly user friendly, but maybe that's just me.

  • Reordering of rows - issue with drag and drop of editable columns in table

    JDeveloper: 11.1.1.6.0
    ADF Faces - Drag and Drop for reordering of rows within the same af:table
    I have a requirement for reordering rows in a table using drag and drop. This table is loaded using a list and I am able to programmatically do the reordering of the rows based on the events of drag and drop by manipulating the list. Reordering of rows is working fine if all the columns are read only. For all the input text and input date columns the values are not getting reordered. Anyone has any idea on what the issue may be with reordering of the rows for editable columns/rows (af:inputText and af:inputDate) in af:table. Below is what Iam doing on drop event which is a collection drop target.
    public DnDAction dropCollection(DropEvent dropEvent) {
    try
    Object dropSite = dropEvent.getDropSite();
    Transferable transferable = dropEvent.getTransferable();
    DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
    RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
    RichTable table = (RichTable) dropEvent.getDragComponent();
    if (rowKeySet != null)
    CollectionModel dragModel = transferable.getData(CollectionModel.class);
    Object dragM = dragModel.getRowData(0);
    Object currKey = rowKeySet.iterator().next();
    dragModel.setRowKey(currKey);
    table.setRowKey(currKey);
    OrderData orderData = (OrderData)this.prodReportTableData.get(Integer.parseInt(currKey.toString()));
    this.prodReportTableData.remove(Integer.parseInt(currKey.toString()));
    this.prodReportTableData.add(Integer.parseInt(dropSite.toString()), orderData);
    OrderData orderDataAdded = this.prodReportTableData.get(Integer.parseInt(dropSite.toString()));
    JSFUtils.addPartialTarget(this.getProdReportTableBinding());
    catch(Exception e)
    e.printStackTrace();
    return DnDAction.MOVE;
    Code snippet from UI:
    <af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
    var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
    rows="40" emptyText="No data to display." id="t1"
    partialTriggers=":::cb1" columnStretching="column:c3"
    binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}" summary="PROD TABLE">
    <af:dragSource actions="MOVE" defaultAction="MOVE"
    discriminant="rowmove"
    dragDropEndListener="#{pageFlowScope.prodReportBackingBean.afterDragAndDrop}"/>
    <af:collectionDropTarget dropListener="#{pageFlowScope.prodReportBackingBean.dropCollection}"
    actions="MOVE"
    modelName="rowmove"/>

    Hi,
    not sure its the reason but you have huge bummer in your configuration.
    <af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
    var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
    rows="40" emptyText="No data to display." id="t1"
    partialTriggers=":::cb1" columnStretching="column:c3"
    *binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}"* summary="PROD TABLE">
    JSF component bindings should not be to beans in a scope larger than request to avoid stale component instances.
    Frank

  • Image as drop target for drag and drop

    was wondering how I can make an image to be a drop target using the dnd api. so far from what i've seen it takes only java components to be target, so if anyone has any ideas it will be great.
    thanks

    I don't know why your DropTarget implementation doesn't work, but an alternative, more high-level way of doing what you want is to use a TransferHandler:
            canvas.setTransferHandler(new TransferHandler() {
                @Override
                public boolean canImport(TransferSupport support) {
                    if (support.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                        support.setDropAction(DnDConstants.ACTION_COPY);
                        return true;
                    return false;
                @Override
                public boolean importData(TransferSupport support) {
                    try {
                        String text = (String) support.getTransferable().getTransferData(DataFlavor.stringFlavor);
                        System.out.println(text);
                        return true;
                    catch (Exception ex) {
                        ex.printStackTrace();
                        return false;
            });

  • Drop target below image or canvas seems impossible?

    Hi All!
    I am building an app where the user can drag an image from
    one place, and drop it in a few different locations.
    The drop locations are vector images who listen for the
    dragEnter event, they get "highlighted" when an image is dragged
    onto them, and then accepts the dropped image - no problem. This
    all works like a charm.
    The trouble is I need to add a partially transparent PNG
    image on top of it all, and when I do that the image seems to
    consume any dragEnter events that are generated, and the "drop
    spots" below never get notified that something is being dragged
    over them.
    I realize that a PNG image with transparency will not be
    considered TRULY transparent, and that it normally does consume
    mouse events regardless of wether it's transparent or not. The odd
    thing is that you cannot work around this by setting mouseEnabled
    and mouseChildren to false on the image - it still sits there
    effectively blocking the dragEnter events from reaching their
    intended targets.
    If anyone has a workaround or solution to this I'd be very
    grateful!
    Thanks in advance & Best regards
    Culme

    I had to give up on this one for now.
    I created a layer on top which contains the "drop targets",
    and a layer below the PNG image which contains the visual elements
    that get highlighted when stuff is dragged over the drop targets.
    It works, but it seems like a rather lousy solution.
    If anyone figures out a better way of doing it I'm still
    interested.

  • Drop Target Registration

    I am using DnD to drag items from a JTree (drag source) onto another JTree (drop target). This all takes place within a JPanel enclosing a JSplitPane. It works fine when I run this class using a main(), creating a JFrame within the main() and adding the DnD JPanel. When I add this component into the application the Drop Target doesn't seem to get registered. I can't get any of the methods in the DropTargetListener I/F to fire. As a result, invoking the getDropSuccess() method on the DragSourceDropEvent object in the dragDropEnd() method of the my DragSourceListener always returns false.
    The new DropTarget(component, myDropTargetListener) call returns a non-null object so I assume it's getting registered. Help!!

    This problem was introduced by the IDE. VisualAge prohibits applications from registering DropTargetListeners in the context of a large application.
    kduell@altawave

  • Newby to Flash -- need help with Drag and Drop

    I have been trying to create a drag and drop in Flash where I have five different places for an instance of a mc to be dropped. I want to be able to drop only three instances to each place and these three instances are specific to one of the five "drop places".  I also want the mc instance to go back to its original position if it is not dropped on the right place.  I've got the actionscript working to drag and drop the mc instances on the "drop places"  but I cannot figure out how to do the if statements so that if it doesn't match the correct drop place it will go back to its original position.
    Here's some of my code:
    Analyze1_mc.objName = "Analyze1";
    Analyze1_mc.val = 1;
    Design1_mc.objName = "Design1";
    Design1_mc.val = 4;
    Analyze1_mc.buttonMode = true; // sets mouse pointer to hand
    Design1_mc.buttonMode = true;
    Analyze1_mc.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    Analyze1_mc.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    Design1_mc.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    Design1_mc.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop);
    var originalPosition:Point;
    function returnToOriginalPosition(): void
              originalPosition = new Point(x,y)
              x = originalPosition.x;
              y = originalPosition.y;
    // function to drag item clicked
    function fl_ClickToDrag(event:MouseEvent):void
              event.currentTarget.startDrag();
              event.target.parent.addChild(event.target);
    function fl_ReleaseToDrop(event:MouseEvent):void
              var target:MovieClip = event.currentTarget as MovieClip;
              var item:MovieClip = MovieClip(event.target);
              item.stopDrag();
    if (event.target.hitTestObject(AnalyzeTarget_mc)  && (event.target.val == 1)) {
                                            trace ("Analyze1");
                                            event.target.x = AnalyzeTarget_mc.x + 42;
                                            event.target.y = AnalyzeTarget_mc.y + 5;
                                            updateItem(Analyze1_mc);
                                  } else {
                                            returnToOriginalPosition();
    if (event.target.hitTestObject(DesignTarget_mc) && (event.target.val == 4)) {
                                            trace ("Design1");
                                            event.target.x = DesignTarget_mc.x + 42;
                                            event.target.y = DesignTarget_mc.y + 5;
                                            updateItem(Design1_mc);
                                  } else {
                                            returnToOriginalPosition();
    function updateItem(item:MovieClip):void {
              buttonMode = false;
              removeEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);
    I put the trace in to check the function -- and I do get the output when the mc instance is dropped on the right place -- but there is no return to original position if the instance is dropped in the wrong spot and there is no update to the mc instance. 
    Any help would be greatly appreciated. Thanks!

    That line you speak of is merely declaring a variable, nothing is being assigned to it.
    One way of assigning the original position data to each object is to just assign it like follows:
    Analyze1_mc.originalX = Analyze1_mc.x;
    Analyze1_mc.originalY = Analyze1_mc.y;
    etc...
    Another way to do it with less code is to assign it generically just before you start dragging each of them...
    function fl_ClickToDrag(event:MouseEvent):void
              event.currentTarget.originalX = event.currentTarget.x;
              event.currentTarget.originalY = event.currentTarget.y;
              event.currentTarget.startDrag();
              event.target.parent.addChild(event.target);
    One thing I noticed in your code earlier is that you switch between using event.currentTarget and event.target.  If you want to be sure that the object your code is targetiing is the object that has the listener assigned to it (your movieclips) stick with using currentTarget.   target can end up pointing to something inside that object instead of the object itself.  In the following lines...
              var target:MovieClip = event.currentTarget as MovieClip;
              var item:MovieClip = MovieClip(event.target);
    You could very well be assigning target and item as being the same object.  I don't think that is what you want.  You might wanting to have one of them be the object you drop it on, which would be the dropTarget, not the target

Maybe you are looking for

  • My iMac G5 iSight has died.  New iMac on order.

    My 5+ year old 20" iMac G5 iSight has died after a recent 3 hour power outage.  I have nothing.  It has acted a little stubborn with some restarts recently and I waited a little too long to replace.  I tore it down and replaced the PRAM battery but n

  • T520 with dual monitors won't save resolution settings

    I have a new T520 docked with a 4338 docking station.  I've connected 2 Lenovo L1940p LCD's to the dock using the 2 DVI ports.  In order to set the 2 LCD's to 1440 x 900 (their max resolution), I have to disconnect the 2 DVI cables from the dock and

  • Activate Bates Numbering in Document Processing menu?

    I have a customer who needs to insert Bates Numbering into his documents for a coming audit, however when he goes to Advanced > Document Processing , as stated in http://help.adobe.com/en_US/Acrobat/9.0/Professional/WS6 DE1E376-6A82-406c-A711-6C5E520

  • How to map only the first occurance to the op in graphical mapping

    Hi, i have a record whose occurance is ' * '.But to the output i need to only map the value of the field which comes in the first occurance of the record.Can anyone help me in this.its very urgent. For ex : my input is <header> <inp1>123</inp1> <inp2

  • Manage Server Start Problem (weblogic.store.io.jdbc.JDBCStoreException)

    I have a problem, when i start manage server. Could you please help me about this problem? Thanks Orhan YENER <Jun 19, 2012 1:45:17 PM EEST> <Warning> <Store> <BEA-280076> <Database table "P13N_MESSAGING_WLStore" for store "p13nJMSPersistenceStore" i