JDE 4.7 - java.lang.IIIegalStateException

Hello everyone

I have the following code:

Net.rim.device.api.ui.component import. *;
Net.rim.device.api.ui.decor import. *;
Net.rim.device.api.synchronization import. *;
Net.rim.device.api.math import. *;
Net.rim.device.api.system import. *;
Net.rim.blackberry.api.phone.phonelogs import. *;

class Phone_Call_Log extends UiApplication
{
Screen _screen = new MainScreen();
Phonethread _phone;
PhoneLogs _logs;

Public Shared Sub main (String [] arg)
{
Application Phone_Call_Log = new Phone_Call_Log();
application.enterEventDispatcher ();
}

public Phone_Call_Log()
{
_SCREEN. SetTitle ("phone log");
_SCREEN. Add (new RichTextField ("activities on your phone"));
_SCREEN. Add (new SeparatorField());
pushScreen (_screen);
_phone = new Phonethread();
_phone. Start();
}
  
the final private class Phonethread extends Thread
{

public Phonethread()
{
Super();
}
       
public void run()
{
_logs = PhoneLogs.getInstance ();
           
for (int i = 0; i)<>
{
               
CallLog PhoneCallLog = (PhoneCallLog) _logs.callAt (i, _logs. FOLDER_NORMAL_CALLS);
               
String number = callLog.getParticipant () .getNumber ();

If (callLog.GetType () == callLog.TYPE_RECEIVED_CALL)
{
_SCREEN. Add (new RichTextField ("you got a call of:" + number));
}
               
If (callLog.GetType () == callLog.TYPE_PLACED_CALL)
{
                   
                    _SCREEN. Add (new RichTextField ("of the dialed number was :"));)
_SCREEN. Add (new RichTextField ("it was made on:" + data));
}
               
               
               
}
       
}
}
}

-End of the Code-

I get the error of java.lang.IIIlegalStateException to the line which is in bold.

No idea why?

Thank you

RexDoug words of code snippet.

UiApplication.getUiApplication().invokeLater (new Runnable() {
  public void run()
  {
    _screen.add(new RichTextField  ("The number you dialed was: "));
  }
});

Go through this article too.

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/...

Tags: BlackBerry Developers

