Monthly Archives: August 2012

  1. API Design: Defensive and Explanatory Error Message

    Leave a comment

    August 20, 2012 by huionn

    java.lang.IllegalStateException: Error in org.openide.nodes.EntrySupportDefault with entry Children.Keys.KE[com.caseforge.task.model.TaskModel@d1cb41f7,0] from among [Children.Keys.KE[com.caseforge.task.model.TaskModel@d1cb41f7,0], Children.Array.AE[]] in {Children.Array.AE[]=Children.Info[Children.Array.AE[],length=0], Children.Keys.KE[com.caseforge.task.model.TaskModel@d1cb41f7,0]= Children.Info[Children.Keys.KE[com.caseforge.task.model.TaskModel@d1cb41f7,0],length=1]} probably caused by faulty key …
    Continue reading

  2. Interface Generation from Nuxeo XSD Files

    2

    August 19, 2012 by huionn

    Nuxeo platform such as document schema is very flexible. However, like loose typing language, the flexibility has a drawback. The …
    Continue reading

  3. Cluelessness as Design Principle

    Leave a comment

    August 17, 2012 by huionn

    In his book “Practical API Design”, the author Jaroslav Tulach (NetBeans architect) emphasized on Cluelessness as a key principle of …
    Continue reading

  4. Java ClassLoader Deadlock

    Leave a comment

    August 8, 2012 by huionn

    I encountered weird deadlock: I have read http://www.ibm.com/developerworks/java/library/j-dclp Found one Java-level deadlock: ============================= “http-0.0.0.0-8443-3”: waiting to lock monitor 0x06777d44 (object …
    Continue reading

  5. Netbeans Very Slow on First Start Up

    Leave a comment

    August 2, 2012 by huionn

    For my case, as my project consists of 30 modules, the first start up of Netbeans 7 become painfully slow …
    Continue reading