Results 1 to 4 of 4

Hey There, Dunno what's wrong with my device, but something seems to have gone wrong. ... Software & Theme Development forum

  1. #1
    mdwheaton's Avatar
    mdwheaton no está en línea Stack level 2
    Join Date
    Feb 2007
    Posts
    92

    8100 Issue: Error starting HelloWorld: Symbol 'TextField.<init>' not found.

    Advertisement



    Hey There,

    Dunno what's wrong with my device, but something seems to have gone wrong.

    Below is the simple HelloWorld and I cannot get it to work correctly on my device.

    When I compile, and create the .alx, the program works fine on the simulator.

    However, after installing on my Pearl I get the following error dialog:

    Error starting HelloWorld: Symbol 'TextField.' not found.

    I had upgraded the device's OS and later decided I wanted to return the device to its factory state. In doing so, I ran a full wipe of the device using the JL_Cmder program and reloaded the original OS.

    Since then, whenever I try to install the Hello World application, I see the following informational message in the BlackBerry Desktop Manager Application Loader Dialog:

    Applications to be erased:
    BlackBerry API Library

    This seems very suspicious to me.

    What have I done to my wonderful little Pearl !!!

    Below is the simple HelloWorld.java I'm using to get this same error.
    =======================================

    Code:
    package com.rim.samples.device.helloworld;
    
    import net.rim.device.api.system.Characters;
    import net.rim.device.api.ui.Screen;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.component.TextField;
    import net.rim.device.api.ui.container.MainScreen;
    
    /**
     * 
    Code:
    
     * The HelloWorld sample demonstrates some of the most basic features of the RIM
     * UI and internationalization (i18n).
     */
    public class HelloWorld extends UiApplication {
        // statics
        // ------------------------------------------------- -----------------
        public static void main(String[] args) {
            HelloWorld theApp = new HelloWorld();
            theApp.enterEventDispatcher();
        }
    
        /**
         * 
    
         * the default constructor. Creates all the RIM UI components and pushes the
         * application's root screen onto the UI stack
         */
        public HelloWorld() {
            pushScreen(new HelloWorldScreen());
        }
    
    }
    
    final class HelloWorldScreen extends MainScreen {
    
        public HelloWorldScreen() {
            super(Screen.DEFAULT_MENU | Screen.DEFAULT_CLOSE);
    
            setTitle(new LabelField("Hello World Title", LabelField.ELLIPSIS
                    | LabelField.USE_ALL_WIDTH));
    
            TextField fieldOne = new TextField("Label", "Value");
            add(fieldOne);
        }
    
        public boolean onClose() {
            Dialog.alert("Closing.");
            System.exit(0);
            return true;
        }
    
        public boolean keyChar(char key, int status, int time) {
            boolean retval = false;
            switch (key) {
            case Characters.ESCAPE:
                onClose();
                retval = true;
                break;
            }
            return retval;
        }
    }
    

  2. #2
    cp6169's Avatar
    cp6169 no está en línea Device Pro
    Join Date
    Mar 2006
    PIN/ID
    3056468b
    Posts
    14,661

    Re: 8100 Issue: Error starting HelloWorld: Symbol 'TextField.<init>' not found.

    Not my area, anyone else?

  3. #3
    StaceyRVC's Avatar
    StaceyRVC no está en línea Community pro
    Join Date
    Jun 2006
    PIN/ID
    Ask Me!
    Posts
    9,321

    Re: 8100 Issue: Error starting HelloWorld: Symbol 'TextField.<init>' not found.

    This looks like a program writing app screen shot to me

  4. #4
    mdwheaton's Avatar
    mdwheaton no está en línea Stack level 2
    Join Date
    Feb 2007
    Posts
    92

    SOLVED :: 8100 Issue: Error starting HelloWorld: Symbol 'TextField.<init>' not found.

    Turns out that TextField is part of the 4.2.1 API and not 4.2.0.

    I had upgraded my OS to 4.2.1 (Italian release), then downgraded to a 4.2.0 release which broke all my code. It still compiled and installed (strangely), but didn't run.

    Thanks for all those who took a look.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •