-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Fix Version/s: 7.10
-
Component/s: Image Management
This may occur on a 7.3 instance when there is an old Picture with no filename, and this causes a startup failure on 7.4.
2015-10-05 10:58:01,808 ERROR [localhost-startStop-1] [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.ecm.core.repository.RepositoryServiceComponent notification of application started failed. java.lang.NullPointerException at org.nuxeo.ecm.platform.picture.PictureMigrationHandler.migratePicture(PictureMigrationHandler.java:152) at org.nuxeo.ecm.platform.picture.PictureMigrationHandler.doMigration(PictureMigrationHandler.java:97) at org.nuxeo.ecm.platform.picture.PictureMigrationHandler.doInitializeRepository(PictureMigrationHandler.java:76) at org.nuxeo.ecm.core.repository.RepositoryInitializationHandler.initializeRepository(RepositoryInitializationHandler.java:86) at org.nuxeo.ecm.core.repository.RepositoryService$3.run(RepositoryService.java:144)
Note that a workaround in such cases is to execute in the database:
UPDATE content SET name = '' WHERE name IS NULL;
- depends on
-
NXP-16070 Remove the 'Original' view of a Picture
- Resolved