Search:

Type: Posts; User: nikomania

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    1,214

    java.lang.NullPointerException

    Hello guys i've got a little problem



    line 251

    while(position>0 && myBook[position-1].getOnoma().compareToIgnoreCase(key.getOnoma())>0){


    line 330
  2. Replies
    5
    Views
    842

    Re: Seperate numbers

    If i do it step by step it prints 0 9 8 7 .... It works fine!
  3. Replies
    5
    Views
    842

    Re: Seperate numbers

    Yes I tried that and it worked but the code then bacame quite big...But I dont understand why it doesnt work that way also!! Thanks anyway:)
  4. Replies
    5
    Views
    842

    Seperate numbers

    So i've got a little proble with my code. The idea is to take a number for example 1234567890 and seperate its digits to : 1,2,3,4,5,6,7,8,9,0 or 0,9,8,7,6,5,4,3,2,1...For that a thought an algorithm...
  5. Re: Exception in thread "main" java.lang.NullPointerException

    here it is
    Exception in thread "main" java.lang.NumberFormatException: empty String
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1011)
    at...
  6. Exception in thread "main" java.lang.NullPointerException

    Hello guys, i was searching for that error and I found this site, a found some similar threads but i couldnt solve this erros. please ckeck it :)
    If you dont understand the meaning of some variables...
Results 1 to 6 of 6