cancel
Showing results for 
Search instead for 
Did you mean: 

applet not started

former_member745782
Active Participant
0 Kudos

hello everybody.

I'm new with MII.

I tried to create some query an test it but I don't see any result.

I tried also to lunch default application, with same problem.

I found some messages in forum and a note, about this problem. I tried to modify Java.policy file as explained on note:

permission
com.sun.deploy.security.SecureCookiePermission "*.myserver:50-",
"listen,accept,connect,resolve";

but i not solved problem. (take a look to image)

Any suggestions?

thanks

Alessandro

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alessandro,

Couple of questions,

Which java version are you on? Did you check the error in the Java console? to enable console go to Control panel --> Java --> Advanced --> Java Console --> Show console

In MII Workbench, try creating a normal display template and test if it renders in the browser. If it does, then check Applet Error | SCN and have a look at Jeremy's reply. It could be a timing issue of your script.

Regards,

Tufale Ashai

former_member745782
Active Participant
0 Kudos

hello Tufale,

I tried using jdk1.6.0_38 and jdk1.6.0_41 but with same result.

I enabled java console , but I don't see any message and any console when i launch application ((

I tried to create a normal display template but it does not work.

alex

former_member211944
Active Participant
0 Kudos

Hi Alessandro,

I tried to run applets with JRE 1.6 update 29(32 bit) and the applets ran fine.

Earlier I was using the JRE 1.7 and the applets were not working.

May be you can also use  the same JRE version.

Also for enabling the java console, try the following steps already mentioned by Tufale:

1. Goto Control panel --> Java

2. Goto Advanced tab--> Java Console ---> choose Show Console

In the same tab, you will see the Debugging section just above the Java Console. Choose all 3 options under this heading.

This option would always open the console when you run any applet.

Regards,

Rohit Negi.

former_member745782
Active Participant
0 Kudos

Now i see console.

I have this error:

Components [ERROR] - Unable to load query template, java.lang.NullPointerException

Components [ERROR] - Unable to load display template, java.lang.NullPointerException

Couldn't finish init: java.lang.reflect.InvocationTargetException

Components [SYSTEM] - Log level changed (debug=false, trace=false)

Components [ERROR] - Error updating

java.lang.NullPointerException

at com.sap.xmii.applet.grid.GridApplet.doUpdate(GridApplet.java:218)

at com.sap.xmii.applet.common.BaseApplet.update(BaseApplet.java:362)

at com.sap.xmii.applet.grid.GridApplet.doStart(GridApplet.java:141)

at com.sap.xmii.applet.common.BaseApplet.start(BaseApplet.java:1130)

at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)

at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

any suggestion?

former_member211944
Active Participant
0 Kudos

Hi Alessandro,

I was getting the same exception before downgrading to JRE 1.6 update 29(32 bit).

Downgrade to the following version and then the applets would run.

Regards,

Rohit Negi.

former_member745782
Active Participant
0 Kudos

ok, i try and i let you know

former_member745782
Active Participant
0 Kudos

so,

I uninstall java 1.7 and installed 1.6 up 29 as you suggested me.

Nothing work fine

I'm again on first situation. Java don't start

former_member211944
Active Participant
0 Kudos

Hi Alessandro,

I have the 32 bit JRE and applets are working fine on my PC.

Regards,

Rohit Negi.

rutika_bodas
Participant
0 Kudos

Hi Alessandro,

The JRE1.6 update 29 that you installed, has to be the 32-bit Java version and not the 64-bit version.

Please recheck what bit version you installed, because I was facing the same problem and it got resolved by installing Java 1.6 update 29 for 32-bit.

Thanks,

Rutika

former_member745782
Active Participant
0 Kudos

I solved!

the problem was on JAva add-on in browser.

I removed it from regitry and re-installed jre 1.6 up29

Thanks to everybody for support!

Answers (0)