Results 1 to 9 of 9

Threaded View

  1. #3
    Hi Gianluca,

    your explanation helps to understand instantation of the adapter classes, but unfortunately it does not solve my problem.

    When I access the MetadataAdapter within the DataAdapters init() method (as described in your answer), it returns a Null for the MetadataAdapter instance.

    The actual issue I am dealing with is that the MetadataAdapter instance is null when DataAdapters's subscribe method is being called where I definitely need that instance and am now running into a null pointer exception.

    Interestingly enough, after a few calls of the subscribe method the MetadataAdapter instance seems to be set.

    And as I said, this problem does not appear when running in debug mode from Intellij Idea.

    Best regards,
    Oliver
    Last edited by oliverwetterau; November 2nd, 2015 at 08:33 AM.

 

 

Similar Threads

  1. Replies: 3
    Last Post: February 12th, 2009, 10:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:50 AM.