More Applet errors with 7u45

Hi,

If anyone could shed light on what's causing these errors, and if they 
are informational or the root cause of the Applet failure, I would 
really appreciate it! From the console log: -

(1)
ui: missing resource: java.util.MissingResourceException: Can't find 
resource for bundle com.sun.deploy.resources.Deployment,
key PERF: AppletExecutionRunnable - applet.init() BEGIN ;

This applet is loaded at run-time via <div>.innerHTML="<object>. . ."
No jnlp involved. Look no further than this?

(2)
liveconnect: Security Exception: JavaScript from 
http://127.0.0.1/employee_lookup.html attempted to access a resource it 
has no rights to. (No pop-up window as in 
https://blogs.oracle.com/java-platform-
group/entry/liveconnect_changes_in_7u45)

I have added the following lines to the manifest: -

Application-Name: Tier3Client
Permissions: sandbox
Caller-Allowable-Codebase: *

But I don't see "cache:  Read manifest for " till later.

(3)
ui: Pushing modality for applet ID 1 with dialog 
tier3Handshake.Tier3LogonAWT
basic: PluginMain.unregisterApplet: 1 from mananger 
sun.plugin2.applet.Applet2Manager@8c6afe
ui: plugin2manager.parentwindowDispose

What's happening?

Cheers Richard Maher
0
10/19/2013 2:59:42 AM
comp.lang.java.programmer 52597 articles. 0 followers. Post Follow

5 Replies
1586 Views

Similar Articles

[PageSpeed] 9

On 10/19/2013 10:59 AM, Richard Maher wrote:
> liveconnect: Security Exception:

Ok, the Liveconnect security exception appears to be the winner 
(impacted by time-sensitive errors around the applet tear-down)

I'll come up with a small reproducer to test my suspicions about the 
innerHTML run-time dynamic load revealing the bug but can someone say if 
this manifest is acceptable from a Caller-Allowable-Codebase perspective: -

Manifest-Version: 1.0
Application-Name: Tier3Client
Permissions: sandbox
Created-By: 1.7.0_21 (Oracle Corporation)
Caller-Allowable-Codebase: * 127.0.0.1


I tried with just the wildcard and the addition of the localhost with no 
difference in behaviour. It doesn't seem to matter where I position that 
option in my TXT file it always seems to come out last in the MANIFEST.MF.

jar -cfm tier3Client.jar Manifest.txt tier3Client\*.class

Cheers Richard Maher

PS. Is there anyone who doesn't see the sense in 
Caller-Allowable-Codebase being a html <param > name and the stupidity 
of having it in the Manifest?
0
10/19/2013 4:32:50 AM
On 10/19/2013 12:32 PM, Richard Maher wrote:
> On 10/19/2013 10:59 AM, Richard Maher wrote:
>> liveconnect: Security Exception:
>
> Ok, the Liveconnect security exception appears to be the winner

