No it is not that! My path is "/home/project/files/model.xls" for Linux. What it is strange is that one line before i make a setCellValue with a double and it is not complaining but if I set a string "March" in a cell which actually has a Selection List as source "January", "February", "March" and so on Tomcat is getting java.lang.NullPointerException and stops at the that line.
I hope someone experienced something like that and can help. Thanks Adrian On Thu, Oct 8, 2009 at 12:40 PM, Barfield Steve <[email protected]> wrote: > Hi - I had a pathing issue between Windows & Linux whereby the slashes needed > to be backward \ in windows (\\ escaped) and forward / in linux. > > Regards, Steve Barfield, Developer > Application Services > FUJITSU SERVICES > Cavendish Road, Stevenage, Herts, SG1 2DY > +44 (0) 870 234 8197 (Int: 744 48197) > +44 (0) 7867 828474 > + <mailto:[email protected]> > Web: http://uk.fujitsu.com > Fujitsu Services Limited, Registered in England no 96056, Registered Office > 22 Baker Street, London, W1U 3BW > This e-mail is only for the use of its intended recipient. Its contents are > subject to a duty of confidence and may be privileged. Fujitsu Services does > not guarantee that this e-mail has not been intercepted and amended or that > it is virus-free. > > > > -----Original Message----- > From: Adrian Butnaru [mailto:[email protected]] > Sent: 08 October 2009 07:20 > To: [email protected] > Subject: HSSF Problem setting cell value in Linux > > Hello, > I am facing a strange problem. I developed a Spring MVC web application > with Netbeans in Windows. The application uses POI to set some values in > some Excel files an then to read and display results from other cells > calculated accordingly. The application works well in Windows but when I > upload my app in Linux (Tomcat servlet) is failling first time it should > set a value. Have anybody any experience with that to help me? Owner of > the xls files is the same as the owner of tomcat and file permissions > are 777. > > Thanks, > Adrian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
