Search:

Type: Posts; User: Blinktwink

Search: Search took 0.10 seconds.

  1. Re: Map containsKey() giving Null Pointer Exception

    Oh wow I just realised that -.- I passed over it before because,

    private Map<String, Integer> wordFrequency = new Map<String, Integer>();

    wasn't working so I removed it to keep the compiler...
  2. Re: Map containsKey() giving Null Pointer Exception

    It is a field in the class, funny you should ask I was just looking at it...

    private Map<String, Integer> wordFrequency;
  3. Map containsKey() giving Null Pointer Exception

    Hi everyone I'm having an issue with my code that needs an urgent fix. I'll begin by slapping in my code.



    private void readTweetFile(String filename){
    try{
    Scanner input...
Results 1 to 3 of 3