In Pokémon Diamond/Pearl/Platinum, you must have only one orb—either the Adamant Orb (for Dialga) or the Lustrous Orb (for Palkia)—in your bag. Holding both prevents either from appearing. Remove one orb, then revisit Spear Pillar to encounter the corresponding legendary.