Can you paste the code that looks at user.dir? That file path is not correct (the version number is wrong), but I can't tell if it has changed since you generated this error or if there is something else going on.
On Wed, Mar 24, 2010 at 10:28 AM, Steve Pritchard <[email protected]>wrote: > Reading the system properties file, namely user.dir > > Further investigation says the first statement to create > BufferedReader is open is failing - the method is returning a null. > Steve > > On Mar 24, 11:19 am, Don Schwarz <[email protected]> wrote: > > How are you generating that file path? > > > > On Wed, Mar 24, 2010 at 10:05 AM, Steve Pritchard <[email protected] > >wrote: > > > > > My applications read an initialization file to prime themselves. > > > > > Overnight they both broke. The code > > > > > public static String[] loadFileAsStrings(String sFileName) { > > > try { > > > BufferedReader oR = new BufferedReader(new > > > FileReader(sFileName)); > > > ArrayList<String> oLst = new ArrayList(); > > > while (true) { > > > String sL = oR.readLine(); > > > if (sL == null) break; > > > oLst.add(sL); > > > } > > > oR.close(); > > > String[] oXs = (String[])oLst.toArray(new String[oLst.size()]); > > > return oXs; > > > } catch (Exception e) { > > > return null; > > > } > > > } > > > > > does not return the file. It did previously. > > > > > reading file /base/data/home/apps/gems-bbb/1.34076326484386876/web- > > > gems/core.ace > > > nolonger works. It did yesterday and I changed nothing. Redeploying > > > does not fix the problem. > > > > > It looks like the core.ace file is not there. How do I check? > > > > > Thanks, > > > Steve > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine for Java" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine-java%[email protected]> > <google-appengine-java%[email protected]<google-appengine-java%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
