Type Safe enum with Serializable issue

The following code is copied from www.javapractices.com
public final class SimpleSuit {
  public static final SimpleSuit CLUBS = new SimpleSuit ("Clubs");
  public static final SimpleSuit DIAMONDS = new SimpleSuit ("Diamonds");
  public static final SimpleSuit HEARTS = new SimpleSuit ("Hearts");
  public static final SimpleSuit SPADES = new SimpleSuit ("Spades");
  public String toString() {
    return fName;
  private final String fName;
  private SimpleSuit(String aName) {
    fName = aName;
}It is known to be typesafe and able to perform object equality.
Eg:
SimpleSuit s = SimpleSuit.SPADES;
if (s == SimpleSuit.SPASES)
..Thus, it is simple and fast enough by object equality comparison.
But if I implement SimpleSuit with java.io.Serializable and send it over the network, of course that would become a totally new objects, therefore I can't usr object equality anymore. Any solution to make it work over Serialization?
Thanks,
Jax

A serializable class may provide a 'readResolve' method. This is used to "designate a replacement when an instance of it is read".
A common approach with enums is to provide a unique identifier (e.g, a string name, or integer id). The enum class can then provide a readResolve method which determines the correct replacement instance based on this id.
An example of this is also available on the javapractices site you mentioned:
http://www.javapractices.com/Topic1.cjp

Similar Messages

  • Type-safe enum in CMP EJB field...

    Is it possible to use a type-safe enum like this in an EJB CMP field?
    I have tried to do that but although the code compiles I get errors.
    package dataBeansPkg;
    import java.io.Serializable;
    import java.io.ObjectStreamException;
    import java.util.HashMap;
    public final class Estado implements Serializable
    private static final String ACTIVODESC = "Activo";
    private static final String INACTIVODESC = "Inactivo";
    private static final String ELIMINADODESC = "Eliminado";
    private static final String BLOQUEADODESC = "Bloqueado";
    private static HashMap VALUES = new HashMap();
    private final String status;
    private final String descripcion;
    public static final Estado ACTIVO = new Estado("A", ACTIVODESC);
    public static final Estado INACTIVO = new Estado("I", INACTIVODESC);
    public static final Estado ELIMINADO = new Estado("E", ELIMINADODESC);
    public static final Estado BLOQUEADO = new Estado("B", BLOQUEADODESC);
    protected Estado()
    this.status = null;
    this.descripcion = null;
    protected Estado(String estado, String descripcion)
    this.status = estado;
    this.descripcion = descripcion;
    VALUES.put(estado, this);
    public String getValor() { return status; }
    public String getEstado() { return status; }
    public String getDescripcion() { return descripcion; }
    public String toString() { return getValor(); }
    public final boolean equals(Object o) { return super.equals(o); }
    public final int hashCode() { return super.hashCode(); }
    public static Estado find(String estado)
    if(VALUES.containsKey(estado)) {
    return (Estado)VALUES.get(estado);
    return null;
    public Object readResolve()
    Object result = find(status);
    if(result != null)
    return result;
    else
    return INACTIVO; // valor por omision
    Whenever I run a client using the bean with a field associated to this enum, I get...
    java.io.StreamCorruptedException: Caught EOFException while reading the stream header
    and
    Error loading state: java.io.StreamCorruptedException: Caught EOFException while reading the stream header
    Is it possible to use a type-safe enum as a field in an CMP bean?

    Yep... I think that's what I found. By using public methods in my enum class to map it's string member to the EJB field I was able to effectively use my enum in the EJB. The container does it work with a String but the EJB's clients only deal with a enum field. That's what I originally intended so, thanks for your response.

  • Windows 8.1 safe mode with networking issue

    Hello,
    I have a customer who generally logs into windows using a PIN. They are running windows 8.1 and their only account on the system is a microsoft account set up with a gmail address.
    I needed to reboot into safe mode with networking to perform some malware removal for them, and upon doing so I realized I wouldn't be able to log in without the password to that microsoft account, as you can't log into safe mode with the 4 digit PIN. I
    contacted them, and they were unable to provide me the microsoft account password.
    No problem, I will just reset their password at live.com and log in with the new password. We jump through all the hoops to get the password reset, and of course now all we have to do is connect the laptop to the network so it can learn that the password
    has changed and we can log in.
    First, I try plugging the integrated ethernet adapter into my network. The switch port lights up, so CSMA/CD is fine with the physical connection, and it even blinks a bit like it's doing things. Unfortunately the network icon in the lower left corner of
    the login screen stays disconnected. Okay, I'll try the wifi.
    I click the icon, the wifi is off, I turn the wifi on and my wireless network pops up. I click the wireless network and hit connect, and it "checks network requirements" for a while like normal, says it's taking longer than normal, and then says
    "We can't connect to the Internet right now. Please try again." with a close button.
    Upon hitting the close button it brings me back to the network list, but curiously it says under my network name that it's now connected, and the connect button has become a disconnect button. The network icon in the lower left of the login screen is still
    showing a red circle with a white X in it, and the password still isn't working.
    The first couple of times I did this it asked me for my WPA key, which I entered. The last time I tried it didn't ask me for my key. Thinking I should probably tell it to forget the network so I can type it again, I tried right disconnecting from the network,
    right clicking on it and going to forget this network, but right clicking does nothing in the network UI on the login screen.
    I then grabbed a USB ethernet adapter and plugged it into my switch, which lit up the same as when I used the onboard one, but the laptop is still acting as though it isn't connected. It's also worth noting that no ethernet connections appear at the top
    of the network UI on the login screen as they would if we were logged into windows.
    I don't have a password reset disk. I can't format this system. I've successfully reset the password online, but networking isn't working. What should I do?

    I solved my problems by using the sethc trick to enable the local administrator account. I then rebooted out of safe mode, logged into the administrator account, connected to the internet, and then switched users using fast user switching to the microsoft
    account, which I was then able to log in to using the updated password.

  • [svn] 1543: Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io. Externalizable as the first type tested in AMF writeObject() functions

    Revision: 1543
    Author: [email protected]
    Date: 2008-05-02 15:32:59 -0700 (Fri, 02 May 2008)
    Log Message:
    Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io.Externalizable as the first type tested in AMF writeObject() functions
    QA: Yes - please check that the fix is working with AMF3 and AMFX and you can turn on/off the fix with the config option.
    Doc: No
    Checkintests: Pass
    Details: The problem in this case was that MyDate.as was serialized to MyDate.java on the server but on the way back, MyDate.java was serialized back to Date.as. As the bug suggests, added an Externalizable check in AMF writeObject functions. However, I didn't do this for AMF0Output as AMF0 does not support Externalizable. To be on the safe side, I also added legacy-externalizable option which is false by default but when it's true, it restores the current behavior.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-152
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.ja va
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/amf/Amf3Output.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/amfx/AmfxOutput.java
    blazeds/branches/3.0.x/resources/config/services-config.xml

  • Why can't I use WebCT chat with my computer?  I get the 'spiral of death' every time I try to type in my chat.  I have a feeling it has to do with compatibility issues between Java and Tiger.

    Why can't I use WebCT chat with my computer?  I get the 'spiral of death' every time I try to type in my chat.  I have a feeling it has to do with compatibility issues between Java and Tiger.

    Hi Elizabeth,
    Do your Mac meet any of these requirements?
    http://www.wvnet.edu/services/webct/requirements.html
    From this it appears to be PC only!???
    http://sourceforge.net/projects/awebctcclient/files/Pancake%20%28it%20own%20proj ect%20now%29/Pancake%20Console%20V1.0.0/PancakeConsole-1.0.0-src.zip/download
    Can you provide any more info on which bersion or file you have?
    Can you tell us why you need this for your use?

  • Safari keeps shutting down with this issue:  Exception Type:  EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000078

    Safari keeps shutting down with this issue(it was also running slow but I seemed to have fixed that issue for now):  Exception Type:  EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000078
    Anyone have any fixes for this?

    Process:         com.apple.WebKit.WebContent [253]
    Path:            /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices /com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent
    Identifier:      com.apple.WebKit.WebContent
    Version:         9600 (9600.1.17)
    Build Info:      WebKit2-7600001017000000~8
    Code Type:       X86-64 (Native)
    Parent Process:  ??? [1]
    Responsible:     Safari [243]
    User ID:         501
    Date/Time:       2014-12-03 19:52:30.132 -0500
    OS Version:      Mac OS X 10.9.5 (13F34)
    Report Version:  11
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000078
    VM Regions Near 0x78:
    -->
        __TEXT                 000000010d123000-000000010d124000 [    4K] r-x/rwx SM=COW  /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices /com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent
    Application Specific Information:
    Bundle controller class:
    BrowserBundleController
    Process Model:
    Multiple Web Processes
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.WebCore             0x000000010ead3829 WebCore::SocketStreamHandleBase::close() + 9
    1   com.apple.WebCore             0x000000010ec266ed WebCore::WebSocketChannel::processOutgoingFrameQueue() + 701
    2   com.apple.WebCore             0x000000010ec29331 WebCore::WebSocketChannel::processFrame() + 4769
    3   com.apple.WebCore             0x000000010ec2795a WebCore::WebSocketChannel::processBuffer() + 106
    4   com.apple.WebCore             0x000000010ec278ca WebCore::WebSocketChannel::didReceiveSocketStreamData(WebCore::SocketStreamHand le*, char const*, int) + 330
    5   com.apple.WebCore             0x000000010ead56cd WebCore::SocketStreamHandle::readStreamCallback(unsigned long) + 365
    6   com.apple.CoreFoundation      0x00007fff8fb90bd1 _signalEventSync + 385
    7   com.apple.CoreFoundation      0x00007fff8fb90a18 _cfstream_solo_signalEventSync + 328
    8   com.apple.CoreFoundation      0x00007fff8fb9088f _CFStreamSignalEvent + 623
    9   com.apple.CFNetwork           0x00007fff91077f0a CoreReadStreamCFStreamSupport::coreStreamReadEvent(__CoreReadStream*, unsigned long) + 102
    10  com.apple.CFNetwork           0x00007fff91077e79 CoreReadStreamClient::coreStreamEventsAvailable(unsigned long) + 53
    11  com.apple.CFNetwork           0x00007fff91179f85 CoreStreamBase::_callClientNow(CoreStreamClient*) + 53
    12  com.apple.CFNetwork           0x00007fff91077b99 CoreStreamBase::_streamSetEventAndScheduleDelivery(unsigned long, unsigned char) + 183
    13  com.apple.CFNetwork           0x00007fff91077922 SocketStream::dispatchSignalFromSocketCallbackUnlocked(SocketStreamSignalHolder *) + 74
    14  com.apple.CFNetwork           0x00007fff91077050 SocketStream::socketCallback(__CFSocket*, unsigned long, __CFData const*, void const*) + 206
    15  com.apple.CFNetwork           0x00007fff91076f52 SocketStream::_SocketCallBack_stream(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 64
    16  com.apple.CoreFoundation      0x00007fff8fb90057 __CFSocketPerformV0 + 855
    17  com.apple.CoreFoundation      0x00007fff8fb505b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    18  com.apple.CoreFoundation      0x00007fff8fb41c62 __CFRunLoopDoSources0 + 242
    19  com.apple.CoreFoundation      0x00007fff8fb413ef __CFRunLoopRun + 831
    20  com.apple.CoreFoundation      0x00007fff8fb40e75 CFRunLoopRunSpecific + 309
    21  com.apple.HIToolbox           0x00007fff8b021a0d RunCurrentEventLoopInMode + 226
    22  com.apple.HIToolbox           0x00007fff8b0217b7 ReceiveNextEventCommon + 479
    23  com.apple.HIToolbox           0x00007fff8b0215bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    24  com.apple.AppKit              0x00007fff8c28f24e _DPSNextEvent + 1434
    25  com.apple.AppKit              0x00007fff8c28e89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    26  com.apple.AppKit              0x00007fff8c28299c -[NSApplication run] + 553
    27  com.apple.AppKit              0x00007fff8c26d783 NSApplicationMain + 940
    28  com.apple.XPCService          0x00007fff91d75c0f _xpc_main + 385
    29  libxpc.dylib                  0x00007fff95bb2bde xpc_main + 399
    30  com.apple.WebKit.WebContent   0x000000010d123b40 0x10d123000 + 2880
    31  libdyld.dylib                 0x00007fff8a5825fd start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib        0x00007fff95bdb662 kevent64 + 10
    1   libdispatch.dylib             0x00007fff8d925421 _dispatch_mgr_invoke + 239
    2   libdispatch.dylib             0x00007fff8d925136 _dispatch_mgr_thread + 52
    Thread 2:
    0   libsystem_kernel.dylib        0x00007fff95bd6a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib        0x00007fff95bd5d18 mach_msg + 64
    2   com.apple.CoreFoundation      0x00007fff8fb41f15 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation      0x00007fff8fb41539 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation      0x00007fff8fb40e75 CFRunLoopRunSpecific + 309
    5   com.apple.AppKit              0x00007fff8c42f05e _NSEventThread + 144
    6   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 3:: WebCore: Scrolling
    0   libsystem_kernel.dylib        0x00007fff95bd6a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib        0x00007fff95bd5d18 mach_msg + 64
    2   com.apple.CoreFoundation      0x00007fff8fb41f15 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation      0x00007fff8fb41539 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation      0x00007fff8fb40e75 CFRunLoopRunSpecific + 309
    5   com.apple.CoreFoundation      0x00007fff8fbf6811 CFRunLoopRun + 97
    6   com.apple.WebCore             0x000000010df8cff4 WebCore::ScrollingThread::initializeRunLoop() + 244
    7   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    8   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    9   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    10  libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 4:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib        0x00007fff95bd6a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib        0x00007fff95bd5d18 mach_msg + 64
    2   com.apple.CoreFoundation      0x00007fff8fb41f15 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation      0x00007fff8fb41539 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation      0x00007fff8fb40e75 CFRunLoopRunSpecific + 309
    5   com.apple.Foundation          0x00007fff8f3e8ff7 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
    6   com.apple.Foundation          0x00007fff8f3e8dfb __NSThread__main__ + 1318
    7   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 5:: JavaScriptCore::BlockFree
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   libc++.1.dylib                0x00007fff894dcd43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    3   com.apple.JavaScriptCore      0x000000010d8e7e83 JSC::BlockAllocator::blockFreeingThreadMain() + 227
    4   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    5   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    6   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    7   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 6:: JavaScriptCore::Marking
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   libc++.1.dylib                0x00007fff894dcd43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    3   com.apple.JavaScriptCore      0x000000010d8e86cb JSC::GCThread::waitForNextPhase() + 171
    4   com.apple.JavaScriptCore      0x000000010d8e8528 JSC::GCThread::gcThreadMain() + 88
    5   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    6   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 7:: JavaScriptCore::Marking
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   libc++.1.dylib                0x00007fff894dcd43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    3   com.apple.JavaScriptCore      0x000000010d8e86cb JSC::GCThread::waitForNextPhase() + 171
    4   com.apple.JavaScriptCore      0x000000010d8e8528 JSC::GCThread::gcThreadMain() + 88
    5   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    6   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 8:: JavaScriptCore::Marking
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   libc++.1.dylib                0x00007fff894dcd43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    3   com.apple.JavaScriptCore      0x000000010d8e86cb JSC::GCThread::waitForNextPhase() + 171
    4   com.apple.JavaScriptCore      0x000000010d8e8528 JSC::GCThread::gcThreadMain() + 88
    5   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    6   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    7   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    8   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 9:: DFG Worklist Worker Thread
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   com.apple.JavaScriptCore      0x000000010dba724b JSC::DFG::Worklist::runThread(JSC::DFG::ThreadData*) + 235
    3   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    4   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    5   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    6   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 10:: FTL Worklist Worker Thread
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   com.apple.JavaScriptCore      0x000000010dba724b JSC::DFG::Worklist::runThread(JSC::DFG::ThreadData*) + 235
    3   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    4   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    5   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    6   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 11:: FTL Worklist Worker Thread
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   com.apple.JavaScriptCore      0x000000010dba724b JSC::DFG::Worklist::runThread(JSC::DFG::ThreadData*) + 235
    3   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    4   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    5   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    6   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 12:: FTL Worklist Worker Thread
    0   libsystem_kernel.dylib        0x00007fff95bda716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x00007fff8ba27c3b _pthread_cond_wait + 727
    2   com.apple.JavaScriptCore      0x000000010dba724b JSC::DFG::Worklist::runThread(JSC::DFG::ThreadData*) + 235
    3   com.apple.JavaScriptCore      0x000000010d8ddfbf ***::wtfThreadEntryPoint(void*) + 15
    4   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    5   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    6   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 13:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib        0x00007fff95bda9aa __select + 10
    1   com.apple.CoreFoundation      0x00007fff8fb8da03 __CFSocketManager + 867
    2   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    3   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    4   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 14:: QTKit: listenOnDelegatePort
    0   libsystem_kernel.dylib        0x00007fff95bd6a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib        0x00007fff95bd5d18 mach_msg + 64
    2   com.apple.CoreFoundation      0x00007fff8fb41f15 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation      0x00007fff8fb41539 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation      0x00007fff8fb40e75 CFRunLoopRunSpecific + 309
    5   com.apple.CoreFoundation      0x00007fff8fbf6811 CFRunLoopRun + 97
    6   com.apple.QTKit               0x00007fff8bef0e6c listenOnDelegatePort + 385
    7   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 15:: QTKit: listenOnNotificationPort
    0   libsystem_kernel.dylib        0x00007fff95bd6a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib        0x00007fff95bd5d18 mach_msg + 64
    2   com.apple.CoreFoundation      0x00007fff8fb41f15 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation      0x00007fff8fb41539 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation      0x00007fff8fb40e75 CFRunLoopRunSpecific + 309
    5   com.apple.CoreFoundation      0x00007fff8fbf6811 CFRunLoopRun + 97
    6   com.apple.QTKit               0x00007fff8bef1334 listenOnNotificationPort + 353
    7   libsystem_pthread.dylib       0x00007fff8ba25899 _pthread_body + 138
    8   libsystem_pthread.dylib       0x00007fff8ba2572a _pthread_start + 137
    9   libsystem_pthread.dylib       0x00007fff8ba29fc9 thread_start + 13
    Thread 16:
    0   libsystem_kernel.dylib        0x00007fff95bdae6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8ba26f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8ba29fb9 start_wqthread + 13
    Thread 17:
    0   libsystem_kernel.dylib        0x00007fff95bdae6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8ba26f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8ba29fb9 start_wqthread + 13
    Thread 18:
    0   libsystem_kernel.dylib        0x00007fff95bdae6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff8ba26f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff8ba29fb9 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000001  rdx: 0x000000000009c580
      rdi: 0x0000000000000000  rsi: 0x0000000000000002  rbp: 0x00007fff52ada830  rsp: 0x00007fff52ada820
       r8: 0x00007ffd758510c0   r9: 0x00007ffd70f49b70  r10: 0x00000000da9b03bd  r11: 0x00000000fb952d8c
      r12: 0x000000011c198a18  r13: 0x000000011c1988c0  r14: 0x0000000000000004  r15: 0x000000011c198900
      rip: 0x000000010ead3829  rfl: 0x0000000000010246  cr2: 0x0000000000000078
    Logical CPU:     0
    Error Code:      0x00000004
    Trap Number:     14
    Binary Images:
           0x10d123000 -        0x10d123ff8  com.apple.WebKit.WebContent (9600 - 9600.1.17) <01AE09F5-BF23-30B6-B5D5-D5A624CFFF6F> /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices /com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent
           0x10d12a000 -        0x10d12afff  WebProcessShim.dylib (7600.1.17) <868C1950-0B6A-3734-9FA0-3DA6D75A6CDD> /System/Library/StagedFrameworks/Safari/WebKit.framework/WebProcess.app/Content s/MacOS/WebProcessShim.dylib
           0x10d135000 -        0x10d3cffff  com.apple.WebKit (9600 - 9600.1.17) <8C2C77EF-14DD-3F9E-9EF1-95B2A9B4FFF8> /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/WebKit
           0x10d6ad000 -        0x10d7e0fff  com.apple.WebKitLegacy (9600 - 9600.1.17) <3B62C7FA-2646-3A09-BB76-79224FA2E723> /System/Library/StagedFrameworks/Safari/WebKitLegacy.framework/Versions/A/WebKi tLegacy
           0x10d8d4000 -        0x10dd8bff5  com.apple.JavaScriptCore (9600 - 9600.1.17) <ADC5427B-649F-3C9F-A88A-D5EA81093BC1> /System/Library/StagedFrameworks/Safari/JavaScriptCore.framework/Versions/A/Jav aScriptCore
           0x10defe000 -        0x10edb2ffd  com.apple.WebCore (9600 - 9600.1.17) <854B5ADC-58CA-34F4-B3CA-90D79F6534FB> /System/Library/StagedFrameworks/Safari/WebCore.framework/Versions/A/WebCore
           0x10f7fa000 -        0x10f7fafff  com.apple.WebKit2 (9600 - 9600.1.17) <E9BF6393-4D1C-3DD6-8E4F-644C4DBD08A1> /System/Library/StagedFrameworks/Safari/WebKit2.framework/Versions/A/WebKit2
           0x11000e000 -        0x110020ff7  com.apple.webcontentfilter.framework (5.1 - 5.1) <61A84F10-0B23-31E7-8E14-A689ED4DE80F> /System/Library/PrivateFrameworks/WebContentAnalysis.framework/WebContentAnalys is
           0x112b75000 -        0x113080ffb  com.apple.Safari.framework (9537 - 9537.85.10.17.1) <79BAD61D-4970-3FF8-9F40-6ABAFFAC4CE1> /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
           0x113c04000 -        0x113c05ff0  ATSHI.dylib (363.3) <236B636F-A8E9-37A9-BEF0-7FE68BC58436> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/ATSHI.dylib
           0x119da2000 -        0x119da6ffd  com.apple.audio.AppleHDAHALPlugIn (2.6.3 - 2.6.3f4) <2EB88B27-FA19-3C0C-AA06-7FB8BC56694E> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
           0x11a820000 -        0x11b191f6b  libllvmForJSC.dylib (7600.1.17) <61C69E61-B56E-378C-A557-17F25F786320> /System/Library/StagedFrameworks/Safari/JavaScriptCore.framework/Libraries/libl lvmForJSC.dylib
        0x123400000000 -     0x12340047bff7  com.apple.driver.AppleIntelHD4000GraphicsGLDriver (8.28.32 - 8.2.8) <0B941CC0-E86A-3410-B64B-0BCDAD0922B0> /System/Library/Extensions/AppleIntelHD4000GraphicsGLDriver.bundle/Contents/Mac OS/AppleIntelHD4000GraphicsGLDriver
        0x7fff6e130000 -     0x7fff6e163817  dyld (239.4) <7AD43B9B-5CEA-3C7E-9836-A06909F9CA56> /usr/lib/dyld
        0x7fff880b2000 -     0x7fff881d4fff  com.apple.avfoundation (2.0 - 651.12.1) <FF001F98-E198-3B1D-A7EB-A8C48E6E34A3> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
        0x7fff881d5000 -     0x7fff88393fff  com.apple.GeoServices (1.0 - 702.15.12) <5A4D463F-689F-3822-BF26-A19D51503019> /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/GeoServices
        0x7fff88394000 -     0x7fff8839dff7  libcldcpuengine.dylib (2.3.58) <E3A84FEC-4060-39C2-A469-159A443D2B6D> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengin e.dylib
        0x7fff8839e000 -     0x7fff88cbd797  com.apple.CoreGraphics (1.600.0 - 599.35.4) <C8CBC664-0CD2-3C7D-A301-9B3BA731250C> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
        0x7fff88cbe000 -     0x7fff88cc9ff7  com.apple.NetAuth (5.0 - 5.0) <C811E662-9EC3-3B74-808A-A75D624F326B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff88cf1000 -     0x7fff88d57fff  com.apple.framework.CoreWiFi (2.0 - 200.21.1) <5491896D-78C5-30B6-96E9-D8DDECF3BE73> /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi
        0x7fff88d58000 -     0x7fff88e10ff7  com.apple.DiscRecording (8.0 - 8000.4.6) <CDAAAD04-A1D0-3C67-ABCC-EFC9E8D44E7E> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
        0x7fff88eb7000 -     0x7fff88ebbfff  com.apple.CommonPanels (1.2.6 - 96) <6B434AFD-50F8-37C7-9A56-162C17E375B3> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
        0x7fff88ebc000 -     0x7fff88ebffff  com.apple.help (1.3.3 - 46) <AE763646-D07A-3F9A-ACD4-F5CBD734EE36> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
        0x7fff88ec0000 -     0x7fff88ec2fff  com.apple.OAuth (25 - 25) <22D42C60-CA67-31D7-A4A4-AFD8F35408D7> /System/Library/PrivateFrameworks/OAuth.framework/Versions/A/OAuth
        0x7fff88fc4000 -     0x7fff89028fff  com.apple.datadetectorscore (5.0 - 354.5) <0AE9749A-6BFC-3032-B802-210DF59AEDB0> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff89029000 -     0x7fff8902afff  libquit.dylib (161.2) <7B9C07B6-8993-32C8-89C2-23D2E7FA85BA> /usr/lib/libquit.dylib
        0x7fff8902b000 -     0x7fff89361fff  com.apple.MediaToolbox (1.0 - 1273.54) <CB6F6690-D44C-30B5-93AB-CAB198D51884> /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox
        0x7fff89362000 -     0x7fff89366ff7  libsystem_stats.dylib (93.90.3) <4E51D5B0-92A0-3D0D-B90E-495A1ED3E391> /usr/lib/system/libsystem_stats.dylib
        0x7fff89367000 -     0x7fff894d5ff7  libBLAS.dylib (1094.5) <DE93A590-5FA5-32A2-A16C-5D7D7361769F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff894d6000 -     0x7fff89528fff  libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
        0x7fff89529000 -     0x7fff8995cffb  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <F42BFC9C-0B16-35EF-9A07-91B7FDAB7FC5> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
        0x7fff8a46b000 -     0x7fff8a46dfff  com.apple.Mangrove (1.0 - 1) <72F5CBC7-4E78-374E-98EA-C3700136904E> /System/Library/PrivateFrameworks/Mangrove.framework/Versions/A/Mangrove
        0x7fff8a46e000 -     0x7fff8a4bbfff  com.apple.AppleVAFramework (5.0.27 - 5.0.27) <608D91BD-9D88-3FAB-9A06-24C1DAEA092D> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
        0x7fff8a4c7000 -     0x7fff8a533fff  com.apple.framework.IOKit (2.0.1 - 907.100.13) <057FDBA3-56D6-3903-8C0B-849214BF1985> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff8a534000 -     0x7fff8a53dffb  libsystem_notify.dylib (121.20.1) <9B34B4FE-F5AD-3F09-A5F0-46AFF3571323> /usr/lib/system/libsystem_notify.dylib
        0x7fff8a53e000 -     0x7fff8a55afff  libresolv.9.dylib (54) <11C2C826-F1C6-39C6-B4E8-6E0C41D4FA95> /usr/lib/libresolv.9.dylib
        0x7fff8a55b000 -     0x7fff8a571fff  com.apple.CoreMediaAuthoring (2.2 - 947) <F1886A05-1C29-3F88-88C0-4A1013530AD1> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
        0x7fff8a57f000 -     0x7fff8a582ff7  libdyld.dylib (239.4) <7C9EC3B7-DDE3-33FF-953F-4067C743951D> /usr/lib/system/libdyld.dylib
        0x7fff8a5cd000 -     0x7fff8a9aeffe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff8aa07000 -     0x7fff8aa0efff  com.apple.NetFS (6.0 - 4.0) <8E26C099-CE9D-3819-91A2-64EA929C6137> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff8aa3d000 -     0x7fff8aa56ff7  com.apple.Kerberos (3.0 - 1) <F108AFEB-198A-3BAF-BCA5-9DFCE55EFF92> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
        0x7fff8af27000 -     0x7fff8af4effb  libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
        0x7fff8af4f000 -     0x7fff8af73ff7  libJPEG.dylib (1044) <BE0ED4E1-F7FC-3038-86D3-0456DD173FCB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
        0x7fff8afc6000 -     0x7fff8afc8fff  libRadiance.dylib (1044) <461482C9-CADB-3B36-B023-597C64AD4B00> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.d ylib
        0x7fff8afc9000 -     0x7fff8aff2fff  com.apple.DictionaryServices (1.2 - 208) <A539A058-BA57-35EE-AA08-D0B0E835127D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff8aff3000 -     0x7fff8b29dff5  com.apple.HIToolbox (2.1.1 - 698) <A388E773-AE7B-3FD1-8662-A98E6E24EA16> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
        0x7fff8b2a0000 -     0x7fff8b2abfff  libGL.dylib (9.6.1) <4B65BF9F-F34A-3CD1-94E8-DB26DAA0A59D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
        0x7fff8b30d000 -     0x7fff8b31aff4  com.apple.Librarian (1.2 - 1) <F1A2744D-8536-32C7-8218-9972C6300DAE> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
        0x7fff8b31b000 -     0x7fff8b325ff7  com.apple.AppSandbox (3.0 - 1) <9F27DC25-C566-3AEF-92D3-DCFE7836916D> /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox
        0x7fff8b326000 -     0x7fff8b329ffc  com.apple.IOSurface (91.1 - 91.1) <D00EEB0C-8AA8-3986-90C1-C97B2486E8FA> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
        0x7fff8b32a000 -     0x7fff8b32bfff  libsystem_sandbox.dylib (278.11.1) <0D0B13EA-6B7A-3AC8-BE60-B548543BEB77> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff8b32c000 -     0x7fff8b356ff7  libpcap.A.dylib (42) <91D3FF51-D6FE-3C05-98C9-1182E0EC3D58> /usr/lib/libpcap.A.dylib
        0x7fff8b357000 -     0x7fff8b3b0fff  libTIFF.dylib (1044) <FBC5800B-7F34-3755-A44E-7B37B3E0B32E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
        0x7fff8b3b1000 -     0x7fff8b418ff7  com.apple.CoreUtils (2.0 - 200.34.4) <E53B97FE-E067-33F6-A9C1-D4EC2A20FB9F> /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
        0x7fff8b419000 -     0x7fff8b424fff  libGPUSupportMercury.dylib (9.6.1) <A34D5C51-28E0-398A-881D-552B47D2DD3C> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/lib GPUSupportMercury.dylib
        0x7fff8b425000 -     0x7fff8b454ff9  com.apple.GSS (4.0 - 2.0) <44E914BE-B0D0-3E05-9451-CA9E539AFA52> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
        0x7fff8b462000 -     0x7fff8b496fff  libssl.0.9.8.dylib (52) <51C844FF-D7CD-3525-9ABB-84B8DD11D5E4> /usr/lib/libssl.0.9.8.dylib
        0x7fff8b497000 -     0x7fff8b4f5ff7  com.apple.corelocation (1486.17 - 1486.24) <9FBB29F0-E000-3190-A96C-9EAA5CCCA2A0> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
        0x7fff8b85a000 -     0x7fff8b9aeff3  com.apple.audio.toolbox.AudioToolbox (1.10 - 1.10) <69B273E8-5A8E-3FC7-B807-C16B657662FE> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
        0x7fff8ba24000 -     0x7fff8ba2bff7  libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
        0x7fff8ba2c000 -     0x7fff8bbc8ff3  com.apple.QuartzCore (1.8 - 332.3) <72003E51-1287-395B-BCBC-331597D45C5E> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7fff8bbc9000 -     0x7fff8be9aff4  com.apple.CoreImage (9.4.0) <2C636ECD-0F1A-357C-9EFF-0452476FDDF5> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
        0x7fff8be9b000 -     0x7fff8bec9ff7  com.apple.securityinterface (9.0 - 55047) <0346D8A9-2CAA-38F3-A741-5FBA5E9F1E7C> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
        0x7fff8bedd000 -     0x7fff8c01efff  com.apple.QTKit (7.7.3 - 2826.24) <08E58C71-D16C-3357-989C-780A08994B27> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
        0x7fff8c01f000 -     0x7fff8c020fff  liblangid.dylib (117) <9546E641-F730-3AB0-B3CD-E0E2FDD173D9> /usr/lib/liblangid.dylib
        0x7fff8c021000 -     0x7fff8c029fff  libsystem_dnssd.dylib (522.92.1) <17B03FFD-92C5-3282-9981-EBB28B456207> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff8c02a000 -     0x7fff8c030ff7  libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
        0x7fff8c031000 -     0x7fff8c11bfff  libsqlite3.dylib (158) <00269BF9-43BE-39E0-9C85-24585B9923C8> /usr/lib/libsqlite3.dylib
        0x7fff8c11e000 -     0x7fff8c121ffa  libCGXType.A.dylib (599.35.4) <A2B493FD-2EDE-3BC2-A281-2381E0156411> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXTy pe.A.dylib
        0x7fff8c122000 -     0x7fff8c127ff7  libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
        0x7fff8c167000 -     0x7fff8c16fff7  com.apple.speech.recognition.framework (4.2.4 - 4.2.4) <98BBB3E4-6239-3EF1-90B2-84EA0D3B8D61> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
        0x7fff8c170000 -     0x7fff8c1a9ff7  com.apple.QD (3.50 - 298) <C1F20764-DEF0-34CF-B3AB-AB5480D64E66> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
        0x7fff8c1ad000 -     0x7fff8c1b0fff  libCoreVMClient.dylib (58.1) <EBC36C69-C896-3C3D-8589-3E9023E7E56F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
        0x7fff8c1b1000 -     0x7fff8c1b1fff  com.apple.ApplicationServices (48 - 48) <3E3F01A8-314D-378F-835E-9CC4F8820031> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
        0x7fff8c1c5000 -     0x7fff8c20aff6  com.apple.HIServices (1.23 - 468) <5970AF5C-F5BD-3B6A-97C9-95B2CA98D71D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
        0x7fff8c20b000 -     0x7fff8c20cff7  libodfde.dylib (20) <C00A4EBA-44BC-3C53-BFD0-819B03FFD462> /usr/lib/libodfde.dylib
        0x7fff8c20d000 -     0x7fff8c21fff7  com.apple.MultitouchSupport.framework (245.13.1 - 245.13.1) <38262B92-C63F-35A0-997D-AD2EBF2F8338> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
        0x7fff8c26b000 -     0x7fff8cde1ff7  com.apple.AppKit (6.9 - 1265.21) <9DC13B27-841D-3839-93B2-3EDE66157BDE> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff8cde2000 -     0x7fff8cde4ff7  libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
        0x7fff8cde5000 -     0x7fff8cdf4ff8  com.apple.LangAnalysis (1.7.0 - 1.7.0) <8FE131B6-1180-3892-98F5-C9C9B79072D4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
        0x7fff8ce1f000 -     0x7fff8cefbfff  libcrypto.0.9.8.dylib (52) <ED7F3865-10D4-346B-8C9C-D968EB3B5D35> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff8d405000 -     0x7fff8d423ff7  com.apple.Accounts (113 - 113) <FEB37642-C973-3CD2-B279-142492266A16> /System/Library/Frameworks/Accounts.framework/Versions/A/Accounts
        0x7fff8d424000 -     0x7fff8d450fff  com.apple.CoreServicesInternal (184.9 - 184.9) <4DEA54F9-81D6-3EDB-AA3C-1F9C497B3379> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
        0x7fff8d533000 -     0x7fff8d54eff7  libPng.dylib (1044) <151BA92C-6E7C-3B69-8024-FDD1E2C89DD3> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
        0x7fff8d54f000 -     0x7fff8d636ff7  libxml2.2.dylib (26) <A1DADD11-89E5-3DE4-8802-07186225967F> /usr/lib/libxml2.2.dylib
        0x7fff8d637000 -     0x7fff8d65fffb  libRIP.A.dylib (599.35.4) <F3C60582-1F27-335D-9C97-8CF307670F7B> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A .dylib
        0x7fff8d660000 -     0x7fff8d678ff7  com.apple.GenerationalStorage (2.0 - 160.3) <64749B08-0212-3AC8-9B49-73D662B09304> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
        0x7fff8d679000 -     0x7fff8d683ff7  com.apple.ProtocolBuffer (1 - 182.1.3) <82E68598-A8AA-3AF1-843E-2A64F19472D4> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolB uffer
        0x7fff8d68d000 -     0x7fff8d921ff7  com.apple.RawCamera.bundle (5.07 - 760) <EA94F148-975D-32D7-8A20-B06017E5793B> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
        0x7fff8d922000 -     0x7fff8d93cfff  libdispatch.dylib (339.92.1) <C4E4A18D-3C3B-3C9C-8709-A4270D998DE7> /usr/lib/system/libdispatch.dylib
        0x7fff8d93d000 -     0x7fff8d984ff7  libcups.2.dylib (372.4) <36EA4350-43B4-3A5C-9904-10685BFDA7D4> /usr/lib/libcups.2.dylib
        0x7fff8d985000 -     0x7fff8d9d2ff2  com.apple.print.framework.PrintCore (9.0 - 428) <8D8253E3-302F-3DB2-9C5C-572CB974E8B3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
        0x7fff8d9d3000 -     0x7fff8d9ddfff  libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
        0x7fff8d9de000 -     0x7fff8dacfff9  libiconv.2.dylib (41) <BB44B115-AC32-3877-A0ED-AEC6232A4563> /usr/lib/libiconv.2.dylib
        0x7fff8dad0000 -     0x7fff8daddff7  libxar.1.dylib (202) <5572AA71-E98D-3FE1-9402-BB4A84E0E71E> /usr/lib/libxar.1.dylib
        0x7fff8dade000 -     0x7fff8daf9ff7  libsystem_malloc.dylib (23.10.1) <A695B4E4-38E9-332E-A772-29D31E3F1385> /usr/lib/system/libsystem_malloc.dylib
        0x7fff8ddc0000 -     0x7fff8ddc8ffc  libGFXShared.dylib (9.6.1) <25BBF325-AC57-3BAA-9427-2D14CC243AE6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
        0x7fff8ddc9000 -     0x7fff8de1aff7  com.apple.audio.CoreAudio (4.2.1 - 4.2.1) <BE13E840-FB45-3BC2-BCF5-031629754FD5> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff8de44000 -     0x7fff8de4cff7  com.apple.AppleSRP (5.0 - 1) <ABC7F088-1FD5-3768-B9F3-847F355E90B3> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
        0x7fff8de61000 -     0x7fff8de83fff  com.apple.speech.LatentSemanticMappingFramework (2.11.6 - 2.11.6) <C2687C2C-239A-3EB4-857C-BA107F34A5E8> /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
        0x7fff8de84000 -     0x7fff8dea9ff7  com.apple.CoreVideo (1.8 - 117.2) <4674339E-26D0-35FA-9958-422832B39B12> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
        0x7fff8deaa000 -     0x7fff8e010fff  libGLProgrammability.dylib (9.6.1) <07700B99-8542-32D7-BB96-29472EFE75EF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
        0x7fff8e01e000 -     0x7fff8e1beff7  GLEngine (9.6.1) <28300FBD-E3B2-35D2-BB54-77DCE62FC371> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundl e/GLEngine
        0x7fff8e2b1000 -     0x7fff8e6fffef  com.apple.VideoToolbox (1.0 - 1273.54) <4699BB55-7387-3981-9217-869215F00CA9> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
        0x7fff8e770000 -     0x7fff8e774ff7  libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
        0x7fff8e775000 -     0x7fff8e7a6ff7  libtidy.A.dylib (15.12) <BF757E3C-733A-3B6B-809A-A3949D46466E> /usr/lib/libtidy.A.dylib
        0x7fff8e7a7000 -     0x7fff8e7a8ff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
        0x7fff8e7c6000 -     0x7fff8e7cbfff  com.apple.DiskArbitration (2.6 - 2.6) <A4165553-770E-3D27-B217-01FC1F852B87> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff8e7cc000 -     0x7fff8eab6fff  com.apple.CoreServices.CarbonCore (1077.17 - 1077.17) <3A2E92FD-DEE2-3D45-9619-11500801A61C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff8eab7000 -     0x7fff8eabdfff  com.apple.AOSNotification (1.7.0 - 760.3) <7901B867-60F7-3645-BB3E-18C51A6FBCC6> /System/Library/PrivateFrameworks/AOSNotification.framework/Versions/A/AOSNotif ication
        0x7fff8eb47000 -     0x7fff8eb55fff  com.apple.opengl (9.6.1 - 9.6.1) <B22FA400-5824-36AF-9945-5FEC31995A0E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
        0x7fff8eb56000 -     0x7fff8eb63ff0  libbz2.1.0.dylib (29) <0B98AC35-B138-349C-8063-2B987A75D24C> /usr/lib/libbz2.1.0.dylib
        0x7fff8eb64000 -     0x7fff8ec93fef  com.apple.MediaControlSender (2.0 - 200.34.4) <FC24EC8D-2E46-3F76-AF63-749F30857B96> /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/Media ControlSender
        0x7fff8ec94000 -     0x7fff8ec97ff7  com.apple.LoginUICore (3.0 - 3.0) <1ECBDA90-D6ED-3333-83EB-9C8232DFAD7C> /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/Lo ginUICore.framework/Versions/A/LoginUICore
        0x7fff8ec98000 -     0x7fff8ecc7fd2  libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
        0x7fff8ecc8000 -     0x7fff8ee80ffb  libicucore.A.dylib (511.35) <6F097DA7-147C-32A1-93D2-728A64CF0DC2> /usr/lib/libicucore.A.dylib
        0x7fff8ef34000 -     0x7fff8f17cff7  com.apple.CoreData (107 - 481.3) <E78734AA-E3D0-33CB-A014-620BBCAB2E96> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
        0x7fff8f1f2000 -     0x7fff8f20dff7  libCRFSuite.dylib (34) <FFAE75FA-C54E-398B-AA97-18164CD9789D> /usr/lib/libCRFSuite.dylib
        0x7fff8f20e000 -     0x7fff8f285fff  com.apple.CoreServices.OSServices (600.4 - 600.4) <C63562F5-6DF5-3EE9-8897-FF61A44C8251> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff8f286000 -     0x7fff8f286ffd  com.apple.audio.units.AudioUnit (1.10 - 1.10) <68B21135-55A6-3563-A3D6-3E692A7DEB7F> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
        0x7fff8f287000 -     0x7fff8f337ff7  libvMisc.dylib (423.32) <049C0735-1808-39B9-943F-76CB8021744F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
        0x7fff8f338000 -     0x7fff8f33ffff  libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
        0x7fff8f382000 -     0x7fff8f682ff7  com.apple.Foundation (6.9 - 1056.16) <24349208-3603-3F5D-95CC-B379616FBEF8> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff8f684000 -     0x7fff8f6acffb  libxslt.1.dylib (13) <C9794936-633C-3F0C-9E71-30190B9B41C1> /usr/lib/libxslt.1.dylib
        0x7fff8f7b0000 -     0x7fff8f7d9ff7  libc++abi.dylib (49.1) <21A807D3-6732-3455-B77F-743E9F916DF0> /usr/lib/libc++abi.dylib
        0x7fff8f7da000 -     0x7fff8f7dafff  com.apple.Carbon (154 - 157) <45A9A40A-78FF-3EA0-8FAB-A4F81052FA55> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
        0x7fff8f8ca000 -     0x7fff8f92fffb  com.apple.Heimdal (4.0 - 2.0) <F34D6627-9F80-3823-8B57-DB629307DF87> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
        0x7fff8f930000 -     0x7fff8f932fff  libCVMSPluginSupport.dylib (9.6.1) <FB37F4C4-1E84-3349-BB03-92CA0A5F6837> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
        0x7fff8f933000 -     0x7fff8f981fff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
        0x7f

  • Hi Since upgrading to Firefox 4.0 I am unable to clear history and get the message "quick time failed to initialize". I can delete history when in safe mode with plug-ins disabled. Re-installing quick time fails to resolve the issue. Any ideas?

    Hi I Run Windows 7. Since upgrading to Firefox 4.0 I am unable to "clear history" and get the message "QuickTime failed to initialize". I can delete history when in safe mode with plug-ins disabled. Re-installing quick time fails to resolve the issue. Any ideas or suggestions?

    i have that quicktime problem too

  • Type cast to an enum with U8 representation fails

    When casting an U32 integer to an enumeration type with an internal U8 representation nothing happens (the output enum will not change its value!) if the U32 is not explicitely mapped to an U8 before type casting! See attached example. Bug or feature?
    Attachments:
    TypeCastDesaster.vi ‏13 KB
    MyEnum.ctl ‏5 KB

    Since the typecast function is polymorphic, there is no way for it to determine if the programmer has done something which will yield undesirable results.  Typecast takes the raw binary representation of the data and applies it as a new data type.  So, with a U32, you get 4 bytes, and only one of them is needed for the U8, and I believe it takes the first byte, in the case the highest order byte (bits 24-31).
    The VI would have to look at two inputs and determine that the byte sizes are different at compile time and generate the broken wires.
    As far as to why the upper bytes, it probably has to do with the fact that LabVIEW uses big endian format for its binary
    numbers, while most Windows programs use little endian format. LabVIEW
    uses big endian, because that is what the MacOS uses, and LabVIEW was
    created first for the Macintosh. (from here).
    It could also be a decision made at some point in time.  NI has shown in the past that they don't necessarily conform to ANSI.  The typecast just takes the raw data and from the beginning and processes until it's used the bytes it needs.  The numeric casting functions know exactly what you are trying to do and can therefore handle the byte dropping properly.
    If you're trying to get your enum to a U32, then you just need the to
    U32 conversion.  If your going from U32 to enum, you need the to U8 and
    then the typecast to avoid coercion dots.

  • Type safe bean interfaces (Java 5) and JBoss IDE

    I've posted this help request already in the appropriate JBoss forum.
    But unfortunately still without any response.
    Latest JBoss IDE versions support type safe business methods e.g. like
         * only for testing
         * @ejb.interface-method view-type = "both"
         * @ejb.permission role-name = "Default"
        public ArrayList<String> getSomeStrings()
        }But the interface methods will be always generated unsafe like
        * only for testing
       public java.util.ArrayList getSomeStrings(  )
          throws java.rmi.RemoteException;Is this a known problem or is something wrong with my xdoclet configuration?
    Thanks in advance
    Torsten

    Yep... I think that's what I found. By using public methods in my enum class to map it's string member to the EJB field I was able to effectively use my enum in the EJB. The container does it work with a String but the EJB's clients only deal with a enum field. That's what I originally intended so, thanks for your response.

  • Why are enums with constant-specifics  methods no enums?

    I'm working on an application which uses reflection to determine how a certain object should be represented in the GUI.
    If an object is an enum it will be represented as a drop-down box.
    Yesterday however our code broke on a newly added enum which uses constant-specifics methods.
    To illustrate it I'm taking a code example from :
    http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html
    public enum Operation {
    PLUS { double eval(double x, double y) { return x + y; } },
    MINUS { double eval(double x, double y) { return x - y; } },
    TIMES { double eval(double x, double y) { return x * y; } },
    DIVIDE { double eval(double x, double y) { return x / y; } };
    // Do arithmetic op represented by this constant
    abstract double eval(double x, double y);
    Now if you do Operation.PLUS.getClass().isEnum() to my surprise it returns false using 1.5.0_06.
    Is this a bug?

    Oh, looking at the source code would have been an option, yes ... sigh
    I see that there's a lot to learn when it comes to enums (at least for me). So based on what I believe to know about the matter, I'd say the issue was not overlooked. From a quick experiment, I saw that enum constants without constant-specific methods use an instance of their respective enum subclass as "representation", which in this case is not abstract (contrary to Operation, which is).
    So while from a logical point of view, enum constants with and without constant-specific methods should be considered equal(?), implementation-wise, they are not. I think the distinction between enums and enum constants is more of a Java language thing -- the JVM/bytecode is not really aware of it (much like inner classes) -- and is introduced by javac, using little "hacks" to implement the special abilities (which I'll definitely have to investigate when time permits).
    After all, isEnum() is invoked on the actual Class object representing the type of an instance. With reflection, you deal with the raw type, no support by javac magic. And indeed, Operation and Operation.PLUS are different types. Operation.PLUS exhibits different behaviour than Operation, and is missing some fields and methods (which could cause certain implications, I guess). Maybe one has to look at isEnum() more from an implementation perspective: isEnum() indicates that the respective class directly supports certain operations (i.e., is declared enum type in the Java source code), while Classes where isEnum() returns false do not. Yeah, the method name is a bit ambiguous, and intuition fools you here, as all the Classes, enums as well as enum constants, are subclasses of java.lang.Enum.
    PS: Enum.getDeclaringClass() deals with this issue, too.
    EDIT:
    Code wise it is not an elegant solution:
    - change my framework to check the modifiers iso.
    using isEnum
    or
    - implement the method using a switch statementClass theClass = anObject.getClass();
    if (anObject instanceof Enum) {
    if ( !theClass().isEnum())
    theClass = ((Enum) anObject).getDeclaringClass();
    (just a suggestion...)
    Message was edited by:
    oebert

  • Does FrameMaker 12 have an LEID value for use with serialization via AAMEE?

    Does FrameMaker 12 have an LEID value for use with serialization via AAMEE?

    I wish life was that easy :-).
    You have a valid argument; So I had this kind of test going. I had 50,000 messages of
    type-1 first loaded into the queue. Then I had 100 messages of type-2 loaded on to the
    queue.
    At this point, I issued a conditional dequeue that skipped type-1 messages and only
    asked for type-2 messages. I saw the full table scan.
    Then I created another test case 1 million type-1 messages had to be skipped.
    Still full table scans. I am not convinced that the doing full table scans is the best query
    plan out there. Cost Based Optimizer tends to disagree for some reason. May be
    it is right; But I have to avoid FTS when possible. As you know, not only blocks
    used by the existing rows in the table get scanned, but also every block until the
    high water mark level.
    One might say for a table with volatile data that comes and goes on a daily basis, million is an extreme case. Howvere, I am building a general purpose infrastructure based
    on AQ and cannot rule out consumers who misbehave.
    Are there better ways to handle multiple types of consumers on a single physical queue ? I need to be able dequeue specific consumer types if necessary, and this has to be
    done in a performant manner.
    Other alternatives I can think are
    1. Using a multi consumer queue such that there is one subscriber for each message
    type. Use multiple agent sets in a listen method to listen to messages and then
    control what agents we pass into listen method.
    Any pattern suggestions welcome.
    Thanks
    Vijay

  • Axis - Using type safe enumerations as parameters.

    I defined the following:
    interface A {
    foo(E x);
    where class E is a type safe enumeration (NOT a Java1.5 enum).
    When using java2wsdl | wsdl2java i get:
    interface A' {
    foo(String x);
    And then all the stubs and skeletons are implementing A' so I can't use my A. How can I stop axis from doing this?

    Hi,
    AFAIK, you can't. I'm not an expert though, so everything below may not be the best solution.
    The best way I have found for dealing with enums is to declare them as such in your schema, viz:
          <simpleType name="HoldStatus">
            <annotation>
              <documentation>The status of a hold.</documentation>
            </annotation>
            <restriction base="string">
              <enumeration value="INACTIVE"/>
              <enumeration value="ACTIVE"/>
            </restriction>
          </simpleType>Then, most WSDL->Java tools will do something sensible with this, making their own form of enum. I don't know about Axis, but Weblogic's wsdl2service does this.
    Then you still have to map between the generated enum and your one. This is the best solution I'm aware of, though.
    As far as running java2wsdl then wsdl2java - I'm not aware of any tools that will do 'round tripping' like this successfully. I'd be keen to hear of some if there are any though :-D
    -Tim

  • Type Safe Collections

    Hello All,
    I want to have type safe collections. Today. when we do programming with collections it almost behaves like a scripting language with no data types. any thing which is an object goes in and comes out freely.
    what about having a Collection(vector, ArrayList) class which can contain objects of only one type.
    something like
    ArrayList<Integer> a = new ArrayList();
    regards,
    Abhishek.

    Here's my way of using generics in normal Java - not quite as good as a compile error - but it works, and gives you a runtime error on inserting an object of the wrong type.
    I did this when at Uni, hence all the funky comments (well, you can't expect the lecturers to actually read the code, can you?).
    Just something you may find useful:
    import java.util.*;
    ���An implementation of the Proxy pattern, designed to wrap any list, and make it accept
    ���objects of the specified type (subclasses are allowed) only, hence allowing a user of
    ���this class to 'trust' the Proxy list.
    public class TypeSafeList extends AbstractList implements Serializable
    ���protected List source;
    ���protected Class acceptable;
    ���/**
    ������@param list the list to assign.
    ������@exception java.lang.IllegalArgumentException if the list contains elements of a
    ������different type to that specified
    ���*/
    ���public TypeSafeList(List list,Class acceptable)
    ���{
    ������Iterator iterator = list.iterator();
    ������while( iterator.hasNext() )
    ���������if( !acceptable.isInstance( iterator.next() ) )
    ������������throw new IllegalArgumentException( list+" contains elements not of type "+acceptable);
    ������this.source=list;
    ������this.acceptable=acceptable;
    ���}
    ���/**
    ������Passes on the request to the underlying list. See java.util.List.
    ���*/
    ���public Object get(int index)
    ���{
    ������return source.get(index);
    ���}
    ���/**
    ������Passes on the request to the underlying list. See java.util.List.
    ���*/
    ���public int size()
    ���{
    ������return source.size();
    ���}
    ���/**
    ������Checks that the type of the parameter is valid, and then passes on the
    ������request to the underlying list. See java.util.List.
    ������
    ������@exception java.lang.IllegalArgumentException if the type of the parameter is
    ������invalid.
    ���*/
    ���public Object set(int index,Object element)
    ���{
    ������return source.set(index,checkType(element));
    ���}
    ���/**
    ������Passes on the request to the underlying list. See java.util.List.
    ���*/
    ���public Object remove(int index)
    ���{
    ������return source.remove(index);
    ���}
    ���/**
    ������Checks that the type of the parameter is valid, and then passes on the
    ������request to the underlying list. See java.util.List.
    ���*/���
    ���public void add(int index,Object object)
    ���{
    ������source.add(index,checkType(object));
    ���}
    ���/**
    ������Return the Class object this List is configured to accept.
    ���*/
    ���public Class getAcceptable()
    ���{
    ������return acceptable;
    ���}
    ���
    ���/**���
    ������Checks the validity of the parameter against the protected field 'acceptable'.
    ������@return object if object is valid.
    ������@exception java.lang.IllegalArgumentException if the argument is invalid.
    ���*/
    ���protected Object checkType(Object object) throws IllegalArgumentException
    ���{
    ������if (acceptable.isInstance(object))
    ���������return object;
    ������throw new IllegalArgumentException(object+" needs to be of type "+acceptable.getName());
    ���}
    }

  • Job_open FM called in output type is ending with dump

    Hi All,
    I have a job_open FM called in output type is ending with dump, In dump analysis its given as "Statement "COMMIT" is not allowed in this form." and "There is probably an error in the program
    "SAPLSYDB".
    This program is triggered in the update task. There, the
    following ABAP/4 statements are not allowed:
    -  CALL SCREEN
    -  CALL DIALOG
    -  CALL TRANSACTION
    -  SUBMIT
    Kindly advise me to avoid this.
    Thaks in advance.
    Joshi

    Hi,
    This update termination occurs when a DB commit occurs in update task.......and probably job_open FM must hav done the DB commit.....
    So issuing the output while saving the transaction is not possible with job_open FM in output program.....
    try putting 3 (send with application own transaction)  in  despatch time of output and issue it manually.....
    Cheers,
    Jose.

  • My mac air will not connect to the internet. There is an exclamation point in the wifi icon and when i go into preferences i see that it is setting its own IP address. I have a macbook that is able to connect with no issue. HELP

    My macbook air will not connect to the internet. There is an exclamation point in the wifi icon and when i go into preferences i see that it is setting its own IP address. I have a macbookpro that is able to connect with no issue. HELP

    Reset the TC to factory and start again.
    Use all SMB type names for wireless and base station.. Not apple type names.. this is more important since Mavericks.
    I also recommend different names for the different bands.
    So for example.
    TC name.. TCgenx (I use whatever the generation number is for the x.. eg TCgen4 or latest one TCgen5)
    WIreless name.. TC24ghz for 2.4ghz
    TC5ghz for 5ghz
    You can also set the channel manually.
    If you still have issues.. start with no security and then if it fails to connect there is something seriously wrong with the laptop. Did you upgrade install Mavericks?? That can lead to driver issues.. I would recommend a clean install.

Maybe you are looking for

  • ABAP Proxy : Modification in Structure

    Hi Experts, I have one query in ABAP Proxy. I had one customized table type as declared DATA: ITAB TYPE ZABCD. It is having line type as ZABCD_LINE. This is just line type. Now I wanted to add 2 fields in same line type. While using SE11 whenever I a

  • Connect ipod to two computers???

    Is there any way I can connect my ipod to two different computers without it wiping out all my music on my ipod? One is a Dell desktop (2005) and the other is an IBM thinkpad (2005).

  • FI Validation rules in Travel

    Hi to all. I am working in a Travel Management implementation and we need to have validations for Cost Centers, Profit Centers and WBS elements... The Travel and Accounting are in different systems but the client requires the Travel to have the same

  • Can't watch a video says I need a flash plug in, is there a certain version of Adobe flash player that I should install?

    I want to make sure I download and install the correct Adobe Flash Player,  I have the iMac - Mac OS X Lion 10.7.5. Thanx

  • Pocketmac & Bold skipping error during sync

    This seems to be a very typical problem.  I have an iMac Intel 10.5.6, a Blackberry Bold, Entourage 2008, Pocketmac 4.1.25 + Driver update installed.  I have uninstalled pocketmac from my computer, reinstalled 4.1.25, trashed Blackberry Extensions fo