JAXP: code works with JDK1.3.1/Xerces but not JDK1.4.1

Switching from JDK 1.3.1 with the Xerces XML parser to JDK 1.4.1 with its
bundled XML parser breaks my code. Here is the exception I am
seeing:
Exception in thread "main" com.post.bean.BeanException com.post.bean.Bea
nException: Relative URI "bean.dtd"; can not be resolved without a base URI.
at com.post.bean.BeanSerializer.deserialize(BeanSerializer.java:176)
at com.post.BeanSerializer1.deserialize(BeanSerializer1.java:38)
at com.post.BeanSerializer1.main(BeanSerializer1.java:17)
Here is a code fragment that worked fine with JDK1.3.1 and xerces but
not with JDK1.4.1:
public static Object deserialize(InputStream input, EntityResolver
resolver)
throws BeanException
Object bean = null;
try
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating(true);
factory.setNamespaceAware(false);
DocumentBuilder builder = factory.newDocumentBuilder();
if (resolver != null)
builder.setEntityResolver(resolver);
Document doc = builder.parse(input); // exception thrown here
Element root = doc.getDocumentElement();
The entity resolver I'm using searches for dtds in
a certain directory. Again this works fine with JDK1.3.1
and Xerces but not with JDK1.4.1.
Any ideas on how to remedy this situation?
Thanks

this generally happens when two similar libs conflict with each other. Try any of theses quick fixes: (Remember, 90% of probs in java are Classpath, packages and directory structure issues)
1. remove completely your previous version of JDK and Xerces.
2. Remove your classpath variable from system path.
3. Have "only the required" jar files during compilation. For this use the -D option.
4. If everything fails, download ANT. Write a simple build.xml file. This is a good replacement to the -D option. But make sure, you are working in a clean JDK environment. Try to monitor your classpaths at run time, and get rid of all the unnecessary once.
5. MAke sure that Xerces libs bundled with 1.4 are in your classpath at runtime.
Finally All the best, and happy XMLing+Javing !!
Rakesh

