MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

GUIKit runtime error occurred :java.lang.NullPointerException

  • To: mathgroup at
  • Subject: [mg109372] GUIKit runtime error occurred :java.lang.NullPointerException
  • From: Andrey <andrey.siver at>
  • Date: Fri, 23 Apr 2010 03:51:23 -0400 (EDT)


I have a module which uses GUIKit to build some user interface in

It works OK from Mathematica frontend but it does not work in batch

"f:/program files/wolfram research/mathematica/7.0/math.exe" -initfile
".../path/gui-module.m" -noprompt

Get out the exception:

GUIRun::err: The following GUIKit runtime error
occurred :java.lang.NullPointerException.

GUIRunModal::nvalid: The GUI definition contains invalid content.

What may be the reason?



  • Prev by Date: Re: Unevaluated functions
  • Next by Date: "Page-Flip" Idea --- How would one attack this problem?
  • Previous by thread: finding equations
  • Next by thread: Re: GUIKit runtime error occurred :java.lang.NullPointerException