0
내 XML 파일 판독기 코드에 오류가 전혀 표시되지 않습니다. 하지만 코드를 실행할 때 오류가 있다고 말하면서 정확히 정확히 무엇이 잘못되었는지 //Line 5
확실하지 않지만 이전에는 완벽하게 작동하고있었습니다.xml 파일 판독기에 오류가 표시되지 않지만 오류가 있다고 표시됩니다.
try
{
File file = fc.getSelectedFile();
StaxParser read = new StaxParser();
List<Fridgelogdata> readfridgelogdata = read.readFridgelogdata(file.getAbsolutePath()); //line5
for (Fridgelogdata fridgelogdata : readfridgelogdata) {
textArea.append(fridgelogdata+"\n\n");
}
}
catch (Exception e) {
//TODO Auto-generated catch block
e.printStackTrace();
textArea.append("\n Error try again");
}
} else {
textArea.setText("user cancelled open command");
}
}
});
무엇이 오류입니까? 오류가 무엇인지 모르는 사람은 어떻게 도울 수 있습니까? 오류 스택 추적 – Abubakkar
을 게시하십시오. 오류가 무엇입니까? – Chris
게시물의 서식도 수정하십시오. 지금은 읽기가 어렵습니다. Read http://tinyurl.com/so-list –