advertisement

Article:
  Controlling Your Mac with AppleScript and Java
Subject:   String resultString = results.stringValue(); Error Code String resultString = results.stringValue();
Date:   2003-02-25 23:01:44
From:   thumbsup
the line
String resultString = results.stringValue();
produces the following error when I run it in Terminal.


Exception in thread "main" java.lang.NullPointerException
at AppleScriptTest.main(AppleScriptTest.java:32)


Do you have any suggestions on how to remove this error.


1 to 1 of 1
  1. String resultString = results.stringValue(); Error CodeString resultString = results.stringValue();
    2003-02-26 08:25:46  sdwr98 [View]

    • String resultString = results.stringValue(); Error CodeString resultString = results.stringValue();
      2003-02-26 21:02:41  thumbsup [View]

      • String resultString = results.stringValue(); Error CodeString resultString = results.stringValue();
        2003-02-27 15:47:55  sdwr98 [View]

        • String resultString = results.stringValue(); Error CodeString resultString = results.stringValue();
          2003-02-27 18:18:02  thumbsup [View]

          • String resultString = results.stringValue(); Error CodeString resultString = results.stringValue();
            2003-02-27 20:50:42  sdwr98 [View]

            • String resultString = results.stringValue(); Error CodeString resultString = results.stringValue();
              2003-03-01 00:12:32  thumbsup [View]

1 to 1 of 1