Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null entryName in MyArchive.archiveContents? #14

Open
dgets opened this issue Feb 17, 2018 · 0 comments
Open

Null entryName in MyArchive.archiveContents? #14

dgets opened this issue Feb 17, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dgets
Copy link
Owner

dgets commented Feb 17, 2018

En route to #12, it has become apparent that something is messed up with my recursion algorithm. It is resulting in the following stack trace:

java.lang.NullPointerException
	at MyArchive.unroll(MyArchive.java:201)
	at RAS.main(RAS.java:68)

The applicable code is where entryName appears in the following for loop:

		if (Debugging.UNROLL) {
			//list directory contents
			System.out.println(arcFileName + " contents:");
			for (String entryName : archiveContents) {
				System.out.println(entryName);
			}
		}

Fix it, detc...

@dgets dgets added the bug Something isn't working label Feb 17, 2018
@dgets dgets added this to the recursive unroll working milestone Feb 17, 2018
@dgets dgets self-assigned this Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant