2 Replies Latest reply on May 8, 2006 9:25 AM by jvroom

    stack trace - NullPointerException

    busitech
      The following NullPointerException happens when I configure destinations with bidirectional one-many associations more than one level deep.

      Example:
      Company, one-to-many Vendors, one-to-many Items
      Items, many-to-one Vendor

      The recursive subscription mechanism gets stuck in the Vendor association of Item and crashes:

      11:49:53,796 ERROR [STDERR] Exception in RtmpReader thread: java.lang.NullPointerException
      11:49:53,796 ERROR [STDERR] java.lang.NullPointerException
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1029)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscriberToSequenceProxies(DataService.java:1044)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.addSubscription(DataService.java:440)
      11:49:53,796 ERROR [STDERR] at flex.data.DataService.serviceMessage(DataService.java:298)
      11:49:53,796 ERROR [STDERR] at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:506)
      11:49:53,796 ERROR [STDERR] at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:266)
      11:49:53,796 ERROR [STDERR] at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(AbstractRTMPServer.java: 602)
      11:49:53,796 ERROR [STDERR] at flex.messaging.endpoints.rtmp.RTMPConnection$RtmpReader.run(RTMPConnection.java:465)
      11:49:53,796 ERROR [STDERR] at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPo olExecutor.java:643)
      11:49:53,796 ERROR [STDERR] at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx ecutor.java:668)
      11:49:53,796 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)