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. Why isn't this layout file working?

You want to use the XML attribute *android:layout_weight="1"* so that the
element will take up as much space as it can. I edited your layout and
posted a working version below.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:orientation="vertical"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"

       <TableLayout
               android:layout_width="fill_parent"
               android:layout_height="wrap_content"
       >
               <TableRow>
                       <TextView
                               android:layout_width="wrap_content"
                               android:layout_height="wrap_content"
                               android:text="Artist"
                               android:padding="10sp"
                       />
                       <EditText
                               android:layout_weight="1"
                               android:layout_height="wrap_content"
                               android:layout_marginRight="10sp"
                               android:singleLine="true"
                       />
               </TableRow>

               <TableRow>
                       <TextView
                               android:layout_width="wrap_content"
                               android:layout_height="wrap_content"
                               android:text="Title"
                               android:padding="10sp"
                       />
                       <EditText
                               android:layout_weight="1"
                               android:layout_height="wrap_content"
                               android:layout_marginRight="10sp"
                               android:singleLine="true"
                       />
               </TableRow>
       </TableLayout>

</LinearLayout>





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

2. Android Market's "Publish" Button does nothing

I'm a bit upset, to say the least. I registered for the market, paid
the 25$, and when i hit "publish" after setting up an app for the
store, nothing happens. I've tried it on both Opera, and Firefox, and
they both yeild the same results... NOTHING. I'm running Ubuntu, so i
don't have internet explorer or safari to test with... but i shouldn't
have to. THis is rediculous. What's the hold up?
--~--~---------~--~----~------------~-------~--~----~

3. bionic for x86?

4. Linkify addresses

5. Unable to resolve superclass of Overlay and MapPoint

6. NUMBER_KEY not updated when phone number in Contacts is changed by user

7. Location-based Service APIs