Show the full sketch for the Master and Slave.
If it is part of a larger project, then make two small sketches, to test the I2C communication.
Please don't include SoftwareSerial.
Who told you that ? I have written pages to discourage new users for using the I2C bus between Arduino boards: Reliable I2C bus and Arduino in Slave mode.