I had the same errors as mentioned above. At some point I decided to reinstall ADT and found, that I was using the 0.8 version of Android Editor, which I installed several months ago. I uninstalled the Android Editor 0.8 and did a new install (see guide here: http://developer.android.com/sdk/1.5_r2/upgrading.html). This solved my problems.
On 9 Jun., 14:46, johann_fr <johann.vanack...@gmail.com> wrote: > Same error, just using the new Android project wizard, open res/layout/ > main.xml, ctrl-space anywhere in the file => error occurs. > > I noticed that the layout view in the editor is not working too... > > Config : Eclipse 3.4.2, Windows XP, Android SDK 1.5r2 > > On 7 juin, 20:41, dana <dana...@gmail.com> wrote: > > > yes, i got the same error. > > > Any project says > > > [2009-06-07 11:35:03 - TestAndriod] Unknown error: > > java.lang.NullPointerException > > while doing a build for ANY project > > > I am using Eclipse 3.4.2 > > XP > > SDK 1.5r2 > > > Any feedback? > > > Dana > > > On May 27, 6:32 am, chtiboss <chtib...@gmail.com> wrote: > > > > Eclipse 3.4.2 > > > Windows XP Pro > > > SDK 1.5 r2 > > > in any XML file (main.xml at least) > > > it bug appear anywhere in the File > > > For exemple this bug appear in the sample XML > > > "hello-linearlayout"http://developer.android.com/guide/tutorials/views/hello-linearlayout... > > > > On 26 mai, 23:57, Raphael <r...@android.com> wrote: > > > > > Hi, > > > > > I'm trying to reproduce this and hmm well I don't manage to get this > > > > error. > > > > Could you help me a bit? > > > > - Which version of Eclipse are you using? > > > > - Which OS platform? > > > > - Which SDK? > > > > - Does that happen on any XML file or just some of them? > > > > - Does it break anywhere in the XML file or in some specific context? > > > > (between elements, inside an element, on an attribute name or > > > > attribute value?) > > > > - Can you try to reproduce that using one of the SDK samples XML files? > > > > > I'm trying to narrow the issue. > > > > Thanks in advance. > > > > R/ > > > > > On Mon, May 25, 2009 at 8:29 PM, solid <young...@gmail.com> wrote: > > > > > > I just upgraded to thelatestadt(0.9.1) and now I am getting null > > > > > pointer in eclipse when I try to invoke the content assistant (ctrl > > > > > +space) on andoid xml files such as the layout files. Also the > > > > > outline does not appear to be linked to the XML files any more. Below > > > > > is the log from eclipse when I hit ctrl+space. Is there any way I can > > > > > fixadt??? > > > > > > !ENTRY org.eclipse.ui 4 0 2009-05-25 23:18:47.253 > > > > > !MESSAGE java.lang.NullPointerException > > > > > !STACK 0 > > > > > java.lang.NullPointerException > > > > > at > > > > > com.android.ide.eclipse.editors.AndroidContentAssist.computeCompletionProposals > > > > > (Unknown Source) > > > > > at > > > > > org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals > > > > > (CompoundContentAssistProcessor.java:300) > > > > > at > > > > > org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals > > > > > (ContentAssistant.java:1836) > > > > > at > > > > > org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals > > > > > (CompletionProposalPopup.java:555) > > > > > at > > > > > org.eclipse.jface.text.contentassist.CompletionProposalPopup.access > > > > > $16(CompletionProposalPopup.java:552) > > > > > at > > > > > org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run > > > > > (CompletionProposalPopup.java:487) > > > > > at > > > > > org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java: > > > > > 70) > > > > > at > > > > > org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals > > > > > (CompletionProposalPopup.java:481) > > > > > at > > > > > org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions > > > > > (ContentAssistant.java:1664) > > > > > at > > > > > org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation > > > > > (StructuredTextViewer.java:437) > > > > > at org.eclipse.ui.texteditor.TextOperationAction$1.run > > > > > (TextOperationAction.java:131) > > > > > at > > > > > org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java: > > > > > 70) > > > > > at org.eclipse.ui.texteditor.TextOperationAction.run > > > > > (TextOperationAction.java:129) > > > > > at > > > > > org.eclipse.jface.action.Action.runWithEvent(Action.java:498) > > > > > at > > > > > org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java: > > > > > 185) > > > > > at > > > > > org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute > > > > > (LegacyHandlerWrapper.java:109) > > > > > at > > > > > org.eclipse.core.commands.Command.executeWithChecks(Command.java: > > > > > 476) > > > > > at > > > > > org.eclipse.core.commands.ParameterizedCommand.executeWithChecks > > > > > (ParameterizedCommand.java:508) > > > > > at > > > > > org.eclipse.ui.internal.handlers.HandlerService.executeCommand > > > > > (HandlerService.java:169) > > > > > at > > > > > org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand > > > > > (WorkbenchKeyboard.java:472) > > > > > at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press > > > > > (WorkbenchKeyboard.java:824) > > > > > at > > > > > org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent > > > > > (WorkbenchKeyboard.java:882) > > > > > at > > > > > org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings > > > > > (WorkbenchKeyboard.java:571) > > > > > at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3 > > > > > (WorkbenchKeyboard.java:512) > > > > > at org.eclipse.ui.internal.keys.WorkbenchKeyboard > > > > > $KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127) > > > > > at > > > > > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > > > > > at > > > > > org.eclipse.swt.widgets.Display.filterEvent(Display.java:1436) > > > > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1157) > > > > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182) > > > > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167) > > > > > at > > > > > org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1194) > > > > > at > > > > > org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java: > > > > > 698) > > > > > at > > > > > org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java: > > > > > 2765) > > > > > at org.eclipse.swt.widgets.Composite.gtk_key_press_event > > > > > (Composite.java:702) > > > > > at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1543) > > > > > at > > > > > org.eclipse.swt.widgets.Control.windowProc(Control.java:4506) > > > > > at > > > > > org.eclipse.swt.widgets.Display.windowProc(Display.java:4099) > > > > > at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native > > > > > Method) > > > > > at > > > > > org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5792) > > > > > at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177) > > > > > at > > > > > org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native > > > > > Method) > > > > > at > > > > > org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java: > > > > > 1550) > > > > > at > > > > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031) > > > > > at > > > > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: > > > > > 2384) > > > > > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) > > > > > at > > > > > org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) > > > > > at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) > > > > > at org.eclipse.core.databinding.observable.Realm.runWithDefault > > > > > (Realm.java:288) > > > > > at org.eclipse.ui.internal.Workbench.createAndRunWorkbench > > > > > (Workbench.java:490) > > > > > 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:193) > > > > > 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:386) > > > > > 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:549) > > > > > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) > > > > > at org.eclipse.equinox.launcher.Main.run(Main.java:1236) > > > > > at org.eclipse.equinox.launcher.Main.main(Main.java:1212)- > > > > > Hide quoted text - > > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---