A quirky problem with string arrays and Null Pointer Exception

People like you, willing to assist anyone, are what makes this and similar forums great. Obviously, this was my “bad”…

I had tried so many different thing to remedy this problem including defining the strings as public, and knew I had to define “french” and “english” in setup but never realized that repeating the “String[]” prefix would localize that array. Lesson learned!

Thank you so much for your assistance - now I can move ahead and work on this sketch.

ALSO - somehow it shows that I “Solved” this question but obviously you are the individual who did the “solving”…

2 Likes