You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added 2 new questions via the GUI and they did not show up on the quiz.
I restarted the app, but the new questions still no show.
They did get written to the file, but with a blank line:
Which of these films was not filmed in South Carolina?,Forrest Gump, Swamp Thing, Halloween (2018),The Last Song,3
Where does the name 'Pee Dee' come from?,Color of the Pee Dee river,Because that's how people say 'Petey' in South Carolina,Original name of the state,Native American Tribe,2
When was USC founded?,1901,1876,1791,1801,0
How many islands does SC have?,4,12,18,34,1
What is the state fruit?,Apples,Oranges,Cherries,Peaches,4
What is your favorite color?,Red,White,Blue ,Blue,1
How many rivers?,1 ,3,3,4,22
Also, the program prints out this error:
> java -jar teamMuseumKiosk.jar 1186ms < Sat 14:55
java.lang.IndexOutOfBoundsException: toIndex = 5
at java.util.SubList.<init>(AbstractList.java:622)
at java.util.RandomAccessSubList.<init>(AbstractList.java:775)
at java.util.AbstractList.subList(AbstractList.java:484)
at controllers.QuestionController.loadData(QuestionController.java:157)
at controllers.QuestionController.initialize(QuestionController.java:48)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
The text was updated successfully, but these errors were encountered:
I added 2 new questions via the GUI and they did not show up on the quiz.
I restarted the app, but the new questions still no show.
They did get written to the file, but with a blank line:
Also, the program prints out this error:
The text was updated successfully, but these errors were encountered: