Re: NullPointerException - com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209) of "Apache Struts 2 Web Application Development" book

2017-11-12 Thread Yasser Zamani
On 11/12/2017 2:28 AM, albert kao wrote: > java.lang.NullPointerException > com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209) I just googled "needsReloading(FileManager.java:209)" and found [1] :) it seems has been a bug and has fixed in 2.1.8. [1]

Re: NullPointerException - com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209) of "Apache Struts 2 Web Application Development" book

2017-11-12 Thread Dave Newton
Please create a GitHub repo with your code and I'll take a look. Note that the examples from the book were tested only on Tomcat, and a pretty long time ago. I'll need any server details you're using. Also note that S2 is fairly different now than when the book was written. On Sun, Nov 12, 2017

Re: NullPointerException - com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209) of "Apache Struts 2 Web Application Development" book

2017-11-12 Thread albert kao
struts2 version: 2.1.6 On Sat, Nov 11, 2017 at 9:47 PM, Dave Newton wrote: > What version of Struts 2 are you attempting to use? > > On Sat, Nov 11, 2017 at 5:58 PM albert kao wrote: > > > I downloaded the source code of the book "Apache Struts 2