I try to write a text to a file and read this text later. When I use FileWriter I become a NullPointerException? Is that a permission problem or ...? I also try the PrintWriter but I see the same Exception . This my code:
FileWriter fw = new FileWriter(new File("file.file"));
fw.write("XYZ");
best regards londi