Just keeps getting better :-(
https://addons.mozilla.org/en-US/firefox/blocked/p463

So I don't know if it was the browser(s), or the Applet being unsigned, 
or the Applet being loaded dynamically at run-time, that caused the new 
there-be-dragons pop-up not to be displayed but hosting the web-page in 
the same domain as the Applet works-around the problem.

It appears Caller-Allowable-Codebase only works if the Applet is signed 
by a certificate authority, but does that help if the web-site was 
loaded with http instead of httpS in the first place? And shouldn't 
Caller-Allowable-Codebase really be called 
Caller-Allowable-DOCUMENTbase? Look if this check ensured that only 
script files included in the HTML were from the same domain as the 
Applet then this could be brilliant, but it only seems interested in the 
unverified parent location :-(

To add insult to injury 9005723 did not make it in this release either. 
So you LiveConnect calls still can't pass Java arrays as arguments to 
JavaScript functions.

Cheers Richard Maher

0
10/20/2013 3:58:52 AM
"Richard Maher"  wrote in message news:l3vkdt$ab6$1@speranza.aioe.org...

[snip]

> Just keeps getting better :-(

Richard, it really *is* time for you to stop flogging that Applet "dead 
horse".

SERIOUSLY.

JavaFX FTW!

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

0
Qu0llSixFour (447)
10/20/2013 9:21:18 AM
On 10/20/2013 5:21 PM, Qu0ll wrote:
> "Richard Maher"  wrote in message news:l3vkdt$ab6$1@speranza.aioe.org...
>
> [snip]
>
>> Just keeps getting better :-(
>
> Richard, it really *is* time for you to stop flogging that Applet "dead
> horse".
>
> SERIOUSLY.
>

https://bugzilla.mozilla.org/show_bug.cgi?id=914690

Great to see developers with a bit of heart and passion unlike the sad 
bags of shit that one finds here (and at Oracle).

> JavaFX FTW!

Grow a brain! Do you really think JavaFX is going to a real delousing 
shower???

>
> --
> And loving it,
>
> -Qu0ll (Rare, not extinct)
> _________________________________________________
> Qu0llSixFour@gmail.com
> [Replace the "SixFour" with numbers to email me]

0
10/22/2013 2:09:13 PM
"Richard Maher"  wrote in message news:l460u9$maa$1@speranza.aioe.org...

>> JavaFX FTW!
>
> Grow a brain! Do you really think JavaFX is going to a real delousing 
> shower???

So because I believe in JavaFX I don't have a brain? That's typical of the 
gutter-level comments you make when the technical argument gets beyond you 
or the facts contradict you.

JavaFX is actually very good and in the past 24 hours there have been 
comments from Oracle to the effect that they are working hard on getting it 
ported to iOS and Android.

As I said, JavaFX FTW!

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

0
Qu0llSixFour (447)
10/23/2013 6:12:03 AM
Reply:

Similar Artilces:

Error occurred during intialization of VM java/lang/NoClassDefFoundError: java/lang/Object
Good day to all, I have installed the j2se/netbeans binary bundle on red hat 9. I can run everything perfectly as root but when I try to compile with any other user I get: Error occurred during intialization of VM java/lang/NoClassDefFoundError: java/lang/Object When I saw this it seemed like a permissions problem but I checked the permissions and everything seemed fine. All users have execute permissions of javac and java. I have read other threads dealing with the same or similar problem but have not reached any solution yet. I would appreciate if anyone that has run into this type o...

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
I downloaded jdk-6u7-solaris-sparcv9.tar.Z and installed it by these commands: # zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - # pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx # /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -version Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object # ls /usr/jdk/instances/ jdk1.5.0 jdk1.6.0 # uname -a SunOS sun1 5.10 Generic sun4u sparc SUNW,Sun-Blade-2500 Please help to fix the error. Thanks. TsanChung wrote: > I downloaded jdk-6u7-solaris-sparcv9.tar.Z and installed it by these > commands: > # zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - > # pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx > > # /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -version > Error occurred during initialization of VM > java/lang/NoClassDefFoundError: java/lang/Object It's missing or can't find rt.jar, right? How does the Solaris version find it's runtime files? Can you show us where rt.jar is? On Aug 20, 6:24=A0pm, Mark Space <marksp...@sbc.global.net> wrote: > TsanChung wrote: > > I downloaded jdk-6u7-solaris-sparcv9.tar.Z and installed it by these > > commands: > > # zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf - > > # pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx > > > # /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -version > > Error occurred during initialization of VM > > java/lang/NoClassDefFoundError: java/lang/Object > > It'...

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object (ant/tomcat/spring)
Hi, I've been trying to get Spring working with ant and tomcat. Ant was building just fine, but I came in today and tried to build it and got this: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object ?!?! Makes no sense to me. There _is_ an older version of java installed on my machine; but JAVA_HOME and ANT_HOME are set to the correct paths, and <which java>and <java -version> produce the correct version. Any help would greatly alleviate my frustration! Thanks in advance... Courtney ...

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object (ant/tomcat/spring)
Hi, I've been trying to get Spring working with ant and tomcat. Ant was building just fine, but I came in today and tried to build it and got this: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object ?!?! Makes no sense to me. There _is_ an older version of java installed on my machine; but JAVA_HOME and ANT_HOME are set to the correct paths, and <which java>and <java -version> produce the correct version. Any help would greatly alleviate my frustration! Thanks in advance... Courtney ...

Java Applet gets error accessing DB: (java.net.SocketPermission ... resolve)
Hi folks, I'm new about developing Java applets and I need some help. I'm developing a Web Application based on JSPs and Tomcat in Netbeans. I've also developed a Java Applet which its package has some classes. This Applet connects to a Sybase Database (JConnect) in order to query some information. It works fine when I run the Applet Class at Netbeans. The Jar containing this Applet (and the Jar supporting the DB driver) is embedded into a JSP of my Web Application through JSP Plugin tag. When I call for this JSP (where the Applet is embedded) I get this error (at the Clie...

Java applet error
I have compiled succesfully one of the applet examples in the designer help file when i place it and try to run it in a test form or page this is what i get on the console... any suggestions please? many thanks java.lang.NoClassDefFoundError: lotus/domino/AppletBase at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 3) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157) at java.lang.Cl...

java.lang errors
I have a program that takes in data from the user, calculates the data and is supposed to display the results in a window. The program compiles and the user is able to type in data, but when you click the calculate button, the errors that come up are the following: java.lang.NumberFormatException: For input string: "Enter Length" at java.lang.NumberFormatException.forInputString (NumberFormatException. java:48) at java.lang.Integer.parseInt(Integer.java:468) at java.lang.Integer.parseInt(Integer.java:518) at Program81$ButtonHandler.actionPerformed(Pro...

java.lang.ExceptionInInitializerError: java.lang.ArrayIndexOutOfBoundsException
Hi, I am new to DB2. I am getting this error while loading the DB2Driver. I don't have any idea about where i might have gone wrong. please help me. Below is the stack trace. Stack Trace: java.lang.ExceptionInInitializerError: java.lang.ArrayIndexOutOfBoundsException at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method) at COM.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:245) at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(DB2Driver.java:130) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) Thanks in advance, Ganesh Majji ganesh.m@gmail.com wrote: > I am new to DB2. I am getting this error while loading the DB2Driver. I > don't have any idea about where i might have gone wrong. please help > me. Unfortunately my crystal bowl stays dark because you didn't mentioned your operating system and which DB2 version you're using. For Windows, *nix and OS/2 please ensure that your application is using the db2java.zip from SQLLIB\java. Check if there are multiple db2jdbc.dll on your system, remove any extra db2jdbc.dll files on the system. Ensure that you can connect to DB2 with the DB2 workstation tools from your machine. sorry for not mentioning the system details. Operation System is SunOS (Solaris) and DB2 SDK 8.2.2 Thank you very much for the kind response, Ganesh Bernd Hohmann wrote: > ganesh.m@gmail...

Java Applet Error
Hello. I don't know much about Java, but we are having a problem on our website. I don't currently have the actual error message, but I'm just wondering if anyone can possibly point to where the problem might lie just from this information. When a user clicks on a button, a java applet is supposed to load. This applet loads fine for all win98 users using IE6 or 5.5. We didn't have to load any plugins for our Win98 machines. The applet also worked w/ win2000,winnt,winxp using IE6, but with only one specific version of an older of a java plugin (i think 1.4.0). Anything olde...

MINDPROD site applet error
Is it my browser, or a site issue? I don't see anything in the applet windows, and the following error in the Java console. http://mindprod.com/jgloss/finalize.html Neill Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810 ============================================== ? help c clear f run finalizers g garbage collect m memory usage q quit t thread list ============================================== .... url=http://mindprod.com/jgloss/snippets/finalize.example2.java.ser .... url=http://mindprod.com/jgloss/snippets/finalize.example1.java.ser ...stream ready ...stream ready Error loa...

XML-RPC
Hello, I am getting an error "XML-RPC - java.lang.ClassCastException: java.util.Date" when I call the "XmlRpcClient" execute method. I believe the underlying classes are having trouble parsing the result from the time.xmlrpc.com/RPC2:80 XML-RPC service. I apologize that I could not navigate the Apache bug reporting and search system. I hope someone can recognize what is up with this. Thank you in advance for any help, Michael import java.util.Vector; import java.util.Hashtable; import org.apache.xmlrpc.*; public class GetTime { private final static String serv...

Java Applet gets error accessing DB: access denied (java.net.SocketPermission ... resolve)
Hi folks, I'm new about developing Java applets and I need some help. I'm developing a Web Application based on JSPs and Tomcat in Netbeans. I've also developed a Java Applet which its package has some classes. This Applet connects to a Sybase Database (JConnect) in order to query some information. It works fine when I run the Applet Class at Netbeans. The Jar containing this Applet (and the Jar supporting the DB driver) is embedded into a JSP of my Web Application through JSP Plugin tag. When I call for this JSP (where the Applet is embedded) I get this error (at the Client J...

[compilation error] debugging this error message "Object() in java.lang.Object cannot be applied to"
Hi,I have a class called Device that instantiates another class DbMoneyin this manner:=== return new DbMoney( money, hardware.getName() );===1) Both are in the same package, i.e. my.IMoney & my.Device2) When I compile them, javac complains with the error:Object() in java.lang.Object cannot be applied to (my.IMoney,java.lang.String) return new DbMoney( money, hardware.getName() ) ^Q) My arguments to the DbMoney constructor match that of its declaredmethod parameters. So that can't be the problem. What am I doingwrong ?Gavin On Mar 28, 3:25 pm, "Gavin&...

java matlab error: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
Hello Im using matlab 2010 and 2007 with windows 7 and i have install the new java. Matlab array editor doesnt work right even though i can see the values of an array in the workspace when i try to edit them in the variable editor i cant see the values and i get an error: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.mathworks.mlwidgets.array.ValueTableModel.setValuesAt(ValueTableModel.java:195) at com.mathworks.mlwidgets.array.ValueTableModel.setValueAt(ValueTableModel.java:190) at com.mathworks.widgets.spreadsheet.ResizingTableModelWrapper.s...

java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460)
Hi All I am having the torque3.1.jar and postgresql-7.4. I have compiled the new jdbc driver called as postgresql.jar and have placed it in the lib directory from where the ant scripts catch the jars. Whenever i try to access through torque gestList = BaseGestlistPeer.doSelect(new Criteria()); this error arises java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460) at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653) at org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java...

