First year canes do not produce flowers or fruits. Non-fruiting could also be a fertilizing issue. There may be too much nitrogen in the soil, which results in lush growth but little to no blooming (from which the berries form). An addition of phosphorus may be needed to offset this. Bone meal is a good way to add phosphorus.
If you are getting flowers with no fruit, this is typically a pollination issue. These articles may help:
For additional suggestions, this article will help: https://www.gardeningknowhow.com/edible/fruits/blackberries/blackberries-not-fruiting.htm