• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unexplained

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have web app that runs internal on clients machines. But the first time that I install it I get the following error.
AEDMS Client Kernel version 7.02.00

AEDMS Admin version 1.01.00

URL: http://petercnb/ptnet.admin/servlets/admindata?sql=select+cabinet+from+cabs&page=1&new=true&database=ptsys
java.io.FileNotFoundException: http://petercnb/ptnet.admin/servlets/admindata?sql=select+cabinet+from+cabs&page=1&new=true&database=ptsys
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:707)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:384)
at lat1.Admin.ServletBeater.getServObject(ServletBeater.java:223)
at lat1.Admin.ServletBeater.loadCabinets(ServletBeater.java:60)
at lat1.Admin.GUI.TreeApplet.getCabinets(TreeApplet.java:220)
at lat1.Admin.GUI.TreeApplet.createCabinetNodes(TreeApplet.java:164)
at lat1.Admin.GUI.TreeApplet.createNodes(TreeApplet.java:160)
at lat1.Admin.GUI.TreeApplet.EGinit(TreeApplet.java:123)
at lat1.Admin.GUI.TreeApplet.init(TreeApplet.java:87)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)
Failed: null
java.lang.NullPointerException
at lat1.Admin.GUI.TreeApplet.createCabinetNodes(TreeApplet.java:165)
at lat1.Admin.GUI.TreeApplet.createNodes(TreeApplet.java:160)
at lat1.Admin.GUI.TreeApplet.EGinit(TreeApplet.java:123)
at lat1.Admin.GUI.TreeApplet.init(TreeApplet.java:87)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)
URL: http://petercnb/ptnet.admin/servlets/licenceinfo?tys=cool&t=0
java.io.FileNotFoundException: http://petercnb/ptnet.admin/servlets/licenceinfo?tys=cool&t=0
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:707)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:384)
at lat1.Admin.ServletBeater.getServObject(ServletBeater.java:223)
at lat1.Admin.ServletBeater.getServObject(ServletBeater.java:178)
at lat1.Admin.GUI.UserButtonApplet.initLicence(UserButtonApplet.java:1229)
at lat1.Admin.GUI.UserButtonApplet.init(UserButtonApplet.java:151)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)
---------------------------------
---------------------------------
I restarted Tomcat but it doesnt help.
"2004-03-03 12:12:52 - ContextManager: Adding context DEFAULT:/ptnet.admin"
that is displayed in the Tomcat window.
If i restart the machine however everything works fine. But as the program is run on servers at clients this is not desirable.
Can anyone help me?
Tys
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the stack trace:

Have you looked at this to see why this is failing?
 
Tys Seyffert
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes David,
it is a method call to the servlet that isn't found. When you restart the machine all servlets are found. Then everything works fine.
I want to know why it doesnt find the servlet in the beginning?
 
reply
    Bookmark Topic Watch Topic
  • New Topic