Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Javax error

  Asked By: Hondo    Date: Jul 26    Category: Java    Views: 691
  

I am a photographer, and use Millers Lab for uploading images over the
internet to their lab. Recently I've had a number of problems with their
upload site.

They provide a button, that says "Select Images". This button is supposed
to bring up a window that allows you to peruse your file system and choose
the files you are wanting to upload to them. However, when I click on the
button, I get the error shown at bottom.

I've verified their process which required installing the JTE 1.3.1 run time
library, and also Quick Time version 6 (which has the QTJava.zip library
which I am properly linking to).

Can anyone tell me what might be wrong with my pc that I am receiving this
error? Unfortunately this is my internet lab of choice and I have used them
in the past with no problems. Can anyone help? Much thanks in advance.

Here's the error from the Java Console:

java.lang.NullPointerException
at javax.swing.filechooser.WindowsFileSystemView.isRoot(Unknown Source)
at javax.swing.JFileChooser.setCurrentDirectory(Unknown Source)
at CustomFileBox.<init>(CustomFileBox.java:50)
at ImageDetails$BrowseButton.actionPerformed(ImageDetails.java:1642)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Share: 

 

6 Answers Found

 
Answer #1    Answered By: Este Ferrrari     Answered On: Jul 26

The runtime system  searching for something that does
not existed and threads not in sync. The errors
suggest the program has logical errors in GUI.
Probably someone in the Millers Lab not careful when
introduce the third party package into the proven
system.

Since I am not a MAC per se, please take the above as
a partial prognosis and contact the lab support.

 
Answer #2    Answered By: Channarong Boonliang     Answered On: Jul 26

I was assuming it was a problem with
the JRE on my pc, since they receive 1000+ uploads per day on their
site and no one has complained about this problem but me! Per their
instructions, I uninstalled Quick Time and JRE 1.3, and then
reinstalled it etc. and I get the same results. I struggle with it
being a problem on their end just because of the mass volume of work
they receive this way. Nonetheless, it's been reported to them.
Thanks for your comments! Any chance I have a problem with the javax
component specifically since it seems to be erroring on that?

 
Answer #3    Answered By: Abagail Cohen     Answered On: Jul 26

The burden of proof is on their ends not your. As
long as you meet their image format specification, you
are safe. I imagine you taken the digitcam pictures
and upload  to their Website through the offended
button. Your task is ended at that point. The rest
depends on how clever the Millers Lab's java  Developer
team.

For on the safe side, if your colleagues claim there
is no problem. You then need to upgrade your software
to meet Millers Lab spec. If the Millers Lab claims
nobody else have the problem except you, then I think
something deeper than technologies.

For your question, the computer language errors are in
the two main categories: compiling and running. In
Java's compiling represent javac and running represent
javax. In javac phase, computer automatically catch
the errors. In javax  phase, computer sometimes can
missed the error. Since your situation is an
individuals against an organization, the burden of
proof is on the organization because it has the
resources to cover the problems  generated by the
individuals.

 
Answer #4    Answered By: Daisy Phillips     Answered On: Jul 26

I'll follow up here when (if) I get a resolution to this. Thanks for
your help.

 
Answer #5    Answered By: Keiko Mori     Answered On: Jul 26

I was also having a problem with Windows
Explorer and IE hanging sometimes. I tried to run  the repair on Internet
Explorer (in Add/Remove programs, if you try to uninstall IE, a popup will
appear asking you if you want to repair it).

When running the repair, it failed, saying "cannot find scrrun.dll". Searching
the net, I found a site  that I could download this file  from, and then I
registered it with the command "regsvr32 c:\windows\system\scrrun.dll".

Now my IE seems to be much faster and my original problem with Millers Lab, is
now working.

Would you happen to know what the sccrun.dll is for? Still learning. Anyway,
thanks for all of your nice and responsive help.

 
Answer #6    Answered By: Code Guru     Answered On: Jul 26

It's only a data link library file  for system  running
screen display. But you are correct, I never believe
it. Some professors told me long ago: "every day you
learn a new thing and when you died only thing you can
take with you is knowledge. If you happen to reborn
again, you will be a wiser person." Whether it is
true or not, time  will tell.

It's wonderful. We both learn something new today
because it is hard to accept an organization putting a
product out without thoroughly testing. Sometimes due
to marketing pressure the product slipping through
testing, but that is once in a blue moon.

 
Didn't find what you were looking for? Find more on Javax error Or get search suggestion and latest updates.




Tagged: