Extensive PhantomJS warnings when building admin-ng

Steps to reproduce

Build admin-ng and have a look at the build logs (see attachment). The warnings cannot be missed


Lars Kiesow
June 12, 2015, 2:48 PM

Have a look at the attached logs starting with the line:

[INFO] [1A[2KWARN: [36mTypeError{message: ''undefined' is not an object (evaluating 'r.id')', line: 8, sourceId: 139803527698752, sourceURL: 'http://localhost:9876/absolute/home/lars/dev/opencast-matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/shared/resources/emailTemplateResource.js?534dc4cd594c10747398fe8bcb02552946cee08e', stack: 'TypeError: 'undefined' is not an object (evaluating 'r.id')

When you build the module it is even more obvious since the warnings show up in color. It does not break the build process but definitely looks like it should not be happening

Xavier Butty
June 12, 2015, 2:36 PM

Hi , Could you add more information to this ticket? What is exactly the problem here? The info logs from phantomJS or the warning from the JUnit tests?

Lars Kiesow
June 12, 2015, 9:50 AM

Xavier, I think it makes sense for you to have a look at this. If you do not think so, please unassign yourself

Fixed and reviewed


Xavier Butty


Lars Kiesow


Build Error