Results 1 to 2 of 2
  1. #1
    vasavi.singh is offline Member
    Join Date
    Feb 2009
    Posts
    24
    Rep Power
    0

    Default java.lang.NullPointerException

    Sorry, I am not able to catch your point. The methods called in ConstructingSocialNetwork() all are defined in the same class SocialNetworkConst.java. Then , no need to access the data of SocialNetworkConst.java through object. So, I directly used and updated the data.

    Some one posted the reply
    " are you sure SocialNetworkCons object "network" in two difference classes are the same? "

    The object where I created in Main.java and LinearThresholdModel.java both are of same class only.

    The method methodImplementing() is able to access the data of SocialNetworkConst.java.
    But it is not able to access the filed which I required.

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default

    vasavi please do not open a new post every time you answer. Answer within the same post that you started.

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. java.lang.NullPointerException
    By vasavi.singh in forum New To Java
    Replies: 3
    Last Post: 02-28-2009, 06:41 AM
  2. java.lang.NullPointerException
    By vasavi.singh in forum New To Java
    Replies: 2
    Last Post: 02-27-2009, 11:11 AM
  3. java.lang.NullPointerException
    By stevemcc in forum AWT / Swing
    Replies: 2
    Last Post: 02-08-2008, 10:01 AM
  4. java.lang.NullPointerException
    By ravian in forum New To Java
    Replies: 1
    Last Post: 01-13-2008, 08:39 PM
  5. java.lang.NullPointerException
    By Felissa in forum Advanced Java
    Replies: 1
    Last Post: 07-05-2007, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •