Skip to content

Commit

Permalink
Fixes #1632 (#1647)
Browse files Browse the repository at this point in the history
Fixes #1632 PAYARA-1742
  • Loading branch information
mkarg authored and smillidge committed Jun 13, 2017
1 parent e44b474 commit 034208b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ private List<Class<?>> getClasses(ServletContainer jerseyApplication) {
List<Class<?>> classes = new ArrayList<>();

for (Class jerseyClass : jerseyApplication.getConfiguration().getApplication().getClasses()) {
if(!jerseyClass.getPackage().getName().contains("org.glassfish.jersey.server.wadl")) {
if(jerseyClass.getPackage() == null || !jerseyClass.getPackage().getName().contains("org.glassfish.jersey.server.wadl")) {
classes.add(jerseyClass);
}
}
Expand Down

0 comments on commit 034208b

Please sign in to comment.