on 05-24-2017 3:54 PM
Following the deprecation notice and realizing that we weren't really using them anyway, we removed the print extensions from our setup following the hybris 6.2 release, but attempting to clean the now orphaned types fails to remove the PrintPageGridAndMode
java.lang.ClassNotFoundException: de.hybris.platform.printcockpit.constraints.PrintPageGridAndMode
Which in turn leads to all sorts of issues that breaks even seemingly unrelated processes and webservices, attempting to update the system leads to
[JDBCValueMappings] could not read serialized value [fieldName=p_defaultvalue] : java.lang.ClassNotFoundException: de.hybris.platform.printcockpit.constraints.PrintPageGridAndMode
[PropertyJDBC] error reading property field 'defaultValue'/'p_defaultvalue' of item '8796396224599'/'8796396224599' (info was [defaultValue,p_defaultvalue,class java.lang.Object] )
being spammed in an endless loop.
Furthermore the lucene index seems to be broken and will now print out
ERROR [Cluster 0: Lucenesearch-UpdateIndex-Job::de.hybris.platform.lucenesearch.jalo.UpdateIndexJob] (Cluster 0: Lucenesearch-UpdateIndex-Job) [Job] Caught throwable null
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | java.lang.NullPointerException
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.lucenesearch.jalo.UpdateIndexJob.getAndMarkPendingUpdates(UpdateIndexJob.java:374)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.lucenesearch.jalo.UpdateIndexJob.performCronJob(UpdateIndexJob.java:248)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1278)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:803)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:756)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:676)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 | at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:196)
INFO | jvm 1 | main | 2017/05/26 13:24:17.654 |
INFO | jvm 1 | main | 2017/05/26 13:24:18.155 |
Any time it intends to do an update.
Has anyone seen this before and has advice on how to deal with this without completely reinitializing the hybris DB?
Fixed by temporarily reenabling print extensions and then manually removing the components created by it that aren't directly related to the typesystem, these include, but are likely not limited to:
Validation constraints
workflow items
lucene search index
and following http://answers.sap.com/answers/12789389/view.html to fix the broken lucene index update.
Hopefully Hybris will include a proper migration plan once the print extensions are officially axed for good
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
thanks for your information.
I found another possibility.
Create the required annotation in one of your extensions de.hybris.platform.printcockpit.constraints.PrintPageGridAndMode
Remove the print extensions
Create an impex script that removes the PlacementPageConstraint or any other object
Remove orphaned types
I am currently not sure, if this fixes all issues. But the first results looks quite promising.
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.