Projects tigase _server tigase-muc Issues #23
Incorrectly handled Boolean exception (#23)
Artur Hefczyc opened 1 decade ago

java.lang.RuntimeException: Boolean fields allows only '1' or '0' values

    at tigase.muc.RoomConfig.setValue(RoomConfig.java:355)

    at tigase.muc.RoomConfig.setValues(RoomConfig.java:376)

    at tigase.muc.RoomConfig.read(RoomConfig.java:337)

    at tigase.muc.repository.MucDAO.readRoom(MucDAO.java:213)

    at tigase.muc.repository.inmemory.InMemoryMucRepository.getRoom(InMemoryMucRepository.java:183)

    at tigase.muc.modules.DiscoInfoModule.process(DiscoInfoModule.java:93)

    at tigase.muc.ModulesManager.process(ModulesManager.java:60)

    at tigase.muc.MUCComponent.processStanzaPacket(MUCComponent.java:308)

    at tigase.muc.MUCComponent.processPacket(MUCComponent.java:303)

    at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1337)

tigase.muc.repository.RepositoryException: Room reading error

    at tigase.muc.repository.MucDAO.readRoom(MucDAO.java:243)

    at tigase.muc.repository.inmemory.InMemoryMucRepository.getRoom(InMemoryMucRepository.java:183)

    at tigase.muc.modules.DiscoInfoModule.process(DiscoInfoModule.java:93)

    at tigase.muc.ModulesManager.process(ModulesManager.java:60)

    at tigase.muc.MUCComponent.processStanzaPacket(MUCComponent.java:308)

    at tigase.muc.MUCComponent.processPacket(MUCComponent.java:303)

    at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1337)

Caused by: java.lang.RuntimeException: Boolean fields allows only '1' or '0' values

    at tigase.muc.RoomConfig.setValue(RoomConfig.java:355)

    at tigase.muc.RoomConfig.setValues(RoomConfig.java:376)

    at tigase.muc.RoomConfig.read(RoomConfig.java:337)

    at tigase.muc.repository.MucDAO.readRoom(MucDAO.java:213)
issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
493
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-muc#23
Please wait...
Page is in error, reload to recover