Answered step by step
Verified Expert Solution
Link Copied!

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:


Run: n HI  Cipher  Attached is where my cipher line 67 is:

49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 TranslationMatrix.java H D A D 0 } I do not believe I have a null in my translator class. But attached below is that class:


@ public class Translator { G  F A F E 9  /** * initializing the translation matrix */ @} } 3 usages private

 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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems analysis and design

Authors: kenneth e. kendall, julie e. kendall

8th Edition

135094909, 013608916X, 9780135094907, 978-0136089162

More Books

Students also viewed these Programming questions

Question

Recognize four sources of capital. LO.1

Answered: 1 week ago