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

createDistributions() crashes #1401

Open
Yuri05 opened this issue Apr 24, 2024 · 2 comments
Open

createDistributions() crashes #1401

Yuri05 opened this issue Apr 24, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@Yuri05
Copy link
Member

Yuri05 commented Apr 24, 2024

ospsuite-r version 12.0.482

 individualCharacteristics <- createIndividualCharacteristics(
   species    = Species$Human,
   population = HumanPopulation$Japanese_Population,
   gender     = Gender$Female,
   weight     = 75,
   height     = 1.75,
   heightUnit = "m",
   age        = 43
 )
ret=createDistributions(individualCharacteristics)
Error in clrCallStatic(clrFacadeTypeName, "GetFieldOrProperty", objOrType,  : 
  Type:    System.ArgumentException
Message: Field or property name 'DisplayName' not found on object of type 'Int32', for binding flags 'Instance, Public'
Method:  System.Object internalGetFieldOrProperty(System.Type, System.String, System.Reflection.BindingFlags, System.Object)
Stack trace:
   at Rclr.ClrFacade.internalGetFieldOrProperty(Type t, String name, BindingFlags b, Object obj_or_null)
@Yuri05 Yuri05 added the type: bug Something isn't working label Apr 24, 2024
@PavelBal
Copy link
Member

What is this function doing? What is the difference to createIndividual?

@Yuri05
Copy link
Member Author

Yuri05 commented Apr 25, 2024

I have absolutely no idea. Tried it out for the first time due to being asked by somebody else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants