Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am receiving this error message when the user inputs the file path location: Attached is where my cipher line 67 is: I do not
I am receiving this error message when the user inputs the file path location:
Attached is where my cipher line 67 is:
I do not believe I have a null in my translator class. But attached below is that class:
Where would I be missing the NULL for this error to be occurring? Or am I missing something entirely else?
Run: n HI Cipher "C:\Program Files\Java\jdk1.8.0_361\bin\java.exe" Select a cipher {1: Casesr, 2: Substitution, 3: Vigenere} : Enter the file path or 'quit' to exit the program: C:\Penn State\SWENG311\M11Assignment Out Resources fox.txt Exception in thread "main" java.lang.NullPointerException Create breakpoint at Translator. translated Text (Translator.java:30) at Cipher.main (Cipher.java:67) Process finished with exit code 1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The NullPointerException youre encountering is happening at Translatorjava30 which is in your translatedTextString text method of the Translator class ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started