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

java.lang.NullPointerException in EpubParser.isMimeTypeValid (EpubParser.java:62) #214

Closed
hackstarsj opened this issue Jun 13, 2018 · 1 comment

Comments

@hackstarsj
Copy link

private boolean isMimeTypeValid() throws EpubParserException {
    String mimeTypeData = container.rawData("mimetype");

    if (mimeTypeData.equals("application/epub+zip")) {
        return true;
    } else {
        System.out.println(TAG + "Invalid MIME type: " + mimeTypeData);
        throw new EpubParserException("Invalid MIME type");
    }
}

Please Fix the issue here null pointer exception on line 60

hrishikesh-kadam added a commit to codetoart/r2-streamer-java-1 that referenced this issue Jun 13, 2018
@hackstarsj
Copy link
Author

Thanks

hrishikesh-kadam added a commit to codetoart/FolioReader-Android that referenced this issue Jun 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant