Notice: Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #1226 (closed Bug: worksforme)

Opened 3 years ago

Last modified 14 months ago

Exceptions when adding a directory device

Reported by: anonymous Owned by:
Priority: 5, normal Milestone:
Component: Any (Default Component) Version: 1.7-rc
Keywords: Cc:

Description

Hi,

i got mass of exceptions, when adding a new device (directory)

2008/11/30 13:41:54 [ERROR] null / null [Thread-12] (Log.java:276) java.lang.NullPointerException?

at org.jajuk.util.UtilString?.format(UtilString?.java:385) at org.jajuk.base.Item.getPropertiesXml(Item.java:297) at org.jajuk.base.Item.toXml(Item.java:269) at org.jajuk.base.Collection.commit(Collection.java:265) at org.jajuk.base.Device.manualRefresh(Device.java:483) at org.jajuk.base.Device.access$000(Device.java:66) at org.jajuk.base.Device$1.run(Device.java:651)

2008/11/30 13:41:54 [ERROR] null / null [Thread-12] (Log.java:276) java.lang.NullPointerException?

at org.jajuk.util.UtilString?.replaceReservedXMLChars(UtilString?.java:514) at org.jajuk.util.UtilString?.formatXML(UtilString?.java:491) at org.jajuk.base.Item.getPropertiesXml(Item.java:301) at org.jajuk.base.Item.toXml(Item.java:269) at org.jajuk.base.Collection.commit(Collection.java:265) at org.jajuk.base.Device.manualRefresh(Device.java:483) at org.jajuk.base.Device.access$000(Device.java:66) at org.jajuk.base.Device$1.run(Device.java:651)

Attachments

Change History

Changed 3 years ago by bflorat

  • priority changed from 1, lowest to 5, normal
  • version set to 1.7-rc

(Note for debuggers: this code is from 1.7RC, Revision 4264)

Well... we would need more details to figure out the real reason of these exceptions, especially your custom properties configuration and the actions you did on them just before getting the exceptions.

In the mean time, you applied a raw fix to ignore the NPE.

Changed 14 months ago by bflorat

  • status changed from new to closed
  • type changed from Discussion to Bug
  • resolution set to worksforme

Add/Change #1226 (Exceptions when adding a directory device)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.