Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Probably fixed, check next version
-
CMS-10.0-GA
-
None
Description
Reproductions steps:
1. Login to the CMS.
2. Open the DocumentType editor.
3. Find a document which has a Link field.
4. Edit the document.
5. Try to set the nodetypes property of that link.
Expected result:
No nullpointer exception when setting it.
Actual result:
[INFO] [talledLocalContainer] 24.08.2015 18:02:12 WARN http-nio-8080-exec-2 [AbstractTextComponent.getModelType:170] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[JcrPluginConfig:/hippo:namespaces/corporatewebsite/Feature/editor:templates/_default_/product]]:expression=[caption] for [TextField [Component id = widget]], please set the type yourself. [INFO] [talledLocalContainer] 18:02:13 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 24.08.2015 18:02:13 WARN http-nio-8080-exec-6 [AbstractTextComponent.getModelType:170] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[JcrPluginConfig:/hippo:namespaces/corporatewebsite/Feature/editor:templates/_default_/feature_value]]:expression=[caption] for [TextField [Component id = widget]], please set the type yourself. [INFO] [talledLocalContainer] 24.08.2015 18:02:13 WARN http-nio-8080-exec-7 [AbstractTextComponent.getModelType:170] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[JcrPluginConfig:/hippo:namespaces/corporatewebsite/Feature/editor:templates/_default_/feature_type]]:expression=[caption] for [TextField [Component id = widget]], please set the type yourself. [INFO] [talledLocalContainer] 18:03:07 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 18:03:11 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 24.08.2015 18:03:17 WARN http-nio-8080-exec-10 [AbstractTextComponent.getModelType:170] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[JcrPluginConfig:/hippo:namespaces/corporatewebsite/Feature/editor:templates/_default_/feature_type]]:expression=[caption] for [TextField [Component id = widget]], please set the type yourself. [INFO] [talledLocalContainer] 18:03:18 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 18:03:48 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 18:03:51 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 18:04:02 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 24.08.2015 18:04:44 WARN http-nio-8080-exec-9 [AbstractTextComponent.getModelType:170] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[JcrPluginConfig:/hippo:namespaces/corporatewebsite/Feature/editor:templates/_default_/feature_type]]:expression=[caption] for [TextField [Component id = widget]], please set the type yourself. [INFO] [talledLocalContainer] 18:04:44 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [INFO] [talledLocalContainer] 18:05:06 ERROR java.lang.NullPointerException : null [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.InitializeItemFactory.createInitializeItem(InitializeItemFactory.java:71) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.processEvents(EventProcessor.java:232) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor.access$000(EventProcessor.java:54) [INFO] [talledLocalContainer] at org.onehippo.cms7.autoexport.EventProcessor$1.run(EventProcessor.java:93) [INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [INFO] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745)
Notes:
I also tried w/o including the namespace of the type.
In may case the value that I wanted to include is:
FeatureType
Attachments
Issue Links
- relates to
-
CMS-9466 Nullpointer exception in logs when creating new user with special character like"@"
- Closed