java.lang.OutOfMemory Error
Hi, In a servlet, I am reading from the database and writing to PrintWriter stream. The database returns around 50,000 rows. I create a StringBuffer object just once outside the ResultSet loop and then append all my database data to it and write it to PrintWriter at the end of each iteration. In the beginning of each iteration I set the length of the StringBuffer to zero. I think this is an optimized code as there are no object creations inside the loop and I am re-using the same object for each iteration. But still when that loop is executed the memory consumption goes up by 50MB. I am usin...

applet java.lang.NoClassDefFoundError
When trying to load an applet: <applet name="statusApplet" CODEBASE ="http://localhost/php/client/applet/Tst/" code="StatusCodeApplet.class" width="0" height="0"></applet> I get the following exception: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInst...

java.lang.UnsupportedClass error
> java -jar squirrel-sql-2.4-install.jar> Exception in thread "main" java.lang.UnsupportedClassVersionError: com/> izforge/i> zpack/installer/Installer (Unsupported major.minor version 48.0)> at java.lang.ClassLoader.defineClass0(Native Method)> at java.lang.ClassLoader.defineClass(Unknown Source)> at java.security.SecureClassLoader.defineClass(Unknown Source)> at java.net.URLClassLoader.defineClass(Unknown Source)> at java.net.URLClassLoader.access$100(Unknown Source)> at java.net.URLClassLoader$1.run(Unknown So...

Error :java.lang.classdefnotfound:
Hello,i m newbie in this group and in java.i m using jdk1.6 compiler. on my LaptopBut still i m facing a problemwhen i m Compiling the Programthe program complied with no error's but at Run time it generateError: 'java.lang.classdefnotfound" i dont understand whts happen this happens with all theprogramsThe Process is first set path"C:\ path= c:\jdk1.6\bin "Compile ProgramC:\javac first.java // programm complied with no errorsRun itC:\java first // now this times it shows Error"Java.lang.classdefnotfound"if enyone knows about it please tell me wht to doThanks...

java.lang.OutOfMemoryError error
I am working on some application. It is under development. It was working fine but suddenly started saying java.lang.OutOfMemoryError What could be the potential problem. Thanks Prasanna On Wed, 21 Apr 2004 09:19:11 -0400, "Lakshmi Prasanna" <prasanna_kolluru@yahoo.com> wrote: >I am working on some application. It is under development. It was >working fine but suddenly started saying > >java.lang.OutOfMemoryError > >What could be the potential problem. Based on the fine clues you are giving I would say that you have less memory available than is needed b...

java.lang.Set with elements of type java.lang.Set
Roughly I do something along the lines of: Set set = new HashSet(); Set elem = new HashSet(); set.add(elem); // now we change the elem and add it again to the set elem.add(some object here); set.add(elem); I found out the hard way that 'set' may now contain 'elem' either once or twice, the reason being that 'elem.add()' changes the hashCode of elem such that it is not noticed that it is in 'set' already on the 2nd 'set.add()'. Question: What I would actually want is an IdentityHashSet() set = new IdentityHashSet() but this does not...

java.lang.NumberFormatException error
Hi, I've been getting this error in the command window... it is a large stack so please bear with me: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.<init>(Unknown Source) at com.mathworks.mlservices.MatlabDebugServices.createStackInfo(MatlabDeb ugServices.java:740) at com.mathworks.mlservices.MatlabDebugServices$StackDispatch.completed(M atlabDebugServices.java:1662) at com.mathworks.jmi.Matlab$CompletionHandler.messageReceived(...

Java applet failed when I try to load the avi file in my java applet
Hi everyone, I am a new person in Java and JMF. I tried to use HTML to run the class of the SimplePlayerApplet.java that is posted in java.sun.com. html: <applet code=SimplePlayerApplet.class width=320 height=300> <param name=file value="sun.avi"> I got a java applet failed. I am not sure where should i put the sun.avi file? The SimplePlayerApplet.class and sun.avi are in my desktop. Is it right as <param name=file value="sun.avi">? Sometimes, i will see people write as <param name=file value="file usr/local/media/sun.avi">?? Where is ...

to use import java.lang.* or import java.lang.Math or none at all?
Hi guys, i knew that by default all java.lang classes will be imported by the compiler during compilation. but, to make it easier for the computer, should i specify which class i really will be using? does this action will boost the performance during compilation and runtime or not a matter at all? the answer to this post will definitely affect my programming style in the future when i'm considering "to import or not to import"... hmm,,, thanks in advance. JPractitioner wrote: > i knew that by default all java.lang classes will be imported by the > compiler during compilation. but, to make it easier for the computer, > should i specify which class i really will be using? does this action > will boost the performance during compilation and runtime or not a > matter at all? Whether and how you import classes has exactly zero effect at runtime. Imports (with or without wildcards) are only a kind of abbreviation provided by the compiler to save us the effort of typing in fully-qualified type names every time. In theory explicit importing should make compilation faster -- by a very tiny amount. I've never heard anyone claim that they've even managed to measure a difference let alone found a case where it made a practical difference. So the question comes down to how to write your code for maximum clarity. One school of thought asserts that you should always import each class explicitly (rather than by a wildcard). There's a fai...

Web resources about - More Applet errors with 7u45 - comp.lang.java.programmer

Applet - Wikipedia
In computing, an applet is any small application that performs one specific task that runs within the scope of a dedicated widget engine or a ...

Applets - AllFacebook
Read all Applets news

SOINN: Self-Organizing Incremental Neural Network (recorded Java Applet) - YouTube
東京工業大学 像情報工学研究所 長谷川研究室 Hasegawa Lab., Tokyo Institute of Technology, Japan http://haselab.info/ English: http://haselab.info/index-e.html 本動 ...

Expect a wave of Java applet attacks: Microsoft
The big exploit kits that automate mass malware infections have quickly incorporated a Java Runtime Environment vulnerability Oracle disclosed ...

Apple removes Java applet plugin from OS X, continuing push for plugin-free web
Further pushing toward the idea of a plugin-free internet, Apple has issued an update to Java for OS X that removes the Java applet plugin. Attempting ...

Qualcomm Toq updated with stopwatch applet and other enhancements
... Toq got a small update overnight, adding in a new stopwatch feature along with come conversation history enhancements. The stopwatch applet ...


Software update removes Apple-provided Java applet plug-in
... and another for OS X 10.7 Lion and OS X 10.8 Mountain Lion, each of which offer improved security by uninstalling the Apple-provided Java applet ...

Price Drop: 120+ in 1 : Applets
120+ in 1 : Applets 5.3 Device: iOS iPhone Category: Utilities Price: Free, Version: 5.3 ( iTunes ) Description: ★★ Get this app FREE today! ...

Convert SWF applets to Windows EXEs with Flash Builder
If you've a Flash applet you'd like to share then there are a few options available. You might host it online, package it for offline use with ...

Resources last updated: 3/7/2016 2:02:01 PM