You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException
at com.googlecode.jsonschema2pojo.maven.Jsonschema2PojoMojo.getPropertyWordDelimiters(Jsonschema2PojoMojo.java:226)
at com.googlecode.jsonschema2pojo.rules.PropertyRule.getPropertyName(PropertyRule.java:153)
at com.googlecode.jsonschema2pojo.rules.PropertyRule.apply(PropertyRule.java:75)
at com.googlecode.jsonschema2pojo.rules.PropertyRule.apply(PropertyRule.java:43)
at com.googlecode.jsonschema2pojo.rules.PropertiesRule.apply(PropertiesRule.java:63)
at com.googlecode.jsonschema2pojo.rules.PropertiesRule.apply(PropertiesRule.java:34)
at com.googlecode.jsonschema2pojo.rules.ObjectRule.apply(ObjectRule.java:110)
at com.googlecode.jsonschema2pojo.rules.ObjectRule.apply(ObjectRule.java:56)
at com.googlecode.jsonschema2pojo.rules.TypeRule.apply(TypeRule.java:96)
at com.googlecode.jsonschema2pojo.rules.TypeRule.apply(TypeRule.java:33)
at com.googlecode.jsonschema2pojo.rules.JsonSchemaRule.apply(JsonSchemaRule.java:74)
at com.googlecode.jsonschema2pojo.rules.JsonSchemaRule.apply(JsonSchemaRule.java:67)
at com.googlecode.jsonschema2pojo.rules.JsonSchemaRule.apply(JsonSchemaRule.java:31)
at com.googlecode.jsonschema2pojo.SchemaMapperImpl.generate(SchemaMapperImpl.java:66)
at com.googlecode.jsonschema2pojo.cli.Jsonschema2Pojo.generate(Jsonschema2Pojo.java:88)
at com.googlecode.jsonschema2pojo.maven.Jsonschema2PojoMojo.execute(Jsonschema2PojoMojo.java:172)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
From [email protected] on April 25, 2012 21:14:38
Fixed (r6961e11ba289). To workaround this in 0.2.2, add a propertyWordDelimiters value to your plugin configuration e.g.
Original author: [email protected] (April 25, 2012 07:50:49)
java.lang.NullPointerException
at com.googlecode.jsonschema2pojo.maven.Jsonschema2PojoMojo.getPropertyWordDelimiters(Jsonschema2PojoMojo.java:226)
at com.googlecode.jsonschema2pojo.rules.PropertyRule.getPropertyName(PropertyRule.java:153)
at com.googlecode.jsonschema2pojo.rules.PropertyRule.apply(PropertyRule.java:75)
at com.googlecode.jsonschema2pojo.rules.PropertyRule.apply(PropertyRule.java:43)
at com.googlecode.jsonschema2pojo.rules.PropertiesRule.apply(PropertiesRule.java:63)
at com.googlecode.jsonschema2pojo.rules.PropertiesRule.apply(PropertiesRule.java:34)
at com.googlecode.jsonschema2pojo.rules.ObjectRule.apply(ObjectRule.java:110)
at com.googlecode.jsonschema2pojo.rules.ObjectRule.apply(ObjectRule.java:56)
at com.googlecode.jsonschema2pojo.rules.TypeRule.apply(TypeRule.java:96)
at com.googlecode.jsonschema2pojo.rules.TypeRule.apply(TypeRule.java:33)
at com.googlecode.jsonschema2pojo.rules.JsonSchemaRule.apply(JsonSchemaRule.java:74)
at com.googlecode.jsonschema2pojo.rules.JsonSchemaRule.apply(JsonSchemaRule.java:67)
at com.googlecode.jsonschema2pojo.rules.JsonSchemaRule.apply(JsonSchemaRule.java:31)
at com.googlecode.jsonschema2pojo.SchemaMapperImpl.generate(SchemaMapperImpl.java:66)
at com.googlecode.jsonschema2pojo.cli.Jsonschema2Pojo.generate(Jsonschema2Pojo.java:88)
at com.googlecode.jsonschema2pojo.maven.Jsonschema2PojoMojo.execute(Jsonschema2PojoMojo.java:172)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=46
The text was updated successfully, but these errors were encountered: