Jump to content

blueJ game project null.pointer.exception

- - - - -

  • Please log in to reply
5 replies to this topic

#1
boos

boos

    Newbie

  • Members
  • Pip
  • 1 posts
Hi iam getting null pointer exception when i run game and write "spustit kontrola" (without ").
Can u pls tell me how to fix it?

Here is my project http://boos.ic.cz/sc...dventuraOMG.zip

#2
mnirahd

mnirahd

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 330 posts
Hi,

I'd suggest you to debug through the program, provided you have the source code. If that works if you provide the arguments with ", then why you're worrying about it?

Munir

#3
Liars_paradox

Liars_paradox

    Newbie

  • Members
  • PipPip
  • 15 posts
Wow! That's a big-ass project. It's not just a single program but a whole collection of a java files, plus the variable names are written in a language besides English. That looks like it would be hard for a person to casually debug for you.

#4
Cander

Cander

    Learning Programmer

  • Members
  • PipPipPip
  • 63 posts
Your asking to much, debug the project and track down where the exception is generated. Post a code snippet with that code together with the error message. You'll get much better and helpful answers then.

#5
josep

josep

    Learning Programmer

  • Members
  • PipPipPip
  • 56 posts
Debug the project and post in the stack trace, that might help us to identify where the problem is.

#6
wim DC

wim DC

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,084 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Java
The stack trace will allready tell you in which file it is and on which line it occured.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users