java.lang.IllegalArgumentException: Model must not be null in CCPropertySheet()

Tagged: 

This topic has 2 replies, 2 voices, and was last updated 6 years ago by sphsms.

  • Author
    Posts
  • #13187
     sphsms
    Participant

    I am getting java.lang.IllegalArgumentException: Model must not be null in CCPropertySheet() while registering my custom authentication module. When I register it for the first time, it works fine while if I remove OpenAM all together and install it again and register module, I can see the module in list of modules but I don’t see its configuration on clicking it.

    OpenAM version : 11.0.0
    Java 7
    CentOS7

    Any pointers will be appreciated.

    #13237
     jonthomas
    Participant

    Hi
    This error is usually caused when the properties file is missing from the classpath or the xml file does not have a correct properties file name.

    When you say remove openam – is this also removing the configuration or just clearing out the webapps/war file?
    If you have created the service and registered it once then the details it will stay in the configuration store and you must make sure any customizations are preserved in the war file.

    #13238
     sphsms
    Participant

    Hello,

    I removed the .openamcfg file as well when removing OpenAM.I I will check your other suggestion and reply back. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?