java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Jack Punt, 1 year ago
This exception has no message.
via Spring JIRA by Jack Punt, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadata.getDatePatterns(WebScaffoldMetadata.java:1231)
at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadata.(WebScaffoldMetadata.java:107)
at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadataProviderImpl.getMetadata(WebScaffoldMetadataProviderImpl.java:86)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:266)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179)
at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.getPathForType(JspViewManager.java:533)
at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.createFieldsForCreateAndUpdate(JspViewManager.java:446)
at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.getCreateDocument(JspViewManager.java:253)
at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.get(JspMetadataListener.java:175)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.notify(JspMetadataListener.java:352)
at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
at org.springframework.roo.metadata.AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired(AbstractHashCodeTrackingMetadataNotifier.java:52)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:313)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179)
at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.getPathForType(JspViewManager.java:533)
at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.createFieldsForCreateAndUpdate(JspViewManager.java:446)
at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.getCreateDocument(JspViewManager.java:253)
at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.get(JspMetadataListener.java:175)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.notify(JspMetadataListener.java:352)
at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
at org.springframework.roo.metadata.AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired(AbstractHashCodeTrackingMetadataNotifier.java:52)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:313)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:143)
at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:141)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:217)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:187)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:141)
at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165)
at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358)
at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.