Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Add] and updating default property if options returns an error from the server #241

Open
5 of 12 tasks
MartinFijneman opened this issue Oct 7, 2021 · 3 comments
Open
5 of 12 tasks

Comments

@MartinFijneman
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the COMET-IME
  • I have searched open and closed issues to ensure it has not already been reported

Description

was testing with options in testing engineering model 20211006 Release Testing 901 RC1.

Model with 2 options, Option 1 and Option 2.
Within workbook, set Option 2 as default. After that, was not able to create a new option, error message:

The CDP4 Services replied with code InternalServerError: Internal Server Error: "exception:The ParameterType with iid c0278047-2c3c-4ebf-ad3f-0ce30631107d could not be found in the DefaultValueArrayFactory cache. A Default ValueArray could not be created"

Then trying in the IME:

  • creating a new option also not possible
  • Removed default setting for option 2
  • still not able to create new option

at one point when trying, the IME crashed (don't know exactly at which action, I think I closed the model and was trying to reopen in the IME).

After this crash, trying again to open the IME and the same model was possible.
Creating new options still not possible however, stuck there, with given error message.

Steps to Reproduce

Logs

  • There are no logs regarding the issue
  • I have attached a log file or included the relevant section in this issue

System Configuration

  • COMET version:
    • COMET-IME: 9.0.1 RC1
    • Other:
  • Web Services:
    • CDP4/COMET Web Services version:
    • OCDT WSP version:
  • Environment (Operating system, version and so on):
    • Microsoft Excel (32/64 bit):
    • Windows OS (32/64 bit):
    • Additional information:
@lxatstariongroup
Copy link
Contributor

lxatstariongroup commented Oct 8, 2021

@MartinFijneman For the IME, the error that lead to the crash is important.
This might be the same server error about the DefaultValueArrayFactory, but it might also be unrelated.
For sure we need to know what server version was installed.

@samatstariongroup samatstariongroup transferred this issue from STARIONGROUP/COMET-IME-Community-Edition Oct 8, 2021
@samatstariongroup
Copy link
Member

I have been able to reproduce the server error, but not the IME crash. The version of the server is 6.1.4. I will extract the SQL and attach to this ticket so it can be locally reproduced with the current version (7.x) of the server and see if the problem remains and then fix there

@samatstariongroup samatstariongroup changed the title problems leading to IME crash after setting default option in engineering model [Add] and updating default property if options returns an error from the server Oct 8, 2021
@samatstariongroup
Copy link
Member

@samatstariongroup samatstariongroup added this to Estimate 6-10-21 in COMET-CE Oct 9, 2021
@lxatstariongroup lxatstariongroup moved this from Estimate 14-10-21 to Backlog in COMET-CE Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
COMET-CE
  
Backlog
Development

No branches or pull requests

3 participants