Ah thanks for the stack trace. I was trying to reproduce I couldn't, Do you have Android projects in your workspace that are broken? (ie they don't have a valid target?) That would be a reason for the NPE to show up.
We have fixed the error already. I might look into pushing the fix sooner than later. Xav On Tue, May 25, 2010 at 2:48 PM, TAKEphONE <[email protected]> wrote: > Same here ! > > On May 25, 4:40 pm, Marc Lester Tan <[email protected]> wrote: >> Hi all, >> >> I've just upgraded my SDK to 2.2 and now when trying to export signed >> application in Eclipse, I am getting the following exception: >> >> *Message:* >> Unhandled event loop exception >> >> *Exception Stack Trace:* >> java.lang.NullPointerException >> at >> com.android.ide.eclipse.adt.internal.project.ProjectChooserHelper$NonLibrar >> yProjectOnlyFilter.accept(Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.getAndroidPr >> ojects(Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.getAndroidPr >> ojects(Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.project.ProjectChooserHelper.getAndroi >> dProjects(Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.wizards.export.ProjectCheckPage.handle >> ProjectNameChange(Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.wizards.export.ProjectCheckPage.access >> $0(Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.wizards.export.ProjectCheckPage$1.modi >> fyText(Unknown >> Source) >> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167) >> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1250) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1273) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1254) >> at org.eclipse.swt.widgets.Text.setText(Text.java:1801) >> at >> com.android.ide.eclipse.adt.internal.wizards.export.ProjectCheckPage.onShow >> (Unknown >> Source) >> at >> com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard$ExportWiza >> rdPage.setVisible(Unknown >> Source) >> at >> org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:11 >> 99) >> at >> org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:551) >> at org.eclipse.jface.window.Window.create(Window.java:431) >> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) >> at org.eclipse.jface.window.Window.open(Window.java:790) >> at >> com.android.ide.eclipse.adt.internal.wizards.actions.ExportWizardAction.run >> (Unknown >> Source) >> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) >> at >> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Actio >> nContributionItem.java:584) >> at >> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribution >> Item.java:501) >> at >> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContrib >> utionItem.java:411) >> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1250) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1273) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) >> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1079) >> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3441) >> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3100) >> 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(EclipseA >> ppLauncher.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:3 >> 9) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >> l.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) >> >> *Session Data:* >> eclipse.buildId=unknown >> java.version=1.6.0_20 >> java.vendor=Apple Inc. >> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US >> Framework arguments: -product org.eclipse.epp.package.jee.product -keyring >> /Users/marc/.eclipse_keyring -showlocation >> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product >> org.eclipse.epp.package.jee.product -keyring /Users/marc/.eclipse_keyring >> -showlocation >> >> Anyone experiencing the same problem? Any resolution? Thanks in advance. >> >> Regards, >> Marc >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group >> athttp://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