Similar Questions

  • Eception exception: java.lang.IllegalArgumentException 9800 simluator and device

    First of all, let me say that this forum has been very useful development councils, of the examples and answers to difficult questions.  Thank you.  But now I have a problem that I can not find a solution for or to understand.

    I created an application that listens to the calls and when the call is disconnected it displays a screen, allows entry and persists the results.  I developed in JDE 5.0.0.25 and it worked fine on the Simulator.  When I installed on a Torch 9800, I get "Eception exception: java.lang.IllegalArgumentException" when it tries to display the entry screen.  I downloaded and installed the ATT 6.0.0.246 for 9800 Simulator and traveled the code.  I get the same exception on the Simulator.  It seems that he fails once the code that creates the screen is executed and control is returned to the operating system.  The code to display the screen looks like

    {Synchronized (application.getEventLock ())}
    UI UiEngine is Ui.getUiEngine ();.
    ui.pushGlobalScreen (oEFDS, 10, UiEngine.GLOBAL_MODAL |) UiEngine.GLOBAL_SHOW_LOWER);

    If the questions are

    1. any ideas why it worked in version 5 and not 6? I thought developing in version 5 allow more devices run the application.

    2. is there something specific for the Torch 9800 that may be cause of tha?

    OK, I found the answer to this problem.  Guess I should have looked before asking for help.

    http://supportforums.BlackBerry.com/T5/Java-development/differences-between-V5-0-OS-and-V6-0-OS-for-...

  • ActiveAutoTextEditField 'Cut' a menu item raise a java.lang.securityexception

    I have an application with a login screen that has an ActiveAutoTextEditField for a username (which is an email address).  If an e-mail address is displayed in the field, and the user it highlights and selects the menu item 'Cut' a java.lang.securityexception is thrown and the application closes.

    We are currently testing our application on 3 different devices - 8800, 8310, 8100.  This error occurs on both 8800 and 8310 devices, but not the 8100.  I can't reproduce this error in one of the simulators on my PC.

    Anyone have any suggestions to solve this problem, or know if I am able to remove the offending menu item 'Cut' in the context menu?

    Long ago, I had the same problem with field Date JDE 4.0 with BB 7290 device.

    Exception occurred when I ran copy Menu.

    I've implemented the following solution.

        /**
         * Invoked when the trackwheel is clicked.
         * @param status - Modifier key status.
         * @param time - Ticks since device reset.
         * @return True if the event was consumed; otherwise, false.
         */
        public boolean trackwheelClick(int status, int time)
        {
            try{
                    Menu menu = new Menu();
    
                    makeMenu(menu, 0);
                    menu.show();
                }
                catch(Exception e){
                    // HACK!!!!!
                    // this try-catch added to prevent SecurityException on device
                    // (on simulator this bug does not appear)
                    // When user tries to do the following
                    // Open menu on date field, and select "Copy"
                    // I do nothing here, I am just catching and ignoring this exception
                }
    
            return true;
        }
    

    Just take and ignore the exception in place when you view the menu.

  • "Error 500: java.lang.NullPointerException.

    "Error 500: java.lang.NullPointerException" COSA MEANS MEAN? Pole MI ESCE QUESTA WRITTEN MENTRE PER UNA DOAMANDA GRAZIE

    Hello

    This is an English language Forum.

    Please go to

    http://answers.Microsoft.com/en-us/IE/Forum?TM=1373748955969&tab=all

    to select your language from this link English 

    You can also choose a region or language on this page:

    http://support.Microsoft.com/common/international.aspx

    Don

    Questo e UN forum in lingua inglese.

    If get di andare

    http://answers.Microsoft.com/en-us/IE/Forum?TM=1373748955969&tab=all

    by rates the lingua da questo link English 

    If Può anche rates una regione o lingua da questa pagina:

    http://support.Microsoft.com/common/international.aspx

  • _ERR_COMMAND_EXCEPTION CMN3101E user, the system is unavailable due to "java.lang.NullPointerException".

    I just had some problem to be able to print a PDF file that has sent me a reliable source of the school. He could not open with precision and would not print. I was told a few undesirable and the part of it said:

    User CMN3101E the system is unavailable due to "java.lang.NullPointerException".

    I then Googled that and found the I needed to have the video drivers Intel and not the versions of MS due to some problems. I went through all this mess by using Device Manager and switched 2 pieces of diff for Intel drivers Intel and not versions of MS. I also did an UPDATE MS after a reboot to ensure that another MS Update would not reinstall certain versions of MS and if he found them I wanted to mark them for future IGNORES and ignore them now.

    Still no go. I need help big time. Does anyone for a small iJEFF help today¿

    Hi Jeff,

    1. What is the brand and model of the printer?

    2. is the specific question in the PDF? Have you tried other files to print?

    See the articles:

    Resolve PDF printing problems

    http://helpx.Adobe.com/Acrobat/KB/troubleshoot-PDF-printing-Acrobat-Reader.html

    http://www.Adobe.com/cfusion/search/index.cfm?cat=support&term=Java%2Elang%2ENullPointerException&loc=en_US&self=0&LR=en_US&product=Acrobat

    Let us know if you have other questions about Windows in the future.

  • Push registration: (Berr java.lang.IllegalArgumentException) network error

    Hello

    We try to get WebWorks push the work but are a problem with blackberry.push.openBISPushListener. The onRegister function returns a status of 1 (network error).

    The log file shows the following:

    11/9 10:00:54 W net.rim.blackberry.api.push - Berr java.lang.IllegalArgumentException
    11/9 10:00:21 a Contapp - PushDaemon is started.
    11/9 10:00:21 a Contapp - Register push application
    11/9 10:00:21 a Contapp - open BIS push listener
    

    This application is used to work so I wonder if something might have changed in the upgrade of the server push.

    The application code is the following:

    
    
    
        
    
    
        

    And the following push configuration in the config.xml file:

    
    
    
    
    
    
    
    
    
      BIS-B
      MDS
      TCP_WIFI
      TCP_CELLULAR
      WAP2
      WAP
    
    
    
      read_device_identifying_information
      access_shared
    
    

    It is all tested on a device 9300.

    Any ideas as to why we get this error?

    Thanks in advance for the help!

    Nick

    This issue should now be resolved, please let me know if you continue to have problems with the registration with the EVAL server.

  • java.lang.NullPointerException packaging projects

    Hello

    I can't pack all projects (even the self project basis created in the new blackberry) on eclipse indigo with the new plugin eclipse blackberry.

    I always get this error:

    null
    Error
    Fri 18 Nov 10:17:02 VET 2011
    An internal error occurred during: «Packaging projects...» ».

    java.lang.NullPointerException
    at net.rim.ejde.internal.H.M.getVMVersion(RIMEIDE:286)
    to net.rim.ejde.internal.util.V$ _B.A(RIMEIDE:3008)
    to net.rim.ejde.internal.util.V$ _B.compare(RIMEIDE:468)
    at java.util.Arrays.mergeSort(Arrays.java:1270)
    at java.util.Arrays.sort(Arrays.java:1210)
    at java.util.Collections.sort(Collections.java:159)
    at net.rim.ejde.internal.P.H.A(RIMEIDE:3054)
    at net.rim.ejde.internal.P.H.A(RIMEIDE:1072)
    at net.rim.ejde.internal.D.F.H(RIMEIDE:2736)
    at net.rim.ejde.internal.D.F.A(RIMEIDE:3548)
    at net.rim.ejde.internal.D.F.D(RIMEIDE:1478)
    at net.rim.ejde.internal.D.F.D(RIMEIDE:383)
    at net.rim.ejde.internal.D.A.run(RIMEIDE:1808)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at net.rim.ejde.internal.D.D.runInWorkspace(RIMEIDE:841)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    I have tried to open the app_descriptor file, restart eclipse and I don't no succeed.

    Kind regards

    How were plug-ins installed?  Did you use the full installer or update the site?

    Have you installed both the BlackBerry Java for BlackBerry Java SDK and Eclipse plug-in?

    If so, can you try to create a new workspace?

  • java.lang.IllegalArgumentException: app are not instanceof PushApplication

    When I tried to run 'register' on real device of BB, I received this message from the exception in the newspapers:

    Command 'register' failed with the error: java.lang.

    Your app put in place the interface "PushApplication"?

    If this isn't the case, please take a look at the sample client application ships with the push.

  • ToolBarMenuButton.AddMenuItem (ApplicationMenuItem) survey java.lang.Error

    ApplicationMenuItemRepository.getInstance () .addMenuItem (ApplicationMenuItemRepository.MENUITEM_SYSTEM, applicationmenuitem)

    It shows an error: "Eception exception: Java.lang.Error.

    The exception cannot be caught and does not appear in the debugger, only on the phone.  It happens once ToolBarMenuButton.AddMenuItem calls toString in the ApplicationMenuItem, but the chain is fine - a literal.

    The call stack is several levels deep within unknown methods.

    Works fine in simulators and on the storm, but not on a 8330 4.5 running.

    Solved.  For some reason you need PIM / permission to organizers to add the entire system menu items.  I got the module defined with this permission, but the CodeModuleGroup didn't.

    They did of course difficult to debug it - he didn't throw a ControlledAccessException as it was supposed to.  Instead, he threw something that cannot yet be intercepted, which means that if users don't have the right permissions, the bombs of the app with an error that could be anything.

    Checks permissions and prompting if necessary, but in the past have always had requests for assistance relating to permissions yet, so it does not always work.

  • Exception: java.lang.NullPointerException untrapped blackBerry Smartphones

    When I start my BB, it gives me this untrapped exception: java.lang.NullPointerException message

    When I try 2 delete a call log number even

    dosent show me any more calls I madeit

    Hi and welcome to the forums!

    I have seen this error several times, usually with a corrupt address book.

    When you start the phone it reads the address book when you delete a call containing log

    you get a contact from the address book as well. Use the following procedure to resolve the issue.

    Thank you

    Bifocals

    "The software of the device or software component of application has not, or there is corrupted data of a synchronization cable.

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB04469&sliceId=2&docTy...

  • Package error - ripple java.lang.NullPointerException

    Hello

    I am facing a problem trying to package by BB10 app using the plugin of ripple and I'm having a difficult time trying to figure out what the problem given the description of the error is really generic as you can see in the newspaper.

    out: [BUILD]   Populating application source
    
    2013-09-10 15:01:27 GET /ripple/build_status/5084 200
    2013-09-10 15:01:27 GET /ripple/build_status/5084 200
    2013-09-10 15:01:28 GET /ripple/build_status/5084 200
    2013-09-10 15:01:28 GET /ripple/build_status/5084 200
    2013-09-10 15:01:29 GET /ripple/build_status/5084 200
    2013-09-10 15:01:29 GET /ripple/build_status/5084 200
    out: [BUILD]   Parsing config.xml
    
    out: [WARN]    You have disabled all web security in this WebWorks application
    
    out: [WARN]    Build ID set in config.xml [version], but no signing password was provided [-g]. Bar will be unsigned
    
    out: [BUILD]   Generating output files
    
    2013-09-10 15:01:30 GET /ripple/build_status/5084 200
    out: [INFO]    java.lang.NullPointerException
    
    out: [INFO]     at com.qnx.bbt.packager.Asset.setSourcePath(Asset.java:88)  at com.qnx.bbt.packager.Asset.(Asset.java:75)   at com.qnx.bbt.xml.BbtExtensionXml.getAsset(BbtExtensionXml.java:571)   at com.qnx.bbt.xml.BbtExtensionXml.getAssets(BbtExtensionXml.java:541)  at com.qnx.bbt.packager.BbtBarValueProvider.getAssets(BbtBarValueProvider.java:202) at com.qnx.bbt.bar.BARPackager.getAssets(BARPackager.java:71)
    [INFO]      at com.qnx.bbt.bar.BARPackager.findAsset(BARPackager.java:233)  at com.qnx.bbt.bar.BARPackager.associateSourceAssets(BARPackager.java:227)  at com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:577)
    
    out: [INFO]     at com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)
    [INFO]      at com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)
    [INFO]      at com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)
    
    out: [ERROR]   Error: null
    
    out: [ERROR]   Native Packager exception occurred
    
    2013-09-10 15:01:30 GET /ripple/build_status/5084 200
    2013-09-10 15:01:31 GET /ripple/build_status/5084 200
    out: [INFO]    java.lang.NullPointerException
    [INFO]      at com.qnx.bbt.packager.Asset.setSourcePath(Asset.java:88)  at com.qnx.bbt.packager.Asset.(Asset.java:75)   at com.qnx.bbt.xml.BbtExtensionXml.getAsset(BbtExtensionXml.java:571)
    
    out: [INFO]     at com.qnx.bbt.xml.BbtExtensionXml.getAssets(BbtExtensionXml.java:541)
    [INFO]      at com.qnx.bbt.packager.BbtBarValueProvider.getAssets(BbtBarValueProvider.java:202)
    [INFO]      at com.qnx.bbt.bar.BARPackager.getAssets(BARPackager.java:71)
    [INFO]      at com.qnx.bbt.bar.BARPackager.findAsset(BARPackager.java:233)
    
    out: [INFO]     at com.qnx.bbt.bar.BARPackager.associateSourceAssets(BARPackager.java:227)
    [INFO]      at com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:577)
    
    out: [INFO]     at com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)   at com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)
    
    out: [INFO]     at com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)
    
    out: [ERROR]   Error: null
    
    out: [ERROR]   Native Packager exception occurred
    
    Done build
    error response - {"code":1,"msg":"[ERROR]   Error: null\n[ERROR]   Native Packager exception occurred\n[INFO]    java.lang.NullPointerException\n[INFO]    \tat com.qnx.bbt.packager.Asset.setSourcePath(Asset.java:88)\tat com.qnx.bbt.packager.Asset.(Asset.java:75)\tat com.qnx.bbt.xml.BbtExtensionXml.getAsset(BbtExtensionXml.java:571)\n[INFO]    \tat com.qnx.bbt.xml.BbtExtensionXml.getAssets(BbtExtensionXml.java:541)\n[INFO]    \tat com.qnx.bbt.packager.BbtBarValueProvider.getAssets(BbtBarValueProvider.java:202)\n[INFO]    \tat com.qnx.bbt.bar.BARPackager.getAssets(BARPackager.java:71)\n[INFO]    \tat com.qnx.bbt.bar.BARPackager.findAsset(BARPackager.java:233)\n[INFO]    \tat com.qnx.bbt.bar.BARPackager.associateSourceAssets(BARPackager.java:227)\n[INFO]    \tat com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:577)\n[INFO]    \tat com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)\tat com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)\n[INFO]    \tat com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)\n[ERROR]   Error: null\n[ERROR]   Native Packager exception occurred\n","data":null}
    2013-09-10 15:01:31 GET /ripple/build_status/5084 200
    

    I tried different solutions but nothing has changed. You have an idea that could help me to identify at least the cause of this error?

    Thank you guys

    Thank you for all your responses guys.

    However, it seems to be that something messed up on my machine, because the same application on another laptop, performed without any problem packing.

  • Unrecoverable internal error: java.lang.NullPointerException when compiling

    Recently, I changed my code, and when I am compiling it, I got this error:

    Unrecoverable internal error: java.lang.NullPointerException

     

    Previously, I had met this exception several times, but when running the application in the Simulator.

    I've tried the cleaning project, cleaning the Simulator and even restart the laptop. Did not work.

    The same error persists.

    Maybe it's a bug in the compiler?

    Finally, I found the culprit:

    I put 5 large images (total size: approximately 18 MB) in the "res/img.

    The solution is to load these images from an SD card.

  • Unrecoverable internal error: java.lang.NullPointerException

    Hi all

    While iam trying to open the application iam getting this error ' fatal internal error: java.lang.NullPointerException ", iam unable to understand what is the real problem.

    Any help please...

    Thnaks.

    Thanks for the reply of stone.

    in fact I did not understand what the problem is, there is no indication of the error.

    but I reinstalled the eclipse that has solved the problem.

    Thank you.

  • Smartphones blackBerry eception exception: Java.lang.Error

    Hello

    After downloading the twitter app that shows the following when I try to open it.

    Eception exception: Java.lang.Error

    Nobody knows what it means and how to fix this.

    Thank you!

    poppi2000 wrote:

    Hello

    After downloading the twitter app that shows the following when I try to open it.

    Eception exception: Java.lang.Error

    Nobody knows what it means and how to fix this.

    Thank you!

    Hello

    1. try to delete the first reboot of batteries that clears the application error

    2 also try uninstalling the last app you have installed before the error and restart / disconnect the battery. You can reinstall these applications later.

    3 if there are errors, you can clean your pocket computer to clear / delete applications and reinstall the application. How to delete all data and applications from the smart phone BlackBerry with the optio security wipe...

    4 the final solution is to reinstall the operating system or all OS upgrade to the latest version. How to update or reinstall BlackBerry Device Software using BlackBerry Desktop Software

  • Eception java.lang.error trying to create format XML string

    I am trying to create XML documents without having to build everything manually whenever I want to do this.  I created a XMLFile class to create the document.  When I try to launch my app TestFoo, I get untrapped Exception java.lang.error.  I tried kxml2, using org.w3c.dom, java XML, banging my head against the wall as to why it will not work until I finally just rolled my own simple implementation.  I always get the error!  No details are provided.  There is no stack trace.  I use the emulator 9000 "BOLD" crossing os 4.6.0 eclipse 3.4.1

    Console:

    Starting TestFooStarted TestFoo(154)Exit TestFoo(154)ErrorNo detail messageTestFoo Document  0x171TestFoo XMLFile  0x381TestFoo TestFoo  0x297TestFoo TestFoo main 0x276
    

    TestFoo.java

    import net.rim.device.api.system.Application;
    
    public class TestFoo extends Application {
    
      public static void main(String[] args) {      TestFoo foo = new TestFoo();      foo.enterEventDispatcher();   }
    
      public TestFoo() {        XMLFile xml = new XMLFile("rootNode");        xml.addProperty("myprop", "some value");      System.out.println(xml.toFormattedXMLString());       System.exit(0);   }}
    

    XMLFile.java

    public class XMLFile {   Document document;    public XMLFile(String rootElement) {      document = new Document(rootElement); }
    
      public void addProperty(String pName, String pText) {     Element elm = new Element("property");        elm.addAttribute("name", pName);      elm.setTextContent(pText);        document.appendChild(elm);    }    public String toFormattedXMLString() {     return document.toFormattedXML();    }}
    

    Element.Java

    import java.util.Enumeration;import java.util.Hashtable;import java.util.Vector;
    
    public class Element {   private Vector children;  private String name;  private String textContent;   private Hashtable attributes;
    
      public Element(String name) {     this.children = new Vector();     this.attributes = new Hashtable();        this.name = name; } public void appendChild(Element child) {      this.children.addElement(child);  } public Vector getChildren() {     return children;  } public String getName() {     return name;  } public void setName(String name) {        this.name = name; } public String getTextContent() {      return textContent;   } public void setTextContent(String textContent) {      this.textContent = textContent;   } public Hashtable getAttributes() {        return attributes;    } public boolean hasChildren() {        return (this.children.size() > 0); } public int childrenCount() {      return this.children.size();  } public String getAttributeValue(String name) {        return this.attributes.get(name).toString();  } public void addAttribute(String key, String value) {      this.attributes.put(key, value);  } public void addAttribute(String key, int value) {     addAttribute(key,Integer.toString(value));    } public void addAttribute(String key, long value) {        addAttribute(key,Long.toString(value));   } public void addAttribute(String key, boolean value) {     addAttribute(key, String.valueOf(value)); } public boolean hasAttribute(String name) {        return this.attributes.containsKey(name); } public Element getChild(int position) {       return (Element) this.children.elementAt(position);   } public Enumeration getAttributeKeys() {       return this.attributes.keys();    }}
    

    Document.Java

    import java.util.Enumeration;
    
    public class Document { private static final char _gt = '>';   private static final char _lt = '<';   private static final char _eq = '=';  private static final char _dqt = '"'; private static final char _cl = '/';  private static final char _sp = ' ';  private static final char _tab = '\t';    private static final byte[] _nl = System.getProperty("line.separator").getBytes();
    
      private Element rootNode; private StringBuffer sb;
    
      public Document(String rootName) {        this.rootNode = new Element(rootName);    } public void appendChild(Element child) {      this.rootNode.appendChild(child); } public String toFormattedXML() {      sb = new StringBuffer();      format(this.rootNode,0);      return sb.toString(); }
    
      private void format(Element node, int depth) {        writeOpenTag(node, depth);        for (int i=0;i0;i--) {            sb.append(_tab);      } }    private void writeOpenTag(Element node, int depth) {       indent(depth);        sb.append(_lt);       sb.append(node.getName());        for (Enumeration keys = node.getAttributeKeys();keys.hasMoreElements();) {            String key = keys.nextElement().toString();           sb.append(_sp).append(key);           sb.append(_eq).append(_dqt);          sb.append(node.getAttributeValue(key).toString());            sb.append(_dqt);      }    }    private void writeCloseTag(Element node, int depth) {       if (node.hasChildren()) {         sb.append(_lt).append(node.getName());        } else {          sb.append(_cl);       }     sb.append(_gt).append(_nl);    }}
    

    This line:

    private static final byte[] _nl = System.getProperty("line.separator").getBytes();
    

    is originally a NullPointerException because line.separator is not well supported. The line terminator standard for XML is CR/LF, so you can use:

    private static final byte[] _nl = { '\r', '\n' };
    

