Server Manager - Managing Extensions - Error - ExtendAssessmentModels - java lang NullPointerException
Purpose (problem description)
This page assists with the error you may face when updating extension step fails in the ExtendAssessmentModels step
Below is the error stack
Running action: Extend Assessment Models with new metrics.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
java.lang.NullPointerException
- You can see more on installing extensions in the documentation here: Install an extension
- You can see more on the creating of extensions in the documentation here: Create a new extension
Observed in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Observed in AIP Console Verison
| Release | Yes/No |
|---|---|
| <1.15.x | ✅ |
Observed in RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | ✅ |
Step by Step Scenario
AIP Console
It fails during Install/Update Extension

When Installing or Updating Extensions from Server Manager -

Action Plan
The corresponding log is as below -
Extend Assessment Models with new metrics. (Duration: 178718 ms)
ERR: 2021-05-11 09:06:40: Internal error occurred.
The application is closing. Call CAST support now providing the log file at I:\Implementation\Logs\Servman-20210511-085916\CMS12E9.castlog
com.castsoftware.java.MessageRuntimeException:Internal error occurred.
The application is closing. Call CAST support now providing the log file at I:\Implementation\Logs\Servman-20210511-085916\CMS12E9.castlog
com.castsoftware.java.IOMonitor.fail(IOMonitor.java:252)
com.castsoftware.java.IOMonitor.throwGeneralError(IOMonitor.java:194)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:257)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:234)
com.castsoftware.util.logger.Logging.execute(Logging.java:527)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415)
com.castsoftware.mda.run.ConfiguredApplication.run(ConfiguredApplication.java:233)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.executeInLogContext(CLIPMCConfiguredApplication.java:107)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication$1.call(CLIPMCConfiguredApplication.java:73)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication$1.call(CLIPMCConfiguredApplication.java:68)
com.castsoftware.util.logger.Logging.execute(Logging.java:527)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.execute(CLIPMCConfiguredApplication.java:67)
com.castsoftware.pmc.CLI.main(CLI.java:34)
Could not merge the assessment model 'Assessment model imported from <Appname>_central (upgraded, 8.3.16 new rules enabled) (upgraded, 8.3.16 new rules enabled) (upgraded, 8.3.28 new rules enabled)'. Reason: null
com.castsoftware.java.AimedException:Could not merge the assessment model 'Assessment model imported from <Appname>_central (upgraded, 8.3.16 new rules enabled) (upgraded, 8.3.16 new rules enabled) (upgraded, 8.3.28 new rules enabled)'. Reason: null
com.castsoftware.pmc.actions.deliveryunit.ExtendAssessmentModels.extend(ExtendAssessmentModels.java:105)
com.castsoftware.pmc.actions.deliveryunit.ExtendAssessmentModels.execute(ExtendAssessmentModels.java:69)
com.castsoftware.mda.impl.MemoryAction.topExecute(MemoryAction.java:265)
com.castsoftware.mda.transactions.SectionAction.runInternal(SectionAction.java:44)
com.castsoftware.mda.transactions.Section.runInTransaction(Section.java:192)
com.castsoftware.mda.transactions.Section.run(Section.java:137)
com.castsoftware.mda.transactions.Section.runHeadless(Section.java:308)
com.castsoftware.mda.run.ConfigurationManager.runVerb(ConfigurationManager.java:566)
com.castsoftware.mda.run.ConfiguredApplication.onTreatment(ConfiguredApplication.java:393)
com.castsoftware.pmc.run.PMCConfiguredApplication.onTreatment(PMCConfiguredApplication.java:530)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.onTreatment(CLIPMCConfiguredApplication.java:185)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:244)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:234)
com.castsoftware.util.logger.Logging.execute(Logging.java:527)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415)
com.castsoftware.mda.run.ConfiguredApplication.run(ConfiguredApplication.java:233)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.executeInLogContext(CLIPMCConfiguredApplication.java:107)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication$1.call(CLIPMCConfiguredApplication.java:73)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication$1.call(CLIPMCConfiguredApplication.java:68)
com.castsoftware.util.logger.Logging.execute(Logging.java:527)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415)
com.castsoftware.pmc.run.CLIPMCConfiguredApplication.execute(CLIPMCConfiguredApplication.java:67)
com.castsoftware.pmc.CLI.main(CLI.java:34)
INF: 2021-05-11 09:06:40: Return value: 1000
This is a known issue when installing the CISQ index Extension and OMG Index Extension in 2 separate steps.
It is permanently fixed in CAST AIP 8.3.34.
As a workaround, you need to
- Disable/remove CISQ and OMG-ASCQM Index extensions.
- Install latest CISQ and OMG-ASCQM Index extensions on the schemas.
- If you do not find the information you are looking for or solution for your problem, in this page, report your problem to CAST Technical Support and provide the Relevant Input
Notes/comments
Ticket # 29522
Related Pages