Skip to main content

1.6.0_13 issues with Webstart

6 replies [Last post]
brisco
Offline
Joined: 2009-04-14
Points: 0

Hi. We have a Webstart application we've been using for years.
After upgrading to Java 1.6.0_13, it suddenly is no longer working.
The Java console doesn't show anything, however it looks like certain Java objects aren't getting instantiated properly.

Example: We have a JPanel object called SubmissionPanel that is being created simply as SubmissionPanel lPanel = new SubmissionPanel().
This object has many global variables. With the new Java version, those global variables are now all NULL when being referenced. Previously they would all get created properly and I could set break points in the code and step through to see them get created. Now, the break points don't get recognized. I don't think it's an Eclipse issue because the error still occurs in a runtime environment.

Any thoughts?
Thanks,
Mike

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anthony_p
Offline
Joined: 2006-07-24
Points: 0

Hi Mike,

The problem is a duplicate of http://bugs.sun.com/view_bug.do?bug_id=6793340

It seems that your application accidentially overrides the public method Component.isValid(), and uses it for purposes other than that stated in its specification (please refer to http://java.sun.com/javase/6/docs/api/java/awt/Component.html#isValid() and corresponding validate()/invalidate() methods). Please consider refactoring your application to avoid overriding the methods already existing in the JDK when you don't actually need an overridden version of the method. A simpliest solution for you is to rename your isValid() method to something like isMyValid() or alike. Thanks.

--
best regards,
Anthony

brisco
Offline
Joined: 2009-04-14
Points: 0

That did the trick. Thanks!
That code goes back about 10 years. Lucky there was only one place we were using that method.

ndcosta123
Offline
Joined: 2007-10-03
Points: 0

This could be a regression in 6 Update 13. Do you have a testcase that I can run to reproduce this issue ?

Thanks,
Nelson

brisco
Offline
Joined: 2009-04-14
Points: 0

Here's a very rough test case, but it essentially reproduces what we're trying to do.
With 1.6.0_13, you'll get a pop up window that says the value is null.
Older versions will tell you the value is not null. Just run java test.JavaTest

ndcosta123
Offline
Joined: 2007-10-03
Points: 0

Thanks for the test case, I could reproduce the issue mentioned and we have filed a bug - 6832031 to track this behavior. You can monitor this bug on the Java Bug Database at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6832031.

It may take a day or two before your bug shows up in this external database.

Do let us know if you have any more information related to this report.

trembovetski
Offline
Joined: 2003-12-31
Points: 0

I think this may be a duplicate of
http://bugs.sun.com/view_bug.do?bug_id=6793340