Skip to main content


Showing posts from 2006


java.util.NoSuchElementException at java.util.StringTokenizer.nextToken( Description from API: The string tokenizer class allows an application to break a string into tokens. The tokenization method is much simpler than the one used by the StreamTokenizer class. The StringTokenizer methods do not distinguish among identifiers, numbers, and quoted strings, nor do they recognize and skip comments. I got this problem while I was trying to deploy the source code at development server.After that I found out that the sql statement only produce 5 value but inside looping it request for 6 values,that's why NOSUCHELEMENT.So make sure that it's match first, what you ask is what you get.And then lastly, I found out that one of programmer forgot to commit her coding!! Solution :Make sure there are matching values. Vector vt = new Vector (); if ( iStudentId != 0 ) { vt = Cocurriculum . getCocuApplyList
Hai allllll!!! I am again. Objective of this new blog is where I can put all solution in a site. So I don’t have to refer back to my unreadable handwriting notes whenever I got problem in Java, programming, computer, network or anything about machine. For your information, I write all the solutions in a book, I already got more than 5 books that mixed up solution and problem and then it become problem to me. Not enough space to keep it and my desk look like hell. So better I use this technology to simplify my working way, and I hope I can share with other peoples. But please don’t believe my solution 100% because sometimes the solution is only apply to my situation and I am not hard core programmer to give the really best solution. My solution sometimes maybe does not work at yours but who care? My problem solved anyway. But If you got better solution, please let me know because I also computer-geek want to be. ;-) Oh?! You asking me about the name of this blog? Unid and Machine!