Error opening editor (layout)

by arnouf » Sun, 14 Sep 2008 18:12:19 GMT


Sponsored Links
 ello all,

I'm trying to port my Ashopper project on 0.9...
I've a problem to use Android Layout editor. Apparently some of my
layout files are bad and when I try to launch the new tool Android
Layout editor, this is crashed. I get the following error:
"Error opening the editor". When i click on the "details" button I get
the following exception. FYI, I'm using eclipse 3.2. I can compile and
run my Android apps.
Thank you for your help.

java.lang.NullPointerException
at
org.eclipse.osgi.framework.internal.core.BundleLoader.getLoaderProxy(BundleLoader.java:
253)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.createExportPackageSource(BundleLoader.java:
225)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.getImportedSources(BundleLoader.java:
215)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findImportedSource(BundleLoader.java:
908)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:
393)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:
369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:
357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:
83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:
161)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:
501)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:
471)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:
430)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:
413)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:
189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:
340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:
37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:
405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:
369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:
357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:
83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrate



Error opening editor (layout)

by Xavier Ducrohet » Mon, 15 Sep 2008 00:37:23 GMT


 'm not 100% sure this is related, but the latest plugins require Eclipse 3.3

Xav

On Sun, Sep 14, 2008 at 3:12 AM, arnouf <[EMAIL PROTECTED]> wrote:

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Error opening editor (layout)

by arnouf » Mon, 15 Sep 2008 01:24:56 GMT


 ooo!! I upgraded my Eclipse installation from 3.3 to 3.2 because I
saw on installation guide that 3.2 was required...It should be 3.3???

Hummm...I'll try this later and I come back to give a summarize !

Regards

On 14 sep, 18:37, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote:
--~--~---------~--~----~------------~-------~--~----~



Error opening editor (layout)

by Xavier Ducrohet » Mon, 15 Sep 2008 05:13:39 GMT


 revious plugins required 3.2 minimum. The new plugins that go with
the 0.9 SDK require 3.3 minimum.

Xav

On Sun, Sep 14, 2008 at 10:24 AM, arnouf <[EMAIL PROTECTED]> wrote:

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Local Service - How to actually invoke methods

Hi I have looked at the Api's demo for local service but it doesn't
show how to invoke methods on the service or activity. I got a service
that will start and stop a timer but it also laps so I want to send
the lap times back to the activity so it can be displayed in a custom
view graph. This is just a small part of the program I to write hence
the reason its in a service atm, I just want to understand how to call
methods from service to activity and vice versa.

-- 

2. Capturing Screenshots on Sprint HTC Hero (Problems)

I've seen a few guides around that show that people are able to
capture screenshots of their phone using the Android SDK tool 'ddms'.
I personally haven't been able to accomplish this successfully.  I've
tried it on 5 different computers running Windows XP Pro, and also
with Windows Vista Business and Windows 7 Pro.  Each time I'm met with
the following:

Phone is recognized in ddms.  I try to capture the screen, the
screenshot box comes up and says "screen is not available".

The ddms console window shows "W/ddms: got partial reply from ADB fb:"
and then dumps a bunch of zeros on the next line (HEX patterns I
believe).

I KNOW some of you have been able to capture screens with the Sprint
HTC Hero.  If that's the case, let's see some information here to try
and troubleshoot this.  Post operating systems, SDK versions, java
versions, and maybe any identifying things about your HTC Hero (Evdo
Rev. A or 0?  I don't think it'd matter though).

 Here are a few things I've tried:

1. Several different computers.
2. All 3 32-bit Windows Operating Systems.
3. Rebooting the phone while connected to the PC.
4. Removing the HTC USB driver and installing the one included with
the SDK.
5. Factory resetting my phone (in case an app was causing a problem).

I really want to see if this is a common issue.  App developers need
to be able to make these kinds of screen captures, and so do people
who run websites and perform other types of press work.  I know there
are a few programs out there that screen capture if you root your
device.  I haven't really found a reliable guide for rooting the Hero
and I would prefer not to void a warranty here.

-- 

3. Android emulator start up error ?

4. Problem configuring the app widget with bitmap image using remote views

5. need help to figure out the issue with emulator on Fedora 10 64 bit. I'm new to this development.

6. Need help from Motorola Droid owners to port 3G Watchdog application

7. Figure on transparent background: Change the color?