Matthais, Thanks for the advice. I disabled and uninstalled ASDT as you suggested (and will make sure I do that in future). Unfortunately I had no luck.
I just downloaded a fresh install of Eclipse 3.2 (3.3 won't work on my machine for some reason) and set that up in a new folder, installed ASDT and tried to open an .as file. It wouldn't work again but this time I got the error below. Anyone got any ideas? I'm wondering if my java install is screwed or something? I'm running the Java Runtime Environment 1.6.0. Cheers, nik ps: The error when attempting to open an .as file: java.lang.NullPointerException at org.asdt.model.resources.AbstractCache.getType(AbstractCache.java:69) at org.asdt.editor.ActionScript2Editor.getCompilationUnit(ActionScript2Edit or.java:351) at org.asdt.editor.internal.ASFoldingStructure.updateFoldingStructure(ASFol dingStructure.java:79) at org.asdt.editor.ActionScript2Editor.createPartControl(ActionScript2Edito r.java:194) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference .java:596) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java: 372) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartRefe rence.java:566) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Present ablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select( PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(Le ftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selec tPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack .java:1144) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311) at org.eclipse.ui.internal.PartStack.add(PartStack.java:455) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102) at org.eclipse.ui.internal.PartStack.add(PartStack.java:441) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContaine r.java:60) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.ja va:217) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java :207) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java :822) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorMan ager.java:721) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:682) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPag e.java:2593) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java: 2528) at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500 ) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2477 ) at org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExte rnalFileAction.java:132) at org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExte rnalFileAction.java:100) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.j ava:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac tionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut ionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont ributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4 22) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva tor.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat ion(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip seAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: 16 July 2007 14:42 To: Open Source Flash Mailing List Subject: Re: [osflash] ASDT: anyone had problems with the new beta? Hi Nik, did you have ASDT 0.8.0 installed before? You should have deinstall it before switching to the new beta. I am using 0.9.0 and have no problems here. Btw. you can have multiple instances of Eclipse with different plugins installed which might be a good idea to not mix Flexbuilder with ASDT. I hope you give ASDT a new try! Nonetheless, you can deinstall plugins in eclipse this way: * Help > Software updates > Manage Configuration * select the plugin you which to deinstall * "Disable" * After disabling the plugin (and a restart of Eclipse) you're able to deinstall the plugin at the same point. Please report how you're doing. hth, Matthias 2007/7/16, Nik Goile <[EMAIL PROTECTED]>: > > > > > Hi guys, > > I updated the ASDT eclipse plugin to the new beta last week and my > ActionScript perspective now doesn't work correctly. The problem is that I > can't open any .as files using the ActionScript 2 Editor. A blank window > opens with "ActionScript 2 Edtior" on the tab and nothing in the window. > > > > I have FlexBuilder 2 installed so wondered if this may have something to do > with it (the new ASDT beta stole the .as file reference from Flex script > editor in the Flex perspective). Also I'm using Eclipse 3.1 - would this > have something to do with it? > > > > Anyone else had this problem or has any ideas? If not, anyone know how to > get rid of the new version of ASDT and go back to the old build? > > > > I hope someone can help as ASDT is a great bit of kit. I would be gutted if > I had to go back to coding AS2 in the Flash IDE! > > > > Cheers in advance, > > Nik > > > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
