java.lang.NullPointerException

Coderanch | James Brooks | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    nullpointerexception with String???

    Coderanch | 8 years ago | James Brooks
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at project4.Shop.toString()
    2. project4
      Shop.toString
      1. project4.Shop.toString(Shop.java:51)
      1 frame
    3. Java RT
      StringBuilder.append
      1. java.lang.String.valueOf(String.java:2827)
      2. java.lang.StringBuilder.append(StringBuilder.java:115)
      2 frames
    4. project4
      Tester.main
      1. project4.Tester.main(Tester.java:17)
      1 frame