java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Trying to load a vCard of a user that does not exist will generate the following NPE. 2006.11.01 16:59:03 [org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardProvider.java:158) ] org.jivesoftware.wildfire.user.UserNotFoundException: Username admin not found at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:613) at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:541) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardProvider.java:137) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:176) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595) 2006.11.01 16:59:03 [org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:68) ] Internal server error java.lang.NullPointerException at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:300) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:305) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.getVCard(LdapVCardProvider.java:282) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:178) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595)
    via by Gaston Dombiak,
  • Trying to load a vCard of a user that does not exist will generate the following NPE. 2006.11.01 16:59:03 [org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardProvider.java:158) ] org.jivesoftware.wildfire.user.UserNotFoundException: Username admin not found at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:613) at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:541) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardProvider.java:137) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:176) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595) 2006.11.01 16:59:03 [org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:68) ] Internal server error java.lang.NullPointerException at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:300) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:305) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.getVCard(LdapVCardProvider.java:282) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:178) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595)
    via by Gaston Dombiak,
  • Trying to load a vCard of a user that does not exist will generate the following NPE. 2006.11.01 16:59:03 [org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardProvider.java:158) ] org.jivesoftware.wildfire.user.UserNotFoundException: Username admin not found at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:613) at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:541) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardProvider.java:137) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:176) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595) 2006.11.01 16:59:03 [org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:68) ] Internal server error java.lang.NullPointerException at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:300) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:305) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.getVCard(LdapVCardProvider.java:282) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:178) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595)
    via by Gaston Dombiak,
  • 2006.03.26 03:36:32 [org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:71)] Internal server error java.lang.NullPointerException at org.jivesoftware.wildfire.handler.IQPrivacyHandler.getPrivacyListsNames(IQPrivacyHandler.java:150) at org.jivesoftware.wildfire.handler.IQPrivacyHandler.handleIQ(IQPrivacyHandler.java:71) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:265) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.PacketRouter.route(PacketRouter.java:65) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:396) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:50) at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:264) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:119) at java.lang.Thread.run(Unknown Source) 2006.03.26 15:20:24 [org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:71)] Internal server error java.lang.NullPointerException at org.jivesoftware.wildfire.handler.IQPrivacyHandler.setActiveList(IQPrivacyHandler.java:219) at org.jivesoftware.wildfire.handler.IQPrivacyHandler.handleIQ(IQPrivacyHandler.java:88) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:265) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.PacketRouter.route(PacketRouter.java:65) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:396) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:50) at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:264) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:119) at java.lang.Thread.run(Unknown Source)
    via by Gaston Dombiak,
  • Related thread: http://www.jivesoftware.org/community/thread.jspa?threadID=20563&tstart=0 java.lang.NullPointerException at org.jivesoftware.wildfire.privacy.PrivacyItem.verifyJID(PrivacyItem.java:166) at org.jivesoftware.wildfire.privacy.PrivacyItem.matchesPacketSenderCondition(PrivacyItem.java:145) at org.jivesoftware.wildfire.privacy.PrivacyItem.matchesCondition(PrivacyItem.java:127) at org.jivesoftware.wildfire.privacy.PrivacyList.shouldBlockPacket(PrivacyList.java:102) at org.jivesoftware.wildfire.ClientSession.shouldBlockPacket(ClientSession.java:732) at org.jivesoftware.wildfire.ClientSession.process(ClientSession.java:743) at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.initSession(PresenceUpdateHandler.java:199) at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:100) at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:153) at org.jivesoftware.wildfire.PresenceRouter.handle(PresenceRouter.java:92) at org.jivesoftware.wildfire.PresenceRouter.route(PresenceRouter.java:61) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75) at org.jivesoftware.wildfire.net.SocketReader.processPresence(SocketReader.java:296) at org.jivesoftware.wildfire.net.ClientSocketReader.processPresence(ClientSocketReader.java:57) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:191) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595)
    via by Gaston Dombiak,
  • Related thread: http://www.jivesoftware.org/community/thread.jspa?threadID=20563&tstart=0 java.lang.NullPointerException at org.jivesoftware.wildfire.privacy.PrivacyItem.verifyJID(PrivacyItem.java:166) at org.jivesoftware.wildfire.privacy.PrivacyItem.matchesPacketSenderCondition(PrivacyItem.java:145) at org.jivesoftware.wildfire.privacy.PrivacyItem.matchesCondition(PrivacyItem.java:127) at org.jivesoftware.wildfire.privacy.PrivacyList.shouldBlockPacket(PrivacyList.java:102) at org.jivesoftware.wildfire.ClientSession.shouldBlockPacket(ClientSession.java:732) at org.jivesoftware.wildfire.ClientSession.process(ClientSession.java:743) at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.initSession(PresenceUpdateHandler.java:199) at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:100) at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:153) at org.jivesoftware.wildfire.PresenceRouter.handle(PresenceRouter.java:92) at org.jivesoftware.wildfire.PresenceRouter.route(PresenceRouter.java:61) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75) at org.jivesoftware.wildfire.net.SocketReader.processPresence(SocketReader.java:296) at org.jivesoftware.wildfire.net.ClientSocketReader.processPresence(ClientSocketReader.java:57) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:191) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595)
    via by Gaston Dombiak,
    • java.lang.NullPointerException at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:300) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvider.java:305) at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.getVCard(LdapVCardProvider.java:282) at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.java:178) at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:198) at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:191) at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:107) at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48) at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268) at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96) at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67) at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250) at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51) at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216) at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156) at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62) at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123) at java.lang.Thread.run(Thread.java:595)
    No Bugmate found.