My team has been hosting our code on GitHub, and recently we've been using GitHub Issues for issue tracking. There is no cost for public repos, and they also offer free private repos to FRC teams and other educational groups:
https://education.github.com/discount_requests/new. I don't know about NetBeans integration, but it has been working well for us so far.