Skip navigation
B Vinoth Raj
Currently Being Moderated

ObjectModel ID multiply defined issue in CS5 Debug

Aug 12, 2011 8:10 AM

In InDesign CS5 Debug version, when my plugin loads I get numerous asserts as follows:


ObjectModel ID kTextStoryBoss is multiply defined by plugin 0x201 & plugin 0x40300

ObjectModel ID kVOSTextObjectBoss is multiply defined by plugin 0x40300 & plugin 0x201
ObjectModel ID kAttrBossListBoss is multiply defined by plugin 0x201 & plugin 0x40300
ObjectModel ID kCopyOneStyleCmdBoss is multiply defined by plugin 0x201 & plugin 0x40300



.so on


My plugin ID is 0x40300 and the plugin ID 0x201, I believe, is of InDesign's Text plugin.

I have not defined kTextStoryBoss, etc., in my plugin. It seems IDs are clashing. I tried using the ID generated by DollyX.

Still the same problem. Can anyone point me what could cause such asserts? Or how can I fix this?





  • Currently Being Moderated
    Aug 21, 2011 10:36 PM   in reply to B Vinoth Raj

    These are some points that you need to check to get the cause of your problem


    1. Check whether in your id.h file you have used the correct prefix for defining the class id & implementation ids.

    2. Try commenting out the decleration of class ids and implementation ids from the id.h and see if it removes the error, this way we could get to the declerations that are actually causing the problem.

    3. Use a plugin ID obtained for Adobe, or for testing purposes you could use the plugin id of any of your previous plugins that worked fine to look if it resolves the problem.

    4. Search your project for any use of "0x201" or the inclusion of "TextID.h"(mainly in your id.h) or the macro kTextPrefix.

    5. The plugin ID generated by DollyX is not guaranteed to be unique, because generally it shows the id that it generated previously which is basically set by you. So again it's as good as using a random id by urself. So the best bet is to get an ID obtained from Adobe.


    Hope this helps you to find a solution.

    Mark as:
  • Currently Being Moderated
    Jan 24, 2012 2:22 PM   in reply to Manan Joshi

    Thanks to Manan's hints, I found that I had some includes in my ID.h file that should have been in the .fr file. In my case it was GraphicsID.h and kOffscreenViewPortBoss, etc. When I moved them, it fixed the define problem.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points