Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialedumorlom
4,073 PointsWhen trying to refactor I am getting an error. Why could this be?
I am getting an error that says when trying to refactor Queue<Song>:
Only fields, variables, method parameters or methods of valid type can be considered.
5 Answers
papachaos
7,382 Pointsjust refactor from where you create the variable..
click on Queue<Song> inside "private Queue<Song> mSongQueue;" then press Refactor -> type migration..
edumorlom
4,073 PointsHello, iI never figured it out... :(
ben rodriguez
6,382 PointsI think we are missing the SongRequest class in the download.
Bryan Martinez
2,227 PointsI've run into this issue and spent a couple of hours doing research to solve the issue with no luck. This sucks because I can't advance until I do it. Someone please help
Rusu Mihail
2,351 PointsHey,did anybody find the solution? Me having the same problem :(
Vaibhav Yaramwar
Courses Plus Student 4,292 PointsVaibhav Yaramwar
Courses Plus Student 4,292 PointsI am also getting same error. have you resolved this error?