Problem
This article describes the correct procedure to deal with errors when processing the emails directory during an upgrade for Code Insight v6.
Symptoms
While running the migrationImport.groovy script (./scriptRunner.sh -n ../scripts/migrationImport.groovy $OLD_DIR), the following error occurs:
copied server.xmlremoved property scan.server.local_scanner.rmiset advanced.search.max.results = 1000added comments for request.resubmit.user.listadded property codeawareEnabledmerged scriptRunner/scriptsmerged scriptRunner/lib/groovy_classesNo attachmentsNo snapshotsmerged config/core/scriptsmerging config/core/reportsmerging config/core/emailsjava.lang.NullPointerException: Cannot get property 'config/core/emails/new_comment_body.html' on null objectat org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172)at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:121)at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at MigrationScriptPreparation.execute(Script1.groovy:316)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:101)at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
Resolution
This issue is caused by corruption in the /config/core/emails/ directory. If you have custom email templates, copy these to the new directory.
Related Articles
SQL Server diagnostic script for network, version, compatibility, CPU, memory, and collation settings 203Number of Views PowerShell cmdlet get-property Used in a Custom Action 7Number of Views Deferred Execution Custom Action Cannot Retrieve a Property Value 12Number of Views Property Does Not Get Set Using System Search 4Number of Views Filtering and Reporting on <NULL> Values 11Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago