SCSA, OCA, SCJP 5.0, SCJD, CCDH, CCAH http://www.linkedin.com/in/carlosamorillo
I'm actually not using an IDE, I just use Notepad++ for the syntax highlighting and then compile using cmd.
SCSA, OCA, SCJP 5.0, SCJD, CCDH, CCAH http://www.linkedin.com/in/carlosamorillo
Does the NPE occur on the line where you call the getName-method on the subcontractor instance? Or does the NPE occurs in the getName method itself ? And what happens if you put a call to the getName() method in the toString() implementation?
Pieter Jacobs wrote:Concerning your question regarding "transient" - yes, I have only used "transient" for the Logger.
Pieter Jacobs wrote:didn't think for a moment that the issue is in Subcontractor
Destiny's powerful hand has made the bed of my future. And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|