Similar Messages

  • Hi, I have a Indesign user who inherited a PC with Indesign installed. Indesign works with old PC user profile but not the new user. Any ideas how I can resolve this?

    Hi, I have a Indesign user who inherited a PC with Indesign installed. Indesign works with old PC user profile but not the new user. Any ideas how I can resolve this?

    Question # 1 is what do you mean by "inherited"? Is this a case where the computer belonged to someone else? Your user would not be entitled to use a program licensed to someone else.

  • Designer 7.0  form working with Reader 7.0.5 but not Reader 7.0.8

    Hello everyone,
    I was wondering if anyone has had a problem with a formed created using Designer 7.0 that was working with Reader 7.0.5 but no longer functions with Reader 7.0.8?
    The form consists of a numeric textbox N1 and 2 checkboxes C1[0] and C1[1].
    All code is done using FormCalc.
    Here is the situation: if the number in the numeric box is blank or not greater then zero, then neither check box can be checked. Both check boxes can not be checked at the same time. If the value in the numeric box is greater then zero, the checkboxes may or may not be checked (again both can not be checked at the same time).
    N1 has code the following code in its exit event:
    if (($.isNull) or ($.rawValue le 0)) then
    C1[0].rawValue = 0 //if not positive value, checkboxes must be blank
    C1[1].rawValue = 0
    endif
    C1[0] has the following code in its click and exit event
    if (C1[0].rawValue == 1) then
    C1[1].rawValue = 0 //C1[0] and C1[1] can not both be checked
    endif
    if ((N1.isNull) or (N1.rawValue le 0)) then
    $.rawValue = 0 //uncheck if N1 is not positive
    endif
    C1[1] has the following code in its click and exit event
    if (C1[1].rawValue == 1) then
    C1[0].rawValue = 0 //C1[0] and C1[1] can not both be checked
    endif
    if ((N1.isNull) or (N1.rawValue le 0)) then
    C1[1].rawValue = 0 //uncheck if N1 is not positive
    endif
    The above code worked exactly as described when the form was used in Reader 7.0.5.
    Under Reader 7.0.8 the following happens:
    if N1 is blank or less then or equal to zero, both checkboxes can be checked at the same time (this should not happen at all) but neither can be unchecked
    if N1 is positive the code (and checkboxes) function as described.
    I am not sure if this is a Designer issue or a Professional/Reader issue, so I am posting this here as well as in the other 2 spots.
    Any help is greatly appreciated,
    Ben

    Chris,
    Thank you for the sample you provided. First, I must apologize for not mentioning that there was additional code in the Click event. I thought I had removed it from my form, but apparently I had not.
    I have compare the sample you provided to my form. I noticed several differences between them. First was that you used Designer 7.1 to create your sample, whereas I used Designer 7.0. I do not believe that this will have an impact, although it is possible. Also, in your sample, then click and exit events both need to contain the same "check" code. Your sample has one IF statement in the click event and one IF statement in the exit event. To match my form code, the Click and Exit events together need to contain both IF statements. My form originally contained the code in the Change event also.
    i.e. C1[0] has the following code in both its Click, Exit and Change events
    if (C1[0].rawValue == 1) then
    C1[1].rawValue = 0 //C1[0] and C1[1] can not both be checked
    endif
    if ((N1.isNull) or (N1.rawValue le 0)) then
    $.rawValue = 0 //uncheck if N1 is not positive
    endif
    and similarly for C1[1].
    Based off your sample, I did some more digging and found that the problem is caused by the Change event for the checkboxes. I have removed the code from the Change event and now the form works as desired.
    So, if the Change event has NO code, and if the Click and Exit events for the checkboxes have both IF statements the overall behavior (as specified earlier) is identical (and what I am looking for) for both Reader 7.0.5 and 7.0.8.
    Now, if I add the IF statements to the Change event (without removing them from Click and Exit), the behavior in Reader 7.0.5 does not change (works as specified). In Reader 7.0.8, the checkboxes can not be unchecked if N1 is blank.
    So my questions now become:
    1) What has actually changed between Reader 7.0.5 and 7.0.8 (i.e. more detailed description than the generic release notes)?
    2) Which one actually exhibits the correct behavior?
    3) If this is a change to the event model, is this documented anywhere?
    Thanks again,
    Ben

  • Why does my javascript code work fine in all other browsers, but not Safari

    Previously, I have asked how Safari handles javascript trying to resolve a problem with a slide menu, (http://www.designoutput.com/testslide.html) being directed to validator. I have corrected as many things as possible and still have code work in other browsers. Why will my code work in all other browsers (IE 5.2, Firfox, Netscape, and Opera) and not Safari. It appears that Apple would address some of the problems that people are listing. Possibly, my problem is not with Safari, but my code, if so why does it work in all other browsers. Having more knowledge of how Safari accepts code or handles code differently than other browsers would be helpful. It would be nice if I could debug my code in Safari step by step to know where the problem is at. I'm just frustrated with Safari after working on my problem for over a month. Would be very greatful to anyone that could just being to get my code to appear in Safari (only a blank page in Safari, menu appears in all other browsers)
    G4 AGP 400, Powerbook G4, G4 Siver 733   Mac OS X (10.4.7)  

    you seem to have deleted even more end tags. elements (<a>, <div>, <td>, etc.) need to be closed (</a>, </div>, </td>, etc.) to structure the code properly.
    incorrect:
    document.write(<font ...><b>example)
    correct:
    document.write(<font...><b>example</b></font>)
    check out w3schools for html and javascript help.
    the ilayer tag should only be in your NS (i.e. not NS6) code, but it too needs to be closed.
    i don't use IE, but with these fixes i've gotten your page to display fine in safari, firefox and opera.
    iBook g4     OS X.4.x

  • Select formula works with one set of data but not another??

    Post Author: rkckjk
    CA Forum: Formula
    I have the folloing Select formula:{Sheet1_.Assign Group History} = '{"COMPUTER OPERATIONS"}' and{Sheet1_.Resolved By Group} = "COMPUTER OPERATIONS"That I'm using to select records from an Excel spreadsheet. It works fine with the Jan. 2008 spreadsheet file: Test MTTR Jan 2008.xlsbut not with the Feb. 2008 spreadsheet: Test MTTR Feb 2008.xlsWhen I use the Feb. 2008 file I get this error:"Query Engine Error:'Error code: 0x800a06ff Source: DAO.Recordset Description: this expression is typed incorrectly, or it is too complex to be evaluated."Basically both Excel files are in the same format but have different data in them. I don't understand why Jan's works, but not Feb's???
    Since, I can't upload the two files without contacting the system administrator, maybe someone can help me debug the error code or how to debug this error using another method or idea??

    Post Author: sharonmtowler
    CA Forum: Formula
    did you try each sheet while removing one of the select statements?  i would start there and try feb with no select statement, add one in, then the next
    see what is causing your problem. it sounds like some data in the xls file is in an incorrect format.

  • HP LJ4mv wireless printer worked with OS 10.5.5 but not with 10.6.3 - help!

    My ancient HP worked with 10.4.11 and 10.5.1 thru 10.5.5 wirelessly. With 10.5.6 thru 10.5.8 installed, the printer did ot work and only the Adobe printer appeared in the Printer/Fax setup. With 10.5.5, I was experiencing random horizontal gray lines, polygons with gradient colors (cyan and magenta) flashing on and off and smeared dialog boxes and drop down menues. So, I upgraded to 10.5.8 and lost the artifacts and my wireless printer. All drivers are current (Software Update delivered/installed updated drivers today.)
    10.6.3 is now installed and I still do not have a wireless printer. The Adobe PDF printer pops up and in the Printer/Fax dialog, it indicates "Kind" as HP LaserJet 4V/4MV Postscript. The Default button is active but all other buttons are grayed out and my printer does not appear.
    Summary: the printer works, the wireless router works and the drivers are current.
    Q. How can I get my wireless printer back? I need it badly.
    Thanks.
    Leonard

    Kappy, thx.
    The driver that is appearing now with the Adobe printer worked fantastically with 10.5.5, HP LaserJet 4V/4MV Postscript. This is from Apple, I believe. My printer does not show up when + is selected in the Print & Fax dialog and the Printer Name/Kind list appears. Only the Adobe is there.
    I d'l'd/instld the Gutenprint. I cannot select it until the printer appears in the Printer Name/Kind field.
    What is SL? :S
    Greg, thx.
    The printer is cat 5 to the ISP's wireless router and I am wireless. This has always worked up to 10.5.5. I incrementally d'l'd os upgrades 10.5.6, 10.5.7 and 10.5.8 and found the printer would not appear when I tried to add it. With Leopard, up to 10.5.5, my printer appeared automatically and I just had to make a selection from the "Print Using:" drop down.
    Bruce, thx.
    AppleTalk was a part of the setup and in 10.6, I cannot find AppleTalk. So you may be right about the IP route. Would Apple change this in the middle of Leopard with 10.5.6 (it worked up to 10.5.5) and not with 10.5.0 or 10.6.0? Would there not be an announcement that AppleTalk printer support was ending? No one in these forums knows that AppleTalk printer support was ended (I first posted in the Leopard forums)?
    Sorry for the skepticism. I just did not think this was a possiblity but maybe you are right.
    Is there a way to get an Apple reading on this? Should I set up a print server for wireless access? Any other suggestions?
    Thanks again all. I much appreciate your help.
    Leonard

  • Mavericks:  Logic X works with M-Audio 2626 soundcard, but not system audio

    10.9.2 doesn't recognise my M-Audio 2626 soundcard interface, even though Logic X does.  So this seems like a fault with with Mavericks?
    There are issues with the 2626 and Mavericks but if Logic X sees it and is fine, but Mavericks doesn't, then what....?
    Hope somebody can help.
    Thnx, Hugo

    I ran into a similar problem. I discovered one thing which may help you out though. It works OK with my Yamaha P200 keyboard but it does not work with my Yamaha NP30 keyboard. I looked at the MIDI stream and the only difference seems to be that the NP30 sends a continuous stream of MIDI clock, whereas the P200 does not. My theory is that this clock stream is somehow confusing the driver. I can't seem to disable the MIDI clock on my NP30 but if your Privia has the ability to disable MIDI clock, then it may be worth a try as it will probably fix the problem until they come out with the proper drivers.

  • ITunes Home Sharing with Apple TV2, works with one Win 7 PC but not with the other

    Hopefully someone out there can help with this, I have gone through all of the troubleshooting procedures that Apple provides, and have spoke to thier 'fast track' technical services department and we cannot resolve this. 
    My probelm is that Apple TV does not recognize my Win7 PC that has itunes running in Home Sharing mode.  In order to test my router, network configurationand the Apple TV, I put iTunes on a laptop on my network running Win7 as well, and the Apple TV had no problems sharing with that computer.  I have opened all of the ports in my firewall that Apple recommended, and tried to make it work both with and without my anti-virus software, but still no sharing of iTunes with this computer.  We are working with the latest version of iTunes and Apple TV, both updated today.
    Has anyone run into this problem?
    Thanks
    S McD

    Yep - have had the same problem, especially since IOS5 came about and no solution has worked.  I've fought this one for a while, I come back to it every once in a while when I see something that might be a new tack but no joy.  I've also tried all that stuff, but none of them fix it.
    I can tell you a couple of things I have found out along the way:
    First off, there is some kind of issue with the Apple Mobile Service that causes it to not stay working.  If you stop the service and start it you may be able to make the sharing show up for a bit, but it will eventually disappear.
    Secondly, there may be a network routing factor to this too.  Apple doesn't like to use the same kind of protocols as many sharing schemes do, instead preferring something known as "Bonjour".  Bonjour uses multicast routing, and appears to either be programmed badly or in a non-standard way - or maybe there just is no standard.  In any case what you find is that it just doesn't work, and there is no current fix. 
    Keep trying though, maybe you can figure it out.  If you do, please come back and post what you did, I'd be very interested.  Sorry I couldn't be more helpful, but I can at least tell you that you're not crazy, there are others out there having the same problem with the same bleak outlook.  By the way, mine used to work until iOS5.

  • Position encoder works with PCI-MIO-16E-4 but not with PCI-6062E, why?

    I am using A BNC-2090 to connect Agilent HEDS-6540 position encoder to my PCI-6052E. The application works fine with my 12 bit NI card PCI-MIO-16E-4, But with the new card I get extra counts in my position. ex 1052 pulses when it is only supposed to be 1000 counts in a complete revolution. This setup still works great with the old card, meaning I can just plug into the other card and run the same app on the same computer, just a different device number. I have not been able to figure this out.

    You might be seeing the affects of dithing with your signal. I'm not sure why it would be on one board, though not the other, one counter must be more sensitive. Anyway, dithering is caused by vibration or other outside forces that cause small glitches that add to the count total for the counter. There is a way around this, and that is to use a counte convertor. There is a page on this website that tells how to make one. The link is below. I would sugget trying this to see if it will fix the problem.
    Brian
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/6f25cba2cd73417786256869005e5fc3?OpenDocument

  • Code works fine when stepping through debug, but not without debug

    I have the following code that works fine when I step through with the debugger, but when I run it with out the debugger it never gets the objects in the "moveObjects" method. I would appreciate any help. Thank you
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.plugin.desktop.program.IProgramBase;
    import com.crystaldecisions.sdk.plugin.desktop.common.*;
    import com.crystaldecisions.sdk.framework.*; //cesession
    import com.crystaldecisions.sdk.plugin.desktop.program.*; //ceplugins
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.occa.infostore.*;
    import com.crystaldecisions.sdk.properties.IProperties;
    import com.crystaldecisions.sdk.plugin.destination.managed.*;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.ResultSet;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.DriverManager;
    * @author ag0310m
    public class MoveRptInstance implements IProgramBase {
        public void run(IEnterpriseSession enterpriseSession, IInfoStore iStore, java.lang.String[] args) {
            try {
                IInfoObjects objects = null;
                IInfoObjects objs = null;
                IProperties props = null;
                try {
                    getObjectsToSend(objects, iStore);
                    moveObjects(iStore);
                } catch (SDKException e) {
                    //ExamplesUtil.WriteError(request, response, e, "RETRIEVE_ERROR", errorpagerfile);
                    System.out.println(e.toString());
                    //out.clear();
                    return;
            } catch (Exception ex) {
                ex.printStackTrace();
        private void getObjectsToSend(IInfoObjects objects, IInfoStore iStore) throws SDKException {
                        objects = null;
                        objects = iStore.query("Select * from CI_INFOOBJECTS where si_name = 'ReportBurstingTest' and si_instance = 1 and si_recurring = 0");
                        try {
                              sendObjects(objects, iStore);
                         } catch (Exception e) {
                             System.out.println(e.getLocalizedMessage().toString());
                             e.printStackTrace();
                         } finally {
        private void moveObjects(IInfoStore iStore) throws SDKException {
                        IInfoObjects iObjects = null;
                        iObjects = iStore.query("Select * from CI_INFOOBJECTS where si_parentid = 716");
                            int x = iObjects.size();
                            System.out.println("value of x = "+x);
                            for (int ii = 0; ii < x; ii++) {
                                IInfoObject obj = (IInfoObject) iObjects.get(ii);
                                obj.setParentID(868003);
                           iStore.commit(iObjects);                   
        private void sendObjects(IInfoObjects oInfoObjects, IInfoStore infoStore) throws SDKException {
         //Grab the first object in the collection, this will be sent.
            int x = oInfoObjects.size();
            System.out.println("3");
            for (int i = 0; i < x; i++) {
                IInfoObject infoObject = (IInfoObject)oInfoObjects.get(i);
                ISendable obj = (ISendable)infoObject;
                IDestinationPlugin destinationPlugin = getDestinationPlugin(infoStore, infoObject.getKind(), infoObject.getTitle(), infoObject.getUpdateTimeStamp());
                IDestination destination = obj.getSendToDestination();     
                destination.setFromPlugin(destinationPlugin);
        //Send the InfoObjects.
        infoStore.sendTo(oInfoObjects);
        private IDestinationPlugin getDestinationPlugin(IInfoStore infoStore, String kind, String title, Date dte) throws SDKException {
         //Retrieve the Managed Destination plugin from the InfoStore
        //this should be cast as an IDestinationPlugin *DON'T FORGET THE get(0) AT THE END**
        IDestinationPlugin destinationPlugin = null;
        destinationPlugin = (IDestinationPlugin)infoStore.query("SELECT TOP 1 * " +                                                                               
    "FROM CI_SYSTEMOBJECTS " +
                                                                                    "WHERE SI_NAME='CrystalEnterprise.Managed'").get(0);
        //Retrieve the Scheduling Options.
        //This interface is the one which allows us to add the file location for the scheduling.
        IManagedOptions managedOptions = (IManagedOptions) destinationPlugin.getScheduleOptions();
        managedOptions.setDestinationOption(IManagedOptions.CeDestinationOption.ceInbox);
        managedOptions.setIncludeInstance(true);
        managedOptions.setTargetObjectName(title+" - "+dte.toString());
        managedOptions.setSendOption(IManagedOptions.CeManagedSendOption.ceCopy);
        //Set of users that will receive the instance. 
        Set userSet = managedOptions.getDestinations();
        //Query for the id of a particular user that will receive the instance.
        IInfoObjects users = null;
            users = infoStore.query("SELECT TOP 1 SI_ID " +
                                 "FROM CI_SYSTEMOBJECTS " +
                                 "WHERE SI_NAME='Administrator' AND SI_PROGID='CrystalEnterprise.User'");
            if (users.size() > 0) {
             IInfoObject user = (IInfoObject)users.get(0);     
             int id = user.getID();
             userSet.add(new Integer(id));
         return destinationPlugin;

    I'm assuming SI_ID=716 is the Inbox where you're sending the objects.
    The issue is that you're not clicking the "Step Over" button fast enough when debugging.  If you click really fast, then you'll get the same issue.
    Workaround for the non-debug case is to count the number of objects you're sending, then when moving, loop till the InfoStore query retrieves the correct number of objects.
    You're not giving enough time for the Destination Job Server to send the objects to the Inbox - they're not there yet.
    Sincerely,
    Ted Ueda
    Edit:  I see you've identified the issue as well - note that the CMS job scheduling thread triggering interval isn't under programmatic control, so I'd still recommend loop-count-wait workflow.
    Edited by: Ted Ueda on Oct 22, 2009 11:59 AM

  • Servlet filters work with OC4J 9.0.2, but not JDeveloper 9.0.2

    I spent a day or so last week building a servlet filter and testing it in OC4J 9.0.2. It works fine. I didn't bother loading it into JDeveloper because there weren't any complicated debugging issues.
    I just tried loading it into JDeveloper 9.0.2 this morning, and I discovered that even though OC4J 9.0.2 has no problem with servlet filters, apparently JDeveloper 9.0.2 does. It complains about validation of the "web.xml", saying that "filter" is not a valid element of "web-app". I was specifying the 2.3 dtd.
    Is this a problem that I can easily work around in JDeveloper 9.0.2?
    If I load the JDeveloper 9.0.3 developer preview, can I get it to use 9.0.2 for its embedded OC4J, and not produce any new problems?

    For JDev 9.0.2, this issue is documented in the release notes at
    http://otn.oracle.com/products/jdev/htdocs/readme_902.html#vmoption

  • MY Midlet works with the emulator... but not in my Palm??

    I don t understand why can somebody help me?
    I am actually manking some tests .. Here is he complete code of my midlet :
    * MyMidlet.java
    * Created on 23 f�vrier 2005, 10:50
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    * @author Crazyman
    * @version
    public class MyMidlet extends MIDlet implements CommandListener, ItemCommandListener, Runnable {
    private static Display display;
    private static Form FormButton,FormList;
    private static List Menu;
    private static Thread Th;
    private static ChoiceGroup Drop,Check,Pop;
    private static boolean StopFlag = false;
    private static Command Exit,Main,Select,Start,Stop;
    public MyMidlet() {
    try
    display = Display.getDisplay(this);
    String[] elements = {"Button","List"}; //Menu items
    Menu = new List("MENU", List.IMPLICIT,elements,null);
    Exit = new Command("Exit", Command.EXIT, 1);
    Select = new Command("",Command.ITEM,1);
    Main = new Command("Main",Command.OK,1);
    Start = new Command("Start",Command.ITEM,1);
    Stop = new Command("Stop",Command.ITEM,1);
    Ticker Tick = new Ticker("Ticker ki sert a rien");
    Menu = new List("Menu", List.IMPLICIT, elements, null);
    Menu.addCommand(Exit);
    Menu.setTicker(Tick);
    Menu.setCommandListener(this);
    FormButton = new Form ("Button");
    StringItem btStart = new StringItem("Start",null,Item.BUTTON);
    StringItem btStop = new StringItem("Stop",null,Item.BUTTON);
    btStart.setDefaultCommand(Start);
    btStart.setItemCommandListener(this);
    btStop.setDefaultCommand(Stop);
    btStop.setItemCommandListener(this);
    FormButton.addCommand(Exit);
    FormButton.append(btStart);
    FormButton.append(btStop);
    FormButton.setCommandListener(this);
    FormList = new Form("Listes");
    String[] DropArray = {"Drop1","Drop2"};
    Drop = new ChoiceGroup("DropList",Choice.EXCLUSIVE,DropArray,null);
    String[] PopArray = {"Pop1","Pop2"};
    Pop = new ChoiceGroup("PopList",Choice.POPUP,PopArray,null);
    String[] CheckArray = {"Check1","Check2"};
    Check = new ChoiceGroup("CheckList",Choice.MULTIPLE,CheckArray,null);
    FormList.append(Drop);
    FormList.append(Pop);
    FormList.append(Check);
    FormList.addCommand(Main);
    FormList.addCommand(Exit);
    FormList.setCommandListener(this);
    catch( Exception e)
    System.out.println(e);
    public void startApp() {
    display.setCurrent(Menu);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    notifyDestroyed();
    public void commandAction(javax.microedition.lcdui.Command cmd, javax.microedition.lcdui.Displayable disp) {
    try
    if (disp == Menu && cmd == List.SELECT_COMMAND)
    String Form2Create = Menu.getString(Menu.getSelectedIndex());
    String S = Form2Create;
    Menu.append(S, null);
    CreateForm(Form2Create);
    if(cmd == Exit)
    destroyApp(true);
    if(cmd == Main)
    display.setCurrent(Menu);
    catch( Exception e)
    System.out.println(e);
    public void commandAction(javax.microedition.lcdui.Command cmd, javax.microedition.lcdui.Item item) {
    if(cmd == Start)
    Th = new Thread(this);
    Th.start();
    TextField T = new TextField("Started",null,5,TextField.ANY);
    FormButton.append(T);
    if(cmd == Stop)
    StopFlag = true;
    TextField T = new TextField("Stoped",null,6,TextField.ANY);
    FormButton.append(T);
    public void run() {
    int v = 0;
    while(StopFlag == false)
    String S = ""+v;
    TextField T = new TextField("",S,5,TextField.ANY);
    FormButton.append(T);
    display.setCurrent(FormButton);
    v++;
    public void CreateForm(String F)
    try
    if(F.equals("Button"))
    FormButton = new Form ("Button");
    StringItem btStart = new StringItem("Start",null,Item.BUTTON);
    StringItem btStop = new StringItem("Stop",null,Item.BUTTON);
    btStart.setDefaultCommand(Start);
    btStart.setItemCommandListener(this);
    btStop.setDefaultCommand(Stop);
    btStop.setItemCommandListener(this);
    FormButton.addCommand(Main);
    FormButton.addCommand(Exit);
    FormButton.append(btStart);
    FormButton.append(btStop);
    FormButton.setCommandListener(this);
    display.setCurrent(FormButton);
    if(F.equals("List"))
    FormList = new Form("Listes");
    String[] DropArray = {"Drop1","Drop2"};
    Drop = new ChoiceGroup("DropList",Choice.EXCLUSIVE,DropArray,null);
    String[] PopArray = {"Pop1","Pop2"};
    Pop = new ChoiceGroup("PopList",Choice.POPUP,PopArray,null);
    String[] CheckArray = {"Check1","Check2"};
    Check = new ChoiceGroup("CheckList",Choice.MULTIPLE,CheckArray,null);
    FormList.append(Drop);
    FormList.append(Pop);
    FormList.append(Check);
    FormList.addCommand(Main);
    FormList.addCommand(Exit);
    FormList.setCommandListener(this);
    display.setCurrent(FormList);
    catch( Exception e)
    System.out.println(e);
    }

    The Problem is bound with my StringItems i think because when i delete them and i juste display my "FormButton" without anything there are no problems.....
    In my palm, the midlet get blocked when i press the button to open the "FormButton" in my menu..
    Plz help me..
    Thx

  • Quick Step Keyboard Shortcuts Work With Number Keys Above Keyboard, But Not On Keypad

    Had this same issue with Outlook 2013:
    "I assigned hotkeys to several Quick Steps, and used the suggested convention of Ctrl + Shift +1, Ctrl + Shift + 2... through 5.
    When I use the number keys above my QWERTY keys, all is well.
    When I use the keys on my keypad, Outlook does funny things like collapsing all the day's e-mails into the "Today" heading."
    Correct. The keypad values do different things and you can't substitute the keys - you need to use the row numbers with the QAT."
    Ergonomically, the number keys on the numpad are far superior to the ones above the keyboard for processing email quickly and easily (and without carpel tunnel!). I'm right-handed so it's much more natural for me to hold down the same two control keys (alt-shift)
    with my left hand and select the action (a different key every time) I want with my right. Can do it opposite, but requires more conscious thought and is more subject to error (which defeats the whole purpose when I have to go fish a mis-acted on email out
    of the wrong folder).
    Was wondering if this issue had been corrected in 2013 (or there was an easy workaround that doesn't involve writing and maintaining a separate macro or installing/maintaining a separate program like AutoHotKeys). The built-in functionality is 99% what I need,
    but the ergonomic issue may make it unusable for me.

    Hi,
    I can confirm in Outlook 2013 the shortcut keys can only use the number keys above "QWERTY..." and we can't use the number keys on the keypad. This comes by design and is not changeable currently.
    Thank you for focusing on our product, since I can do few on this issue, you can submit your feedback about this request from this link below, Microsoft treasures users voice:
    http://office.microsoft.com/en-US/suggestions.aspx
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Browser Works with Flash test movie btns but not in Dreamweaver

    What changes need to be made?
    The Broswer brings up this SE when testing flash btns in DW?
    SecurityError: Error #2028: Local-with-filesystem SWF file file:///C:/inetpub/wwwroot/Pizzapal.co.uk/topFramebtns1.swf cannot access Internet URL http://mark-pc/Pizzapal.co.uk/index.html.
    at global/flash.net::navigateToURL()
    at topFramebtns1_fla::MainTimeline/btn1Click()
    Thank you for reading
    Sabby76

    Give my self a star, the flash player manager needed to be asigned to acept the absolute path to my little virtual website.
    Problem solved, the underlying one is ongoing...
    Sabby76 `

  • I added greasemonkey and it works with two of my games but not the third one and these are the same type of games Dragons ofAtlantis on Facebook. Why would it work on two and not the third?

    I have windows 7 and firefox 6.0 greasemonkey I had just installed this program

    1. If you break your post into paragraphs it is much easier to read.
    2. I have no idea what your post is referring to, and how - if at all - it relates to iPhoto.
    3. It's a good idea to re-read what you've posted, and ask yourself how it might look to someone who doesn't know you and doesn't know what's going on with your machine.

Maybe you are looking for

  • How to write a string a stringbuffer to a text file or read a file?

    I need create a text file if the file is not exist, if exist, I have to append a string or stringbuffer to the file. Basically I am using java server page for our web application. I need send user input into a text file. I am uploading my JSP into a

  • PXE Boot and RIS not working

    I'm trying to boot a toshiba SP6100 from ris but getting PXE-T01:File not found PXE-E3B: TFTP error - File not found PXE-MOF: Exiting Intel PXE ROM. No problem what so ever when booting other mashies (Other brands). When trying to boot from a Remote

  • How do I restore the "printing" folder in iPhoto?

    When I started iPhoto I was a little quick with the delete key when trying to clean up the left side of my screen. I errantly deleted the "printing" folder (under Recent)and wish to have it back. I can only see what I'm printing in the print queue, b

  • Wireless card upgrade

    Hi, I would like to upgrade the old Intel WiFi Link 5100 wireless card in my DV7-2185dx to a new wireless AC card. Would the AC card be compatible? If so, which card would be recommended? I have an AC router and a USB adapter that works great, I just

  • Where are the App-signs for youtube, safari and appStore?

    After updating to itunes 10 the app-signs for youtube, safari and appstore disappeared from the main menu on my ipod touch 3G (also updated). Where can I get them again?