• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

FlexUnit Errors

Explorer ,
Jul 14, 2010 Jul 14, 2010

Copy link to clipboard

Copied

Hi,

I have several Library Projects with FlexUnit tests within them. They were running fine.

I am now getting "java.lang.reflect.InvocationTargetException" errors all the time. I've attached that, although I was getting some missing resource bundle errors as well. I think I've resolved that latter issues.

And FYI I'm on Mac (10.6.4) running Flash Builder plug-in (4.0, not ready to plunge into 4.0.1, yet, unless it helps with this particular issue) with Eclipse 3.5.2 M20100211-1343. I'm running Subclipse 1.6.10, HgEclipse 1.5.0.201001202311, AnyEditTools 2.3.200910041235, as well as a few other plug-ins.

Any help is greatly appreciated.

TIA,

Kirk

java.lang.reflect.InvocationTargetException

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard.performFinish(ApplicationCreationAndConfigurationDialog.java:421)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

at org.eclipse.jface.window.Window.open(Window.java:801)

at com.adobe.flexbuilder.flexunit.debug.contextMenu.FlexUnitUtil.launchApplicationRunDialog(FlexUnitUtil.java:420)

at com.adobe.flexbuilder.flexunit.debug.dialog.FlexUnitLaunchShortcut.launchInternal(FlexUnitLaunchShortcut.java:92)

at com.adobe.flexbuilder.flexunit.debug.dialog.FlexUnitLaunchShortcut.launch(FlexUnitLaunchShortcut.java:65)

at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434)

at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:73)

at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:121)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)

at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Caused by: java.lang.ClassCastException: com.adobe.flexbuilder.mxmlmodel.inlinestates.internal.SUnknownTag cannot be cast to com.adobe.flexbuilder.mxmlmodel.IInstance

at com.adobe.flexbuilder.mxmlmodel.AbstractArrayAccessor.newInstance(AbstractArrayAccessor.java:120)

at com.adobe.flexbuilder.mxmlmodel.inlinestates.internal.SContentHolder.newInstance(SContentHolder.java:58)

at com.adobe.flexbuilder.mxmlmodel.AbstractMXMLItem.newInstance(AbstractMXMLItem.java:221)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.insertComponent(ApplicationCreationUtil.java:1006)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.modifyApplicationTagAndInsertTestRunnerComponent(ApplicationCreationUtil.java:384)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.insertMXMLContent(ApplicationCreationUtil.java:330)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.createMXMLFlexUnitApplication(ApplicationCreationUtil.java:304)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.createFlexUnitApplication(ApplicationCreationUtil.java:129)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard.createAndLaunchApplicationFile(ApplicationCreationAndConfigurationDialog.java:479)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard.access$1(ApplicationCreationAndConfigurationDialog.java:471)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard$1.run(ApplicationCreationAndConfigurationDialog.java:413)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

... 58 more

Root exception:

java.lang.ClassCastException: com.adobe.flexbuilder.mxmlmodel.inlinestates.internal.SUnknownTag cannot be cast to com.adobe.flexbuilder.mxmlmodel.IInstance

at com.adobe.flexbuilder.mxmlmodel.AbstractArrayAccessor.newInstance(AbstractArrayAccessor.java:120)

at com.adobe.flexbuilder.mxmlmodel.inlinestates.internal.SContentHolder.newInstance(SContentHolder.java:58)

at com.adobe.flexbuilder.mxmlmodel.AbstractMXMLItem.newInstance(AbstractMXMLItem.java:221)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.insertComponent(ApplicationCreationUtil.java:1006)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.modifyApplicationTagAndInsertTestRunnerComponent(ApplicationCreationUtil.java:384)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.insertMXMLContent(ApplicationCreationUtil.java:330)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.createMXMLFlexUnitApplication(ApplicationCreationUtil.java:304)

at com.adobe.flexbuilder.flexunit.ApplicationCreationUtil.createFlexUnitApplication(ApplicationCreationUtil.java:129)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard.createAndLaunchApplicationFile(ApplicationCreationAndConfigurationDialog.java:479)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard.access$1(ApplicationCreationAndConfigurationDialog.java:471)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard$1.run(ApplicationCreationAndConfigurationDialog.java:413)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)

at com.adobe.flexbuilder.flexunit.debug.dialog.ConfigurationWizard.performFinish(ApplicationCreationAndConfigurationDialog.java:421)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

at org.eclipse.jface.window.Window.open(Window.java:801)

at com.adobe.flexbuilder.flexunit.debug.contextMenu.FlexUnitUtil.launchApplicationRunDialog(FlexUnitUtil.java:420)

at com.adobe.flexbuilder.flexunit.debug.dialog.FlexUnitLaunchShortcut.launchInternal(FlexUnitLaunchShortcut.java:92)

at com.adobe.flexbuilder.flexunit.debug.dialog.FlexUnitLaunchShortcut.launch(FlexUnitLaunchShortcut.java:65)

at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434)

at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:73)

at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:121)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)

at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Views

538

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 15, 2010 Jul 15, 2010

Copy link to clipboard

Copied

LATEST

Well I am not good in Java and it's a Java error. One of Java expert will help you surely.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines