Assert Thrown at IComposeScanner- QueryAttributeAt()

Hi,
I implemented a custom paragraph attribute that has a boolean value to tell me I my plugin changed the justification settings of that paragraph. How ever if I try to get the value of the attribute, I get an assert when executing:
InterfacePtr<const IAttrReport> attrReport(composeScanner->QueryAttributeAt(rangeData, attrClassID, &attrLen));
This is the message I get in the XCode debug console:
ASSERT 'fResults.CountBosses() == 1' in /Development/basil/build/mac/prj/../../../source/private/text/AttributeScanner.cpp at line 155 failed.
What did I miss here? I just followed the code in SnpTextAttrHelper...
Thanks in advance!
-- Jeff

Hi,
I have the same problem
Sergiy

Similar Messages

  • Get color of text, odd results....

    I'm trying to get the color of a chunk of text, I can get the size, font, etc... but struggling with getting the color.
    When I use this code
    InterfacePtr<const IAttrReport> fontColorAttrReport(iComposeScanner->QueryAttributeAt(charCounter,charCounter + 1,kTextAttrColorBoss,NULL));
    InterfacePtr<const ITextAttrUID> fontColorAttr(fontColorAttrReport, IID_ITEXTATTRUID);
    UID colorUID = fontColorAttr->Get();
    int32 colorspace;
    ColorArray colorArray;
    PMReal tint;
    Utils<IColorSystemUtils>()->GetColorSwatchColorSpaceAndValue(UIDRef(::GetDataBase(TxtModel ),colorUID), colorspace,colorArray,tint);
    WideString colorInfoString = WideString(Utils<IColorSystemUtils>()->GetColorInfoString(colorspace,colorArray,kTrue));
    The colorInfoString comes back like this
    R=1 G=1 B=1
    or
    C=0 M=1 Y=0 K=0
    The thing is, these results are wrong, the values get rounded up or down, for example, the RGB value is actually a pale green, not pure green as the value would suggest.
    Not sure what I'm doing wrong here.
    I simply want to get the R,G,B values or CMYK, depending on colorspace.
    Hope someone can help, I'm sure I'm just doing something stupid.
    Cheers
    MT

    ColorArray values are Real numbers, so your error may simply be your are displaying them as integers ...
    Agh -- sorry! GetColorInfoString formats it for you.
    (Reminder To Self: do not post in the SDK forum )

  • Oops! An untagged string (assertion failed!) got thrown far enough that we display it to the user. T

    After installing the latest update to Lightroom 5, I started getting this message when I started Lightroom:
    Adobe Photoshop Lightroom 5[4407]: Oops! An untagged string (assertion failed!) got thrown far enough that we display it to the user. This shouldn't happen.
    From what I've found through searches, plugins may be related to the problem.
    The problem I'm having here is the lack of any information - no crash log, no reference to what caused this - in any log file.  I've taken the most recently installed or updated pugins and moved them elsewhere to test and am still getting this message.
    I assume that when I see "This shouldn't happen" as a message from the software, that it's a significant warning.  What can go wrong / is going wrong as a result of the related problem?  Is my data in danger?
    All help gratefully appreciated.

    Off.line wrote:
    Thanks for your thoughts, Rob.
    You're welcome .
    Off.line wrote:
    The few times I wrote something like this, I dumped as much data as I could somewhere to facilitate the debugging process and it's a bit dissappointing that there seems to be no such output.
    No such output enabled for users. I'm sure the developers have some way of debugging..
    Off.line wrote:
    I wonder what the output of the -tracebacks switch would be.
    It shows the error in context (I've done it before, but it was a long time ago) - what Lr was doing when error occurred. For example, if plugin was executing, it would show that.
    Off.line wrote:
    I'm not familiar with the .agprefs file
    It's where Lr stores preferences - see your presets folder (location is accessible via a button in Lr preferences dialog box: "Show Lightroom Presets Folder..."). Look in 'Preferences' subfolder. It's the source of some aberrant behavior sometimes..
    Off.line wrote:
    my catalog is backed up in two places, on two separate devices.  But if there's corruption within the catalog, then the backups are bad, too.
    If you've been using Lightroom's built-in catalog backup feature, then it creates a new backup each time, so old backups, if not yet deleted, may not have same problem as newer backups. But I think we're getting ahead of ourselves now.
    Rob

  • JUnit - How to assert exception is thrown?

    If I use JUnit how do I assert an exception is thrown when I pass invalid parameters to a method I am testing? For example if I pass a username to a method that I know will cause the method to throw an InvalidUsernameException how do I assert this?

    public void testBadParameter() {
      try {
        objectUnderTest.myMethod(badParameter);
        fail("Foo!");
      } catch (ExcpectedException e) {
        //ok
    }

  • Cannot create notes in Apple Mail: Assertion failure, exception thrown

    If I choose File > New Note, nothing happens. The console log displays the attached messages. What could be causing this?
    06/04/2011 14:23:18 Mail[802] * Assertion failure in +[NoteView updateFontAndRule:], /SourceCache/Mail/Mail-1084/MessageViewer.subproj/NoteView.m:210
    font-family cannot be nil
    0 Message 0x00007fff854ed780 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff854ed6e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Mail 0x000000010009416e 0x0 + 4295573870
    3 Mail 0x0000000100093e16 0x0 + 4295573014
    4 CoreFoundation 0x00007fff8772c96c _invoking__ + 140
    5 CoreFoundation 0x00007fff8772c83d -[NSInvocation invoke] + 141
    6 Mail 0x000000010006665a 0x0 + 4295386714
    7 Foundation 0x00007fff86f198ea nsnotecallback + 167
    8 CoreFoundation 0x00007fff876ff000 __CFXNotificationPost + 1008
    9 CoreFoundation 0x00007fff876eb578 _CFXNotificationPostNotification + 200
    10 Foundation 0x00007fff86f1084e -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
    11 Mail 0x0000000100002a65 0x0 + 4294978149
    12 WebCore 0x00007fff8610c843 _ZN7WebCore15ProgressTracker21finalProgressCompleteEv + 83
    13 WebCore 0x00007fff8610c7d8 ZN7WebCore15ProgressTracker17progressCompletedEPNS5FrameE + 104
    14 WebCore 0x00007fff86093e3a _ZN7WebCore11FrameLoader26recursiveCheckLoadCompleteEv + 298
    15 WebCore 0x00007fff861b4567 ZN7WebCore14DocumentLoader23removeSubresourceLoaderEPNS14ResourceLoaderE + 135
    16 WebCore 0x00007fff861b3a3c _ZN7WebCore17SubresourceLoader16didFinishLoadingEv + 124
    17 Foundation 0x00007fff86f9a608 _NSURLConnectionDidFinishLoading + 113
    18 CFNetwork 0x00007fff807741a0 ZN19URLConnectionClient23_clientDidFinishLoadingEPNS26ClientConnectionEventQueueE + 174
    19 CFNetwork 0x00007fff807d99ae _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsum ePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 254
    20 CFNetwork 0x00007fff807d9c1a _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsum ePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 874
    21 CFNetwork 0x00007fff80760825 _ZN19URLConnectionClient13processEventsEv + 121
    22 CFNetwork 0x00007fff80760600 _ZN17MultiplexerSource7performEv + 160
    23 CoreFoundation 0x00007fff876f4401 __CFRunLoopDoSources0 + 1361
    24 CoreFoundation 0x00007fff876f25f9 __CFRunLoopRun + 873
    25 CoreFoundation 0x00007fff876f1dbf CFRunLoopRunSpecific + 575
    26 HIToolbox 0x00007fff802ee7ee RunCurrentEventLoopInMode + 333
    27 HIToolbox 0x00007fff802ee5f3 ReceiveNextEventCommon + 310
    28 HIToolbox 0x00007fff802ee4ac BlockUntilNextEventMatchingListInMode + 59
    29 AppKit 0x00007fff881dbe64 _DPSNextEvent + 718
    30 AppKit 0x00007fff881db7a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    31 AppKit 0x00007fff881a148b -[NSApplication run] + 395
    32 AppKit 0x00007fff8819a1a8 NSApplicationMain + 364
    33 Mail 0x00000001000025a4 0x0 + 4294976932
    34 ??? 0x0000000000000002 0x0 + 2
    06/04/2011 14:23:18 Mail[802] An exception was thrown 'Cannot lock focus on image <NSImage 0x1015ef800 Size={0, 0} Reps=(
    )>, because it is size zero.'. Stack trace:
    0 CoreFoundation 0x00007fff877577b4 __exceptionPreprocess + 180
    1 libobjc.A.dylib 0x00007fff839a90f3 objcexceptionthrow + 45
    2 CoreFoundation 0x00007fff877575d7 +[NSException raise:format:arguments:] + 103
    3 CoreFoundation 0x00007fff87757564 +[NSException raise:format:] + 148
    4 AppKit 0x00007fff88317990 -[NSImage _lockFocusOnRepresentation:rect:context:hints:flipped:] + 319
    5 AppKit 0x00007fff88317847 __-[NSImage lockFocusWithRect:context:hints:flipped:]block_invoke1 + 100
    6 AppKit 0x00007fff882abba1 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 178
    7 AppKit 0x00007fff883177cd -[NSImage lockFocusWithRect:context:hints:flipped:] + 289
    8 AppKit 0x00007fff88317697 -[NSImage lockFocusFlipped:] + 142
    9 Mail 0x000000010009474d 0x0 + 4295575373
    10 Mail 0x0000000100094512 0x0 + 4295574802
    11 Mail 0x0000000100094237 0x0 + 4295574071
    12 Mail 0x0000000100093e16 0x0 + 4295573014
    13 CoreFoundation 0x00007fff8772c96c _invoking__ + 140
    14 CoreFoundation 0x00007fff8772c83d -[NSInvocation invoke] + 141
    15 Mail 0x000000010006665a 0x0 + 4295386714
    16 Foundation 0x00007fff86f198ea nsnotecallback + 167
    17 CoreFoundation 0x00007fff876ff000 __CFXNotificationPost + 1008
    18 CoreFoundation 0x00007fff876eb578 _CFXNotificationPostNotification + 200
    19 Foundation 0x00007fff86f1084e -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
    20 Mail 0x0000000100002a65 0x0 + 4294978149
    21 WebCore 0x00007fff8610c843 _ZN7WebCore15ProgressTracker21finalProgressCompleteEv + 83
    22 WebCore 0x00007fff8610c7d8 ZN7WebCore15ProgressTracker17progressCompletedEPNS5FrameE + 104
    23 WebCore 0x00007fff86093e3a _ZN7WebCore11FrameLoader26recursiveCheckLoadCompleteEv + 298
    24 WebCore 0x00007fff861b4567 ZN7WebCore14DocumentLoader23removeSubresourceLoaderEPNS14ResourceLoaderE + 135
    25 WebCore 0x00007fff861b3a3c _ZN7WebCore17SubresourceLoader16didFinishLoadingEv + 124
    26 Foundation 0x00007fff86f9a608 _NSURLConnectionDidFinishLoading + 113
    27 CFNetwork 0x00007fff807741a0 ZN19URLConnectionClient23_clientDidFinishLoadingEPNS26ClientConnectionEventQueueE + 174
    28 CFNetwork 0x00007fff807d99ae _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsum ePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 254
    29 CFNetwork 0x00007fff807d9c1a _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsum ePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 874
    30 CFNetwork 0x00007fff80760825 _ZN19URLConnectionClient13processEventsEv + 121
    31 CFNetwork 0x00007fff80760600 _ZN17MultiplexerSource7performEv + 160
    32 CoreFoundation 0x00007fff876f4401 __CFRunLoopDoSources0 + 1361
    33 CoreFoundation 0x00007fff876f25f9 __CFRunLoopRun + 873
    34 CoreFoundation 0x00007fff876f1dbf CFRunLoopRunSpecific + 575
    35 HIToolbox 0x00007fff802ee7ee RunCurrentEventLoopInMode + 333
    36 HIToolbox 0x00007fff802ee5f3 ReceiveNextEventCommon + 310
    37 HIToolbox 0x00007fff802ee4ac BlockUntilNextEventMatchingListInMode + 59
    38 AppKit 0x00007fff881dbe64 _DPSNextEvent + 718
    39 AppKit 0x00007fff881db7a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    40 AppKit 0x00007fff881a148b -[NSApplication run] + 395
    41 AppKit 0x00007fff8819a1a8 NSApplicationMain + 364
    42 Mail 0x00000001000025a4 0x0 + 4294976932
    43 ??? 0x0000000000000002 0x0 + 2
    )

    A final weird follow-up: the “Note font" part of the Fonts & Colours preference panel wasn't visible before. In other words, if the wrong font is selected, you don't have the option to change it or even to know which fund could be corrupted.

  • Adobe Photoshop Lightroom 5[48444]: Oops! An untagged string (assertion failed!) got thrown far enou

    after installing v5.3, I'm getting this error on startup (OS X 10.9).  I did NOT get this error with the release candidate.
    Any ideas?

    Certainly possible and your suggestion is good.
    The only thing that changed, however, was Lightroom.
    It's possible that the new version exposed a problem in the other software, however it makes sense to me to start with "What's Changed", pulling from my days - long ago - as a programmer.
    The most prudent thing - I think - is to wait and see if I'm the only person having this problem.  If so, it's certainly due to my configuration and I'll have to break it down.  If not, maybe a common element will surface.
    Thanks for your suggestion.

  • Exception thrown when trying to save custom sec provider in console

    Hi,
    We have created a custom identity assertion provider in WLS 8.1. When we try to create a new instance in the admin console, we receive an exception (when clicking the 'Create' button). This problem only occurs in one certain test environment, and works well in our development environment. It seems to be a problem with the environment. This is the exception displayed in the console:
    java.lang.ClassCastException: java.lang.NoClassDefFoundError
         at javax.management.modelmbean.RequiredModelMBean.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RequiredModelMBean.java:1166)
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1560)
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
         at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
         at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
         at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
         at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
         at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    --------------- nested within: ------------------
    javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1562)
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
         at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
         at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
         at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
         at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
         at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException: RuntimeException thrown by the invoke method of the Dynamic MBean - with nested exception:
    [javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean]
         at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
         at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:230)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Do you have any idea of what the problem might be?
    Cheers,
    Vidar

    Hi,
    We have created a custom identity assertion provider in WLS 8.1. When we try to create a new instance in the admin console, we receive an exception (when clicking the 'Create' button). This problem only occurs in one certain test environment, and works well in our development environment. It seems to be a problem with the environment. This is the exception displayed in the console:
    java.lang.ClassCastException: java.lang.NoClassDefFoundError
         at javax.management.modelmbean.RequiredModelMBean.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RequiredModelMBean.java:1166)
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1560)
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
         at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
         at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
         at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
         at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
         at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    --------------- nested within: ------------------
    javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1562)
         at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
         at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
         at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
         at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
         at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
         at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException: RuntimeException thrown by the invoke method of the Dynamic MBean - with nested exception:
    [javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean]
         at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
         at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:230)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Do you have any idea of what the problem might be?
    Cheers,
    Vidar

  • On start up lightroom 4 fails with this message "Assertion failed" anyone have a solution?

    Thanks

    After talking to Adobe support, they say that because LR4 has so many new features the catalog update doesn't always operate correctly!
    Nice one adobe, provide an update path that "doesn't always work"!!!
    The only way around it is to create a new catalog and import all the pictures from the failing catalog. In the process losing all published services! Not ideal but I'll have to live with it.
    Surely the "assertion failed" message could write out to a log stating exactly what caused the fault. In the apple console all you get is
    "31/05/2012 13:49:23.006 Adobe Photoshop Lightroom 4: Oops! An untagged string (assertion failed!) got thrown far enough that we display it to the user. This shouldn't happen."
    Come on Adobe this is poor!!!

  • Assertion Error in WL 4.5.1

    Hi,
    We are running WL 4.5.1 with SP 11 on NT and Oracle 8i as the database.
    After the server has been running for quite a while and there is fair amount
    of activity, the server throws the following exception. Any ideas about what
    this exception means or why it is thrown?
    Mon Sep 25 18:52:15 EDT 2000:<E> <T3Services>
    java.rmi.RemoteException: --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:53)
    at weblogic.utils.NestedError.<init>(NestedError.java:15)
    at weblogic.utils.AssertionError.<init>(AssertionError.java:49)
    at weblogic.utils.Debug.assert(Compiled Code)
    at weblogic.ejb.internal.LRUCache.remove(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBCache.unbind(Compiled Code)
    at weblogic.ejb.internal.BaseEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.EntityEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(Compiled
    Code)
    at weblogic.ejb.internal.BaseEJBObject.preInvoke(Compiled Code)
    at sync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    at sync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(Compiled Code)
    at sync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    ; nested exception is:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.rmi.RemoteException.<init>(Compiled Code)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
    at sync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    at sync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(Compiled Code)
    at sync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

    This turned out to be our fault - we were told that the servers are running
    sp11 but when we later checked using the admin tool, we found that wasn't
    the case on this machine. sp11 was in the classpath but the directory was
    wrong. I guess that's the downside to the way WL SPs work, the jvm doesn't
    tell you when you have an invalid filename in the classpath so you don't
    know that you are not actually running with the sp.
    On the thread issue you mention, the traceback below originates in a startup
    class which does manage its own threads. Isn't this a valid way to invoke
    beans in weblogic?
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    It's hard to say why you're seeing this assertion error. I would
    suggest that you contact [email protected]
    However, I can see that you are using your own threads within the
    WebLogic server. This is not allowed and might be the cause of your
    problems.
    -- Rob
    SG wrote:
    Hi,
    We are running WL 4.5.1 with SP 11 on NT and Oracle 8i as the database.
    After the server has been running for quite a while and there is fair
    amount
    of activity, the server throws the following exception. Any ideas aboutwhat
    this exception means or why it is thrown?
    Mon Sep 25 18:52:15 EDT 2000:<E> <T3Services>
    java.rmi.RemoteException: --------------- nestedwithin: ------------------
    >>
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:53)
    at weblogic.utils.NestedError.<init>(NestedError.java:15)
    at weblogic.utils.AssertionError.<init>(AssertionError.java:49)
    at weblogic.utils.Debug.assert(Compiled Code)
    at weblogic.ejb.internal.LRUCache.remove(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBCache.unbind(Compiled Code)
    at weblogic.ejb.internal.BaseEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.EntityEJBContext.afterCompletion(Compiled Code)
    at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(Compiled
    Code)
    at weblogic.ejb.internal.BaseEJBObject.preInvoke(Compiled Code)
    atsync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    atsync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(CompiledCode)
    atsync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    ; nested exception is:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
    violated ]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.rmi.RemoteException.<init>(Compiled Code)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
    atsync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
    Code)
    atsync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
    Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
    d Code)
    at
    sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
    vent(Compiled Code)
    at sync.server.gateway.ServerGatewayBean.handleSystemMessage(CompiledCode)
    atsync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
    Code)
    at
    sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
    Compiled Code)
    at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
    at sync.server.util.SystemMessageThread.run(Compiled Code)
    at sync.util.ThreadPoolRunner.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

  • Temporarily disable Assert's

    Hey,
    I'm looking to disable the "Assert" dialog boxes that InDesign throws up in debug mode (as a temporary measure, there's too many of them appearing in the plugin that I'm debugging)...
    I've tried adding the following line to my Debug Settings.xml:
    In a similar fashion to how IntenseDebugging is disabled, but this just throws up an Assert dialog on startup saying:
    "Ignored the unrecognised element named BreakOnAssert"
    I've also tried adding "#undef ASSERT_ON" to the VCSettings.h, but this has had no effect. I would assume this is because the Assert's are being thrown internally by InDesign.
    Does somebody know how to disable these dialogs from appearing? I would be happy if I could just sink the errors to a log file, but I can't find a setting for this...
    Any help will be much appreciated.
    Sean

    I randomly came across a copy of my thread in another forum, in which a user responded with the answer. Its a shame that forum didn't push the response back here, it was sheer luck that I came across this post:
    http://objectmix.com/adobe-indesign/727612-temporarily-disable-asserts.html
    His response in full:
    >Try this in the plugin entrypoint...
    >
    >IPlugIn* GetPlugIn()
    >
    >{
    >
    >#ifdef _DEBUG
    >
    >gLogAsserts = kTrue;
    >
    >gBreakOnAssert = kFalse;
    >
    >#endif
    >
    >return &gPlugIn;
    >
    >}
    >
    >Be aware that this seems to be an application wide global so if you
    >have one plugin switching things on and another switching things off
    >then it's the last one that takes effect.
    >
    >The assert text gets put in the debug TRACE.
    >
    >Don't be tempted to leave asserts off permanently you're liable to
    >miss something you should be fixing.

  • Async tests and Assert throws exceptions

    Hi,
    In a regular non-async test, something like Assert.assertEquals( "apples", "oranges" ); gives a nice report that the strings didn't match.  The test fails and the suite continues and all is good.  If the test is asynchronous, though, you get an uncaught exception, and a timeout on the test rather than a nice report.  Worse, it will cause a command-line based test to freeze with a stack trace showing (if you have a debug version of Flash, of course), until you hit the dismiss button.
    Here's an example.  Without the Assert.assertEquals line, the test passes after two seconds as expected.  With the Assert.assertEquals in place, you get the behaviour I described.  So the question is, how do I use asserts in an asynchronous test?  I want the behaviour that you get with synchronous tests, i.e. a nice report and no pop-up dialog showing the stack.
            const TEST_COMPLETE:String = "testComplete";
            [Test(async)]
            public function myAsyncTest():void   
                Async.proceedOnEvent( this, this, TEST_COMPLETE, 5000 );
                var t:Timer = new Timer(2000, 1);
                t.addEventListener(TimerEvent.TIMER, timeout);
                t.start();
            private function timeout(e:Event):void
                Assert.assertEquals( "apples", "oranges" );
                dispatchEvent( new Event(TEST_COMPLETE) );
    Any help?
    Thanks!
    DB

    The code you have below doesn't do what you think it does.
    When you setup an async test in FlexUnit, it needs to know what code is related to a given test. When you use items like the asyncHandler() methods, it basically calls that code in a way that watches for assertions and can manage to track them when they occur.
    In your code, you are setting up a timer and that timer is calling another method which does an assertion. The timer calls that code directly from the top of the call stack... in other words, completely outside of FlexUnit. FlexUnit doesn't know your method is being called and cannot wrap the call in order to catch any information thrown from your assertion.
    Can you describe what you want to do and I can advise you on the right syntax? It isn't that assertions work differently in async tests, it is that FlexUnit has no idea that the timeout() method is being called, Flash Player is calling it directly, and hence there is no way for it to watch the assertion.
    I am guessing you want something more alogn the lines of this, but I am not sure:
    Test(async)] 
    public function myAsyncTest():void{
    var t:Timer = new Timer(2000, 1); 
    var handler:Function = Async.asyncHandler( this, timeout );t.addEventListener(TimerEvent.TIMER, handler );
    t.start();
    private function timeout(e:Event, passThroughData:Object ):void
    Assert.assertEquals(
    "apples", "oranges" );}

  • Wrong exception being thrown on CMP bean error

    In OC4J Release 2 I'm getting the wrong exception thrown from a CMP bean error.
    Situation:
    Servlet calls an update method on a stateless session bean with trans-attribute of Required. This update method finds 2 entity beans by primary key and updates both of them (all with trans-attribute of Supports). When an error is thrown in the second entity bean (by trying to set a value to something that breaks a constraint), I get the following error:
    com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error preparing bean instance: com.evermind.transaction.MarshallingXAException
    at TestSession_StatefulSessionBeanWrapper3.updatebothtests(TestSession_StatefulSessionBeanWrapper3.java:1164)
    at __jspPage1_insertEntityTest_jsp._jspService(__jspPage1_insertEntityTest_jsp.java:224)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at com.evermind.server.http.HttpApplication.serviceJSP(HttpApplication.java:5680)
    at com.evermind.server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:667)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:702)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:250)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Nested exception is:
    com.evermind.transaction.MarshallingXAException
    at com.evermind.server.ejb.EntityEJBObject.prepare(EntityEJBObject.java:70)
    at com.evermind.server.ApplicationServerTransactionSynchronization.prepareComponentsSuccess(ApplicationServerTransactionSynchronization.java:403)
    at com.evermind.server.ApplicationServerTransactionSynchronization.beforeCompletion(ApplicationServerTransactionSynchronization.java:565)
    at com.evermind.server.ApplicationServerTransaction.beforeCompletion(ApplicationServerTransaction.java:1063)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:552)
    at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:834)
    at TestSession_StatefulSessionBeanWrapper3.updatebothtests(TestSession_StatefulSessionBeanWrapper3.java:1160)
    at __jspPage1_insertEntityTest_jsp._jspService(__jspPage1_insertEntityTest_jsp.java:224)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at com.evermind.server.http.HttpApplication.serviceJSP(HttpApplication.java:5680)
    at com.evermind.server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:667)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:702)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:250)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Nested exception is:
    java.lang.InternalError: Werent current caller, server stacktrace (to disable this message, use -Dejb.assert=false at startup): java.lang.Throwable: Werent current caller
    at Test2_EntityBeanWrapper5.setEntityBean(Test2_EntityBeanWrapper5.java:1496)
    at com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(EntityEJBHome.java:344)
    at com.evermind.server.ejb.EntityEJBObject.releaseContext(EntityEJBObject.java:378)
    at Test2_EntityBeanWrapper5.saveState(Test2_EntityBeanWrapper5.java:1442)
    at com.evermind.server.ejb.EntityEJBObject.prepare(EntityEJBObject.java:39)
    at com.evermind.server.ApplicationServerTransactionSynchronization.prepareComponentsSuccess(ApplicationServerTransactionSynchronization.java:403)
    at com.evermind.server.ApplicationServerTransactionSynchronization.beforeCompletion(ApplicationServerTransactionSynchronization.java:565)
    at com.evermind.server.ApplicationServerTransaction.beforeCompletion(ApplicationServerTransaction.java:1063)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:552)
    at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:834)
    at TestSession_StatefulSessionBeanWrapper3.updatebothtests(TestSession_StatefulSessionBeanWrapper3.java:1160)
    at __jspPage1_insertEntityTest_jsp._jspService(__jspPage1_insertEntityTest_jsp.java:224)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at com.evermind.server.http.HttpApplication.serviceJSP(HttpApplication.java:5680)
    at com.evermind.server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:667)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:702)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:250)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62) at Test2_EntityBeanWrapper5.setEntityBean(Test2_EntityBeanWrapper5.java:1496)
    at com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(EntityEJBHome.java:344)
    at com.evermind.server.ejb.EntityEJBObject.releaseContext(EntityEJBObject.java:378)
    at Test2_EntityBeanWrapper5.saveState(Test2_EntityBeanWrapper5.java:1442)
    at com.evermind.server.ejb.EntityEJBObject.prepare(EntityEJBObject.java:39)
    at com.evermind.server.ApplicationServerTransactionSynchronization.prepareComponentsSuccess(ApplicationServerTransactionSynchronization.java:403)
    at com.evermind.server.ApplicationServerTransactionSynchronization.beforeCompletion(ApplicationServerTransactionSynchronization.java:565)
    at com.evermind.server.ApplicationServerTransaction.beforeCompletion(ApplicationServerTransaction.java:1063)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:552)
    at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:834)
    at TestSession_StatefulSessionBeanWrapper3.updatebothtests(TestSession_StatefulSessionBeanWrapper3.java:1160)
    at __jspPage1_insertEntityTest_jsp._jspService(__jspPage1_insertEntityTest_jsp.java:224)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at com.evermind.server.http.HttpApplication.serviceJSP(HttpApplication.java:5680)
    at com.evermind.server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:667)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:702)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:250)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Why am I getting a MarshallingXAException instead of a SQLException? In the old OC4J, I got a SQLException wrapped in an OrionRemoteException, with the details of what constraint was broken, instead of this.
    I've also duplicated this by doing the entity bean updates directly from the servlet wrapped in a UserTransaction.
    Jeff.

    Tell me whether your transaction has been rolled back or not....If it has been rolled back, then those messages, printed on your server console are debug messages...just ignore them...
    After this exception, can u able to execute other applications in OC4J?
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What means Assertion Failed?!?!

    Hi guys!!! Here are some duke dollars from a expert.....
    I use "Tomcat-5.5.4", "jwsdp-1.5", "jdk1.5.0" and "jsf-1.1_01". PLEASE I NEED HELP!!!!!!
    The sample application that come together jsf zipped file works properly when I put its on my webapp folder!!!!!
    But my application don't work and I always get the error "Assertion Failed". The entire exception message is post below. Please I lost a week on this problem and I don't know what to do to solve this!!!!
    javax.faces.el.EvaluationException: javax.faces.FacesException: Assertion Failed
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
         at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:191)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:169)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
         at com.sun.faces.taglib.html_basic.OutputTextTag.doEndTag(OutputTextTag.java:173)
         at org.apache.jsp.index_jsp._jspx_meth_h_outputText_0(org.apache.jsp.index_jsp:182)
         at org.apache.jsp.index_jsp._jspx_meth_h_form_0(org.apache.jsp.index_jsp:141)
         at org.apache.jsp.index_jsp._jspx_meth_f_view_0(org.apache.jsp.index_jsp:106)
         at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:72)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:674)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:400)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:303)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Thanks all.
    Giscard

    According to your exception log, the exception is thrown by ValueBindingImpl.getValue().
    Why don't you set a breakpoint on it and debug stepwise?
    The code of getValue() is as follows:
    protected Object getValue(FacesContext context, String toEvaluate)
            throws EvaluationException, PropertyNotFoundException {
            Object result = null;
         ExpressionInfo info = checkoutExpressionInfo();
            try {
                info.setExpressionString(toEvaluate);
                info.setExpectedType(Object.class);
                info.setFacesContext(context);
                info.setVariableResolver(application.getVariableResolver());
                info.setPropertyResolver(application.getPropertyResolver());
    //** I guess here is the ground zero! **/
                result = Util.getExpressionEvaluator().evaluate(info);
                if (log.isDebugEnabled()) {
                    log.debug("getValue Result:" + result);
            } catch (Throwable e) {
                if (e instanceof ElException) {
                    if (log.isDebugEnabled()) {
                        Throwable l = e;
                        Throwable t = ((ElException) e).getCause();
                        if (t != null) {
                            l = t;
                        log.debug("getValue Evaluation threw exception:", l);
              checkinExpressionInfo(info);
                    throw new EvaluationException(e);
                } else if (e instanceof PropertyNotFoundException) {
                    if (log.isDebugEnabled()) {
                        Throwable l = e;
                        Throwable t = ((PropertyNotFoundException) e).getCause();
                        if (t != null) {
                            l = t;
                        log.debug("getValue Evaluation threw exception:", l);
                    // Just rethrow it to keep detailed message
              checkinExpressionInfo(info);
                    throw (PropertyNotFoundException) e;
                } else {
                    if (log.isDebugEnabled()) {
                        log.debug("getValue Evaluation threw exception:", e);
              checkinExpressionInfo(info);
                    throw new EvaluationException(e);
         checkinExpressionInfo(info);
            return result;
        }

  • Assertion Failed alert when exporting in Lightroom 2 BETA

    Please help! I am currently using the Lightroom 2 Beta on a Mac (OS X 10.4.11) and installed a plug-in to allow for a graphical watermark. Unfortunately, the plug-in wouldn't work properly (showed an internal error even though the plug in manager said it was working fine) and when I removed the plug in (through the plug in manager) I now cannot export at all through the export button in the Library mode. I get an alert saying "assertion failed". Technically I can still export through the file/export option but cannot get to the settings window (filenames, folders etc) to show what folder to put them into or specify the export settings.
    Console report: "2008-04-08 10:21:19.413 Adobe Lightroom 2 Beta[308] Oops! An untagged string (assertion failed!) got thrown far enough that we display it to the user. This shouldn't happen."
    I tried reinstalling but must have missed a file as the same error keeps appearing.
    Can anyone give me a hand?

    See the notes on the beta forum. Post this there.

  • FlexUnit 4 assert failures have "explosive" stack traces

    With FlexUnit 4 in Flash Builder 4 Plugin Beta, I created 1 suite with 1 class with 1 default failing test method. When I ran it, the assert failure had a call stack 60 methods high. Is this a bug?
    The stack trace has several "async" methods, e.g. applyExplosivelyAsync(). This seems strange because  I'm not using async at all. Is this intended behavior?
    Robert
    Test method Not yet implemented
           at flexunit.framework::Assert$/
    fail()[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\fluint\FlexU nit1Lib\src\flexunit\framework\Assert.as:370]
            at WidgetTest/testWidget()[C:\Users\robert.penner\Adobe Flash Builder
    Plug-in Beta 2\TestProject\src\WidgetTest.as:20]
            at Function/http://adobe.com/AS3/2006/builtin::apply()
            at flex.lang.reflect::Method/apply()[C:\Users\mlabriola\Documents\workspaces\net\digitalprim ates\opensource\flexunit\FlexUnit4\src\flex\lang\reflect\Method.as:124]
            at ReflectiveCallable/run()[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\open source\flexunit\FlexUnit4\src\org\flexunit\runners\model\FrameworkMethod.as:214]
            at org.flexunit.runners.model::FrameworkMethod/applyExplosivelyAsync()[C:\Users\mlabriola\Do cuments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runn ers\model\FrameworkMethod.as:121]
            at org.flexunit.runners.model::FrameworkMethod/invokeExplosivelyAsync()[C:\Users\mlabriola\D ocuments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\run ners\model\FrameworkMethod.as:132]
            at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\statements\InvokeMethod.as:52]
            at org.flexunit.internals.runners.statements::StackAndFrameManagement/evaluate()[C:\Users\ml abriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\fle xunit\internals\runners\statements\StackAndFrameManagement.as:94]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()[C:\Users\mlabriola\Documents\w orkspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\Block FlexUnit4ClassRunner.as:104]
            at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\ChildRunnerSequencer.as:49]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::ParentRunner/run()[C:\Users\mlabriola\Documents\workspaces\net\digi talprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\ParentRunner.as:315]
            at org.flexunit.runners::Suite/runChild()[C:\Users\mlabriola\Documents\workspaces\net\digita lprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\Suite.as:59]
            at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\ChildRunnerSequencer.as:49]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::ParentRunner/run()[C:\Users\mlabriola\Documents\workspaces\net\digi talprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\ParentRunner.as:315]
            at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()[C:\Users\mlabriola\Documents\wor kspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runner\FlexUnit Core.as:177]
            at org.flexunit.token::AsyncListenersToken/sendReady()[C:\Users\mlabriola\Documents\workspac es\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncListeners Token.as:59]
            at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()[C:\U sers\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\ org\flexunit\runner\notification\async\AsyncListenerWatcher.as:87]
            at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()[C:\Use rs\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\or g\flexunit\runner\notification\async\AsyncListenerWatcher.as:97]
            at flash.events::EventDispatcher/dispatchEventFunction()
            at flash.events::EventDispatcher/dispatchEvent()
            at flexunit.flexui::FlexUnit4TestRunner/handleConnect()[C:\work\flex\ide_builder\com.adobe.f lexbuilder.flexunit\flexunitframework\src\flexunit\flexui\FlexUnit4TestRunner.as:296]
            at flash.events::EventDispatcher/dispatchEventFunction()
            at flash.events::EventDispatcher/dispatchEvent()
            at flash.net::XMLSocket/reflectEvent()

    Not a bug and fully expected behavior.
    FlexUnit 4 is really just a collection of runners that can handle just about anything that is thrown at it as well as handle any pluggable runners that others write. The level of extensibility comes with some complexity. So, by the time that single method of yours is executed, there are actually probably a hundreds methods in the framework for getting everything setup, inspected and ready to go.
    The stacktrace always looks up the stack from your failure to the last point where a particular chunk of code execution began, so the 60 is basically just that number of methods. There isn't a whole lot that can be done about it save for eventually provinding filtering to eliminate showing some of our stuff and making the track more legible.
    Regarding the async thing, your method isn't async but FlexUnit4 is. Inside of the Flash Player we are operating on frames. We don't have the luxury of threads and the like that Java has, so we have to handle the possibility that something might be async on a much deeper level. We also do something called green threading where we actually watch how much time we take in execution. Once we have taken 90% ish of the time available in a given frame, we wait until the next one before we begin executing again. This allows us to run long and compelx test suites without getting a timeout from the flash player (which happens if any single frame takes longer than 15 seconds to execute). So, even though your method isn't doing anything async, all of these other pieces have to account for the chance that something will be. Hence the reason that you see async pieces in the stack trace.
    Hope that helps,
    Mike

Maybe you are looking for