• Post Reply Bookmark Topic Watch Topic
  • New Topic

void can not be dereferenced  RSS feed

 
W Martin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could someone please give me an idea of what this error means? what i might be doing that's throwing it up..thanks
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a method that returns void, and you're doing something like
aMethodReturningVoid().someOtherMethod();
trying to call another method on the return value of the first; you're expecting the first method to return some kind of object.
 
W Martin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i see what you mean, that's what i was doing, thanks for the info
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!