java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    Repo steps; # Create new sample in a ruble # Save # Refresh/reload the dashboard. Refreshing the portal, I see this in my log file: {code} !ENTRY com.aptana.scripting 4 0 2011-11-30 08:58:19.090 !MESSAGE An error occurred while executing an element-became-visible event listener !STACK 0 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:71) at com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:76) at com.aptana.portal.ui.internal.BrowserWrapper.execute(BrowserWrapper.java:129) at com.aptana.portal.ui.dispatch.BrowserNotifier.notifyBrowser(BrowserNotifier.java:246) at com.aptana.portal.ui.dispatch.browserNotifications.AbstractBrowserNotification.notifyTargets(AbstractBrowserNotification.java:100) at com.aptana.samples.ui.portal.actionController.SamplesNotification.notifyAdd(SamplesNotification.java:68) at com.aptana.samples.ui.portal.actionController.SamplesNotification$1.sampleAdded(SamplesNotification.java:127) at com.aptana.samples.internal.SamplesManager.fireSampleAdded(SamplesManager.java:346) at com.aptana.samples.internal.SamplesManager.addSample(SamplesManager.java:168) at com.aptana.samples.internal.SamplesManager.access$1(SamplesManager.java:140) at com.aptana.samples.internal.SamplesManager$1.elementBecameVisible(SamplesManager.java:78) at com.aptana.scripting.model.BundleManager.fireElementBecameVisibleEvent(BundleManager.java:693) at com.aptana.scripting.model.BundleEntry$ChildVisibilityContext.fireVisibilityEvents(BundleEntry.java:70) at com.aptana.scripting.model.BundleEntry$VisibilityContext.fireElementVisibilityEvents(BundleEntry.java:334) at com.aptana.scripting.model.BundleEntry$VisibilityContext.fireElementVisibilityEvents(BundleEntry.java:321) at com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:525) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:380) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:59) at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.IfNode.interpret(IfNode.java:117) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:176) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:182) at org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187) at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.RootNode.interpret(RootNode.java:129) at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120) at org.jruby.Ruby.runInterpreter(Ruby.java:706) at org.jruby.Ruby.runInterpreter(Ruby.java:714) at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119) at com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:91) at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:61) ... 56 more Caused by: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:774) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:569) at org.eclipse.swt.browser.Browser.checkWidget(Browser.java:148) at org.eclipse.swt.browser.Browser.execute(Browser.java:472) ... 60 more {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  2. 0

    Repo steps; # Create new sample in a ruble # Save # Refresh/reload the dashboard. Refreshing the portal, I see this in my log file: {code} !ENTRY com.aptana.scripting 4 0 2011-11-30 08:58:19.090 !MESSAGE An error occurred while executing an element-became-visible event listener !STACK 0 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:71) at com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:76) at com.aptana.portal.ui.internal.BrowserWrapper.execute(BrowserWrapper.java:129) at com.aptana.portal.ui.dispatch.BrowserNotifier.notifyBrowser(BrowserNotifier.java:246) at com.aptana.portal.ui.dispatch.browserNotifications.AbstractBrowserNotification.notifyTargets(AbstractBrowserNotification.java:100) at com.aptana.samples.ui.portal.actionController.SamplesNotification.notifyAdd(SamplesNotification.java:68) at com.aptana.samples.ui.portal.actionController.SamplesNotification$1.sampleAdded(SamplesNotification.java:127) at com.aptana.samples.internal.SamplesManager.fireSampleAdded(SamplesManager.java:346) at com.aptana.samples.internal.SamplesManager.addSample(SamplesManager.java:168) at com.aptana.samples.internal.SamplesManager.access$1(SamplesManager.java:140) at com.aptana.samples.internal.SamplesManager$1.elementBecameVisible(SamplesManager.java:78) at com.aptana.scripting.model.BundleManager.fireElementBecameVisibleEvent(BundleManager.java:693) at com.aptana.scripting.model.BundleEntry$ChildVisibilityContext.fireVisibilityEvents(BundleEntry.java:70) at com.aptana.scripting.model.BundleEntry$VisibilityContext.fireElementVisibilityEvents(BundleEntry.java:334) at com.aptana.scripting.model.BundleEntry$VisibilityContext.fireElementVisibilityEvents(BundleEntry.java:321) at com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:525) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:380) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:59) at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.IfNode.interpret(IfNode.java:117) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:176) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:182) at org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187) at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.RootNode.interpret(RootNode.java:129) at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120) at org.jruby.Ruby.runInterpreter(Ruby.java:706) at org.jruby.Ruby.runInterpreter(Ruby.java:714) at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119) at com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:91) at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:61) ... 56 more Caused by: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:774) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:569) at org.eclipse.swt.browser.Browser.checkWidget(Browser.java:148) at org.eclipse.swt.browser.Browser.execute(Browser.java:472) ... 60 more {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  3. 0

    [Automation][Regression]SWTException thrown out when close a report in designer

    Eclipse Bugzilla | 9 years ago | wlin
    org.eclipse.swt.SWTException: Widget is disposed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Regression] Exception is thrown out when open and close the attached report design [00]

    Eclipse Bugzilla | 9 years ago | xwang
    org.eclipse.swt.SWTException: Widget is disposed
  6. 0

    Updating SWT periodically causes GUI to freeze

    Stack Overflow | 1 month ago | Vito
    org.eclipse.swt.SWTException: Invalid thread access

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Invalid thread access

      at org.eclipse.swt.SWT.error()
    2. RWT
      Browser.execute
      1. org.eclipse.swt.SWT.error(SWT.java:4282)
      2. org.eclipse.swt.SWT.error(SWT.java:4197)
      3. org.eclipse.swt.SWT.error(SWT.java:4168)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:774)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:569)
      6. org.eclipse.swt.browser.Browser.checkWidget(Browser.java:148)
      7. org.eclipse.swt.browser.Browser.execute(Browser.java:472)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. com.aptana.portal
      AbstractBrowserNotification.notifyTargets
      1. com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:61)
      2. com.aptana.portal.ui.internal.BrowserWrapper.callMethod(BrowserWrapper.java:76)
      3. com.aptana.portal.ui.internal.BrowserWrapper.execute(BrowserWrapper.java:129)
      4. com.aptana.portal.ui.dispatch.BrowserNotifier.notifyBrowser(BrowserNotifier.java:246)
      5. com.aptana.portal.ui.dispatch.browserNotifications.AbstractBrowserNotification.notifyTargets(AbstractBrowserNotification.java:100)
      5 frames
    5. com.aptana.samples
      SamplesManager$1.elementBecameVisible
      1. com.aptana.samples.ui.portal.actionController.SamplesNotification.notifyAdd(SamplesNotification.java:68)
      2. com.aptana.samples.ui.portal.actionController.SamplesNotification$1.sampleAdded(SamplesNotification.java:127)
      3. com.aptana.samples.internal.SamplesManager.fireSampleAdded(SamplesManager.java:346)
      4. com.aptana.samples.internal.SamplesManager.addSample(SamplesManager.java:168)
      5. com.aptana.samples.internal.SamplesManager.access$1(SamplesManager.java:140)
      6. com.aptana.samples.internal.SamplesManager$1.elementBecameVisible(SamplesManager.java:78)
      6 frames
    6. com.aptana.scripting
      BundleElement.addChild
      1. com.aptana.scripting.model.BundleManager.fireElementBecameVisibleEvent(BundleManager.java:693)
      2. com.aptana.scripting.model.BundleEntry$ChildVisibilityContext.fireVisibilityEvents(BundleEntry.java:70)
      3. com.aptana.scripting.model.BundleEntry$VisibilityContext.fireElementVisibilityEvents(BundleEntry.java:334)
      4. com.aptana.scripting.model.BundleEntry$VisibilityContext.fireElementVisibilityEvents(BundleEntry.java:321)
      5. com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:111)
      5 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. JRuby Main Maven Artifact
      EmbedEvalUnitImpl.run
      1. org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:525)
      2. org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:380)
      3. org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:59)
      4. org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
      5. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
      6. org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      7. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      8. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      9. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
      10. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
      11. org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      12. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      13. org.jruby.ast.IfNode.interpret(IfNode.java:117)
      14. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      15. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      16. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      17. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      18. org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:176)
      19. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:182)
      20. org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
      21. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      22. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      23. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      24. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      25. org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
      26. org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
      27. org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
      28. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      29. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      30. org.jruby.ast.RootNode.interpret(RootNode.java:129)
      31. org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
      32. org.jruby.Ruby.runInterpreter(Ruby.java:706)
      33. org.jruby.Ruby.runInterpreter(Ruby.java:714)
      34. org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119)
      34 frames
    9. com.aptana.scripting
      AbstractScriptRunner.run
      1. com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:91)
      2. com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144)
      2 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame