[android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!
Sounds as if you may be being being hit with the same issue as this: http://code.google.com/p/android/issues/detail?id=21051colspec=ID%20Type%20Status%20Owner%20Summary%20Starsstart=100 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!
Great thanks Kostya that fixed my problem :) Do you know what it fixed by any chance ? Steve On Oct 25, 3:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: Try right clicking on the project, then choosing Android - Fix project properties, then closing and reopening the workspace. 25.10.2011 18:00, swebb99 пишет: I updated the android SDK's, basically installed and updated everything. Now when I open existing applications I've been working on I get an error when trying to view existing layouts java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configura tionComposite.onXmlModelLoaded(ConfigurationComposite.java: 689) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPar t.onTargetChange(GraphicalEditorPart.java: 970) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescript orsChanged(LayoutEditor.java: 568) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRoot Node(LayoutEditor.java: 490) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelCh anged(LayoutEditor.java: 309) So basically any existing project I can only see the xml. If I start a new project using the same API 2.3.1 as the existing projects it opens the graphical view fine! Any idea's ? Thanks in advance. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!
When something doesn't work... I kill eclipse and re-start it. Fixes a few things almost all the time. Has been happening lately with the new ADT update. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Oct 25, 2011 at 10:39 PM, swebb99 sweb...@gmail.com wrote: Great thanks Kostya that fixed my problem :) Do you know what it fixed by any chance ? Steve On Oct 25, 3:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: Try right clicking on the project, then choosing Android - Fix project properties, then closing and reopening the workspace. 25.10.2011 18:00, swebb99 пишет: I updated the android SDK's, basically installed and updated everything. Now when I open existing applications I've been working on I get an error when trying to view existing layouts java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configura tionComposite.onXmlModelLoaded(ConfigurationComposite.java: 689) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPar t.onTargetChange(GraphicalEditorPart.java: 970) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescript orsChanged(LayoutEditor.java: 568) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRoot Node(LayoutEditor.java: 490) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelCh anged(LayoutEditor.java: 309) So basically any existing project I can only see the xml. If I start a new project using the same API 2.3.1 as the existing projects it opens the graphical view fine! Any idea's ? Thanks in advance. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!
Empirically, this adds a new entry to the project's .classpath, but I don't have the slightest idea why it has this effect on the ADT XML editors: https://groups.google.com/forum/#!topic/android-developers/DdE5Ql_OZsY https://groups.google.com/forum/#%21topic/android-developers/DdE5Ql_OZsY -- Kostya 25.10.2011 21:09, swebb99 пишет: Great thanks Kostya that fixed my problem :) Do you know what it fixed by any chance ? Steve On Oct 25, 3:23 pm, Kostya Vasilyevkmans...@gmail.com wrote: Try right clicking on the project, then choosing Android - Fix project properties, then closing and reopening the workspace. 25.10.2011 18:00, swebb99 пишет: I updated the android SDK's, basically installed and updated everything. Now when I open existing applications I've been working on I get an error when trying to view existing layouts java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configura tionComposite.onXmlModelLoaded(ConfigurationComposite.java: 689) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPar t.onTargetChange(GraphicalEditorPart.java: 970) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescript orsChanged(LayoutEditor.java: 568) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRoot Node(LayoutEditor.java: 490) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelCh anged(LayoutEditor.java: 309) So basically any existing project I can only see the xml. If I start a new project using the same API 2.3.1 as the existing projects it opens the graphical view fine! Any idea's ? Thanks in advance. -- Kostya Vasilyev -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!
Tried restarting Kumar, had no effect but the tip about fix the project did! On Oct 25, 6:11 pm, Kumar Bibek coomar@gmail.com wrote: When something doesn't work... I kill eclipse and re-start it. Fixes a few things almost all the time. Has been happening lately with the new ADT update. *Thanks and Regards, Kumar Bibek* *http://techdroid.kbeanie.comhttp://www.kbeanie.com* On Tue, Oct 25, 2011 at 10:39 PM, swebb99 sweb...@gmail.com wrote: Great thanks Kostya that fixed my problem :) Do you know what it fixed by any chance ? Steve On Oct 25, 3:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: Try right clicking on the project, then choosing Android - Fix project properties, then closing and reopening the workspace. 25.10.2011 18:00, swebb99 пишет: I updated the android SDK's, basically installed and updated everything. Now when I open existing applications I've been working on I get an error when trying to view existing layouts java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configura tionComposite.onXmlModelLoaded(ConfigurationComposite.java: 689) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPar t.onTargetChange(GraphicalEditorPart.java: 970) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescript orsChanged(LayoutEditor.java: 568) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRoot Node(LayoutEditor.java: 490) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelCh anged(LayoutEditor.java: 309) So basically any existing project I can only see the xml. If I start a new project using the same API 2.3.1 as the existing projects it opens the graphical view fine! Any idea's ? Thanks in advance. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!
Strange, I thought I did a comparison between the working project and the one that didn't and the paths looked the same. Oh well something subtle has obviously changed. I've raised an issue about this: http://code.google.com/p/android/issues/detail?id=21217q=graphical%20viewcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars On Oct 25, 6:20 pm, Kostya Vasilyev kmans...@gmail.com wrote: Empirically, this adds a new entry to the project's .classpath, but I don't have the slightest idea why it has this effect on the ADT XML editors: https://groups.google.com/forum/#!topic/android-developers/DdE5Ql_OZsY https://groups.google.com/forum/#%21topic/android-developers/DdE5Ql_OZsY -- Kostya 25.10.2011 21:09, swebb99 пишет: Great thanks Kostya that fixed my problem :) Do you know what it fixed by any chance ? Steve On Oct 25, 3:23 pm, Kostya Vasilyevkmans...@gmail.com wrote: Try right clicking on the project, then choosing Android - Fix project properties, then closing and reopening the workspace. 25.10.2011 18:00, swebb99 пишет: I updated the android SDK's, basically installed and updated everything. Now when I open existing applications I've been working on I get an error when trying to view existing layouts java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configura tionComposite.onXmlModelLoaded(ConfigurationComposite.java: 689) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPar t.onTargetChange(GraphicalEditorPart.java: 970) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescript orsChanged(LayoutEditor.java: 568) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRoot Node(LayoutEditor.java: 490) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelCh anged(LayoutEditor.java: 309) So basically any existing project I can only see the xml. If I start a new project using the same API 2.3.1 as the existing projects it opens the graphical view fine! Any idea's ? Thanks in advance. -- Kostya Vasilyev -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en