Maybe you are looking for

  • Satellite A660 - display seems to come out of the 'calibration '.

    I often hibernate instead of shut down or restart, even if I go to and from an administrator account to update Windows 7, Firefox and antimalware. I find that the screen tends to get all washed out, as if someone bent to the high brightness and reduc

  • HP Pavilion 17 t-F000/F100: PCI Express Root complex pilot - HP Pavilion 17 t-F000/F100

    I just reinstalled a fresh copy of Windows 64-bit of 8.1 and have two unknown devices listed. They say they are for the PCI Express Root Complex, the value for them are: ACPI\HPQ6001\3 & 11583659 & 0 ACPI\HPQ6007\3 & 11583659 & 0 I tried following li

  • can, t use my windows live messenger, they say need my phone isn't safe

    My husband has 2 Windows Live messenger accounts. He cannot get into one of them. Microsoft says that its stories were send out spam. So to re enter a new password, they want his phone number at home. Is it really microsoft or a scam. However, he gav

  • Compaq Presario CQ60-210US pre-staged at level question

    I have a laptop Compaq Presario CQ60-210US I intend to upgrade to Windows 7.  Right now it is running Vista 32 bit and 2 GB memory system.  I am considering upgrading to 4 GB in the future and I know that on systems with dedicated video memory, that

  • Backup & recovery disks

    I bought a Dell Inspiron 660 s with Windows 8 on it, I really hated Windows 8, so I also bought Windows 7 and has that back on my computer. Before I did this, I did a disk backup & recovery CD. Can I use these discs to put Windows 8 on my computer, n