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

SchemaExtension constructor throws NPE #1

Open
Naata opened this issue Aug 31, 2016 · 1 comment
Open

SchemaExtension constructor throws NPE #1

Naata opened this issue Aug 31, 2016 · 1 comment

Comments

@Naata
Copy link

Naata commented Aug 31, 2016

constructor:

public SchemaExtension(URI schemaBaseUri) {
        this(null, schemaBaseUri);
}

refers to:

public SchemaExtension(String extensionId, URI schemaBaseUri) {
        super();
        Validate.notNull(extensionId);
        Validate.notNull(schemaBaseUri);
        if(StringUtils.isNoneBlank(extensionId)) {
            this.extensionId = extensionId;
        }
        this.schemaBaseUri = schemaBaseUri;
}

which results in NPE

@RobWin
Copy link
Member

RobWin commented Aug 31, 2016

Thx for reporting.
Btw. If you use Swagger2Markup and like, we would love to get your GitHub star.

@RobWin RobWin closed this as completed in 4d0c54b Aug 31, 2016
@RobWin RobWin reopened this Aug 31, 2016
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

2 participants