Jump to content
Steve Evans

AVTECH Java Applet problem under OS X Firefox

Recommended Posts

Hi,

 

I've been using an AVTECH DVR accessed using Firefox running under OS X. Recently Firefox has been updated, and the OS upgraded to 10.5.3. Somewhere along the line the java applet has stopped working; the buttons etc are all shown, but the video fails to display.

 

I downloaded the application.jar from the DVR and decompiled it to find the following start routine for the applet.

 

 

    public void start()
   {
       try
       {
           File file = new File("abc");
           fout = new FileOutputStream(file, true);
           fout.close();
           file.delete();
           file = null;
           t_master = new Thread(this);
           t_master.start();
           Thread thread = new Thread(F_Decode);
           thread.setPriority(8);
           thread.start();
           t_Picture = new Thread(F_Picture);
           t_Picture.setPriority(8);
           t_Picture.start();
       }
       catch(FileNotFoundException filenotfoundexception)
       {
           System.out.println(filenotfoundexception);
       }
       catch(SecurityException securityexception)
       {
           System.out.println("No signed");
       }
       catch(IOException ioexception)
       {
           System.out.println(ioexception);
       }
   }

 

Unfortunately the "abc" test file is being created without an absolute path, and the current Java implementation is failing this as a security exception, reporting it in the java console. Had a full path been given I don' think this would have been a problem.

 

I've not been able to determine where the default directory being used by Firefox to store such temporary files is, and thus have been unable to check the directory permissions.

 

Everything works fine from a PC running Firefox.

 

Oddly the applet works the first time Firefox is run after it is installed under OS X, but thereafter it fails.

 

Has anybody else seen this? How can such bugs/issues be fed back to AVTECH for consideration?

 

Cheers,

 

Steve

Share this post


Link to post
Share on other sites

OK Perhaps this is more of a DVR than a software question. Could a moderator please move this to the appropriate forums?

 

Thanks,

 

Steve

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×