[Occurrence conditions]
The conditions under which this occurs are as follows.
- The number of versions to be retained when persisting entity information is 127 or more
- There is a data definition for which reference items are set.
[Log details]
The exception.log contains the following:
log.message = Error occurred in the mapped API.
java.lang.IllegalArgumentException: Items is not specified.
at jp.co.intra_mart.system.repository.metadata.entityset.datastore.external.StandardExternalReferenceDefinitions.add(StandardExternalReferenceDefinitions.java:52)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
[Cause]
The application process of the scope of influence was interrupted because the acquisition of the entity's data definition failed and the updated information could not be accurately constructed.
[Workaround]
As a workaround, it can be avoided by setting the following to the system property.
-Djava.lang.Integer.IntegerCache.high=1048575
The above value 1048575 is an example. Please set a value that is sufficiently larger than the version of the entity, etc.
However, the larger the value, the more memory and other resources will be used, so please adjust the numeric value to suit your environment.
Add the above setting to the Java VM arguments of your Web Application Server.
For information on setting Java VM arguments, please refer to the following document.
* After adding the settings, it is necessary to restart the server.
■ intra-mart Accel Platform Setup Guide Resin settings
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/setting/resin_configuration_file.html
[Schedule for revision]
This issue is scheduled to be resolved in "2025 Spring."
--Target-------------------------------------------------------------------------
iAP/Accel Platform/2023 Autumn or later
--------------------------------------------------------------------------------
FAQID:1357
When updating the entity in IM-Repository, "Failed to commit. Items is not specified." may be displayed and the change may not be applied.
![Avatar](https://product.intra-mart.support/system/photos/360843384433/サポート1-4.png)