Can you post a small, simple code that shows the problem?

The way methods in one class get references to object instances that exist in another class is to use getter methods:

SomeClass ...