Announcement

Collapse
No announcement yet.

Java Applet stops working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Java Applet stops working

    I'm in the process of moving a v6 site to v7.

    I seem to have everything in order, but the java applet that was quite happily working not 15 minutes since (I posted this originally!) on this PC, has just stopped. All I'm getting is the blank box where it ought to be.

    Any bright ideas, anyone?

    http://www.ste4.co.uk/acatalog/

    #2
    Hi Dave.
    Can you give more details? What's not working?

    Comment


      #3
      Opera has the best diagnostics here. It reports

      java.lang.Throwable: Default Month blank <FJBA>
      at COM.Actinic.Catalog.EA.dm(EA.java)
      at COM.Actinic.Catalog.EA.dn(EA.java)
      at COM.Actinic.Catalog.EA.init(EA.java)
      at com.opera.AppletPanel.runHandlerThread(AppletPanel.java:445)
      at com.opera.AppletPanel.run(AppletPanel.java:341)
      at java.lang.Thread.run(Unknown Source)
      java.lang.Throwable: Default Year blank <FJBA>
      at COM.Actinic.Catalog.EA.dm(EA.java)
      at COM.Actinic.Catalog.EA.dn(EA.java)
      at COM.Actinic.Catalog.EA.init(EA.java)
      at com.opera.AppletPanel.runHandlerThread(AppletPanel.java:445)
      at com.opera.AppletPanel.run(AppletPanel.java:341)
      at java.lang.Thread.run(Unknown Source)
      java.lang.NullPointerException: cannot add null item to Choice
      at java.awt.Choice.insertNoInvalidate(Unknown Source)
      at java.awt.Choice.addItem(Unknown Source)
      at COM.Actinic.Catalog.EA.cy(EA.java)
      at COM.Actinic.Catalog.EA.init(EA.java)
      at com.opera.AppletPanel.runHandlerThread(AppletPanel.java:445)
      at com.opera.AppletPanel.run(AppletPanel.java:341)
      at java.lang.Thread.run(Unknown Source)

      The fatal error is (I think)

      java.lang.NullPointerException: cannot add null item to Choice

      This may be due to the null date fields or some other option that you've left empty.

      Not sure if that helps.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks, both.

        Not in front of that pc at the mo, but I think there are a couple of missing variables that I've yet to track down, so that's one area of investigation.

        Dom: the applet just sits there showing a blank grey panel, as if java weren't enabled, but it was running fine just a few minutes previously.

        Comment


          #5
          but the java applet that was quite happily working not 15 minutes since (I posted this originally!) on this PC, has just stopped
          Ive no idea on your problem but just to say that if you intend using this feature to take payments on your site I would advise against it as mnay shoppers will be unable to see it and it can results in a drop in sales - 10% has been quoted in the past.

          I would look to using a psp or SSL

          Comment


            #6
            I'm just trying to fix the most broken bits first, Malc.


            And later: Thanks to Norman for pointing me in the direction of missing variables - NQV prompts 009 & 010 to be precise - in act_order03. Thanks, Norman.

            Comment

            Working...
            X