Germandrummer92 / TalkingRobot

PSE
0 stars 0 forks source link

CI doesn't print information and throws IndexOutOfBoundsExc when asking for line #47

Closed narigaoka closed 10 years ago

narigaoka commented 10 years ago

Your next Input:hi The robot says: Hey you, may I have your name. You know my name after all! Your next Input:my name is meng meng The robot says: Yay. Your usage record was found, Meng Meng. Can I help you Your next Input:canteen The robot says: In canteen Addenaurring there's Your next Input:what is at line one Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at dm.CanteenInformationState.getOutputKeyword(CanteenInformationState.java:210) at nlg.OutputCreator.createOutput(OutputCreator.java:50) at nlg.NLGPhase.setPhaseResult(NLGPhase.java:21) at generalControl.Main.main(Main.java:288)

luizhsilva commented 10 years ago

I think it has something to do with the latest CanteenData issue, but I'm not sure... Alex was trying to fix it.

narigaoka commented 10 years ago

ok, it was connected to the other one and seems fixed now ^^