Multiple java Console open while running Applet application on JRE1.7.13 and browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kamalkantb
    New Member
    • Feb 2013
    • 2

    Multiple java Console open while running Applet application on JRE1.7.13 and browser

    Our application is based on Applet. We are moving our project from JRE1.6 to JRE1.7 .13. On JRE1.6 we are able to compile and access the application. But after executing the application on JRE1.7.13 I am getting
    java.lang.NullP ointerException
    CNavBarDocument .<init>(CNavBar Document.java:4 0)
    at sun.reflect.Nat iveConstructorA ccessorImpl.new Instance0(Nativ e Method)
    at sun.reflect.Nat iveConstructorA ccessorImpl.new Instance(Unknow n Source)
    at sun.reflect.Del egatingConstruc torAccessorImpl .newInstance(Un known Source)
    at java.lang.refle ct.Constructor. newInstance(Unk nown Source)
    at java.lang.Class .newInstance0(U nknown Source)
    at java.lang.Class .newInstance(Un known Source)
    at dpl.gui.TMSCont rol.init(TMSCon trol.java:206)
    at com.sun.deploy. uitoolkit.impl. awt.AWTAppletAd apter.init(Unkn own Source)
    at sun.plugin2.app let.Plugin2Mana ger$AppletExecu tionRunnable.ru n(Unknown Source)
    at java.lang.Threa d.run(Unknown Source)

    and at the same time Multiple java console get open and IE8 Browser get blocked.
    Even i am unable to do the Debugging the Applet.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    I don't know Java but I know whoever can help won't be able to without seeing the code causing the error.

    Comment

    • kamalkantb
      New Member
      • Feb 2013
      • 2

      #3
      Why Multiple java Console open while running the Applet application on JRE1.7.13 with IE8.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Stacktrace says something is missing at line CNavBarDocument .java:40 that is causing the N.P.E. The rest of the problem could be due to the Java plugin for 1.7 not being trusted by your browser.

        Comment

        • FUNKKB
          New Member
          • Apr 2013
          • 1

          #5
          In our HTML contains multiple Applets(6-7) when we are trying to access that html New java Console get open. We are keeping the static data into the global varibale. When we access the html New Java console get open and reference of global variable became null on JRE7U13.
          Due to that we are getting nullPointerExce ption.

          I am not able to find the reason of opening the New Java Console on JRE7U13.

          Please help me.

          Comment

          Working...