Monday, March 27, 2017

Endeca 11.x : Property 'priority' must be a positive integer

Behaviour :- Following Exception/Error comes during Endeca experience manager content migration between environments or importing content... thumbnail 1 summary
Behaviour :-

Following Exception/Error comes during Endeca experience manager content migration between environments or importing contents from zip file.


SEVERE: Caught an exception while invoking method 'importApplication' on object 'IFCR'. Releasing locks.
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:931)
        at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:269)
        at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:137)
Caused by: com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException: Internal Server Error (500): javax.jcr.RepositoryException:

The following 2 validation failures occurred:
        [/sites/Discover/content/Web/Browse Pages/Boot Page] Property 'priority' must be a positive integer.
        [/sites/Discover/content/Web/Browse Pages/Helmets Page] Property 'priority' must be a positive integer.

        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.execute(IFCRUtility.java:1016)
        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPostDoNotConsume(IFCRUtility.java:957)
        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPost(IFCRUtility.java:929)
        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.importNode(IFCRUtility.java:686)
        at com.endeca.soleng.eac.toolkit.component.IFCRComponent.importContent(IFCRComponent.java:524)
        at com.endeca.soleng.eac.toolkit.component.IFCRComponent.importApplication(IFCRComponent.java:427)
        ... 7 more


Solution :-
Sometimes business user assigns rules priority less than 1 and Endeca XM accepts that value while saving the rule. Above Exception comes if any rule priority is less than 1. Ask business user not to assign rules priority as 0 or any value negative number. Extract the zip file and change the priority in respective JSON file as per error to any positive integer and try importing again.
Endeca XM Rules Priority with zero Value



From Author

Was this post resolve the solution you are looking for? are you looking for some other issues?Provide your comments

10 comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. Endeca Experience Manager 11.2 - Pages within folders are listed alphabetically instead of by priority, How I can change it.

    ReplyDelete
  3. It is normal for the accountant for the property owner to compile the depreciation schedule annually at tax time.new homes for sale in ocala fl

    ReplyDelete
  4. I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. Assertiveness Training

    ReplyDelete
  5. But there is a quicker way. Buy at auction. You can usually buy property at auction for less than in the traditional way, but there are some very important limitations to bear in mind.Land Clearing

    ReplyDelete
  6. As technology advances and new business models evolve, the real estate industry has begun to transform itself from providing traditional, carefully controlled "agent-centric" transactions to new "consumer-centric" practices.  First time home buyers

    ReplyDelete
  7. Multiple residence property owners have the daunting task of monitoring and satisfying the needs of a number of tenants. This comes with a slew of specialized risk management concern as well. Ownership of residential properties such as apartments, condominiums, and student housing creates a series of unique risks. As such, some research may be in order to procure the appropriate insurance for the properties being managed. Because different types of properties have different types of exposures, ensuring adequate limits and proper coverage can be challenging. whitley residences


    ReplyDelete
  8. A similar way to generate real estate leads by advertising which can be even more effective than simply advertising on a billboard or in the paper is by setting up your own real estate website. piermont grand

    ReplyDelete
  9. Again, if the investment period is less than the year in which this value is to be calculated, then the result will be zero. Otherwise we simply take the value of last years rental income and increase it by our annual rent increase assumption in cell $B$8.SubZero, Viking Ice Maker Repair Near Me

    ReplyDelete
  10. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. Costa Del Sol Property For Sale

    ReplyDelete

Text Widget