Home » Developer & Programmer » Forms » what is the solution for java.lang.IllegalAccessException? (10.1.2)
what is the solution for java.lang.IllegalAccessException? [message #296454] Sun, 27 January 2008 10:07 Go to next message
alwosaby
Messages: 26
Registered: November 2007
Junior Member
i use java communatition which use dll library , i make
correct configuration for webutil
what is the soluation for this problem?

Loading http://sameeralwosaby/forms/java/frmall_jinit.jar from JAR cache

Loading http://sameeralwosaby/forms/java/myAppIcons.jar from JAR cache

Loading http://sameeralwosaby/forms/java/IO.jar from JAR cache

proxyHost=null

proxyPort=0

connectMode=HTTP, native.

Forms Applet version is : 10.1.2.0

java.lang.IllegalAccessException: oracle.form.comm.Comm

at java.lang.Class.newInstance0(Native Method)

at java.lang.Class.newInstance(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

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

java.lang.NullPointerException

at oracle.forms.handler.JavaContainer.onDestroy(Unknown Source)

at oracle.forms.engine.Runform.destroyHandlers(Unknown Source)

at oracle.forms.handler.DialogThread.doAlert(Unknown Source)

at oracle.forms.handler.DialogThread.run(Unknown Source)

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

[Updated on: Sun, 27 January 2008 10:10]

Report message to a moderator

Re: what is the solution for java.lang.IllegalAccessException? [message #296720 is a reply to message #296454] Mon, 28 January 2008 19:19 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
What version of Forms are you using? What version of database are you using and where is it?

What were you trying to do when you received this error? Is this your first form? Can you get the 'test' form to run from within the Forms Builder?

David
Re: what is the solution for java.lang.IllegalAccessException? [message #299181 is a reply to message #296720] Sun, 10 February 2008 08:36 Go to previous messageGo to next message
alwosaby
Messages: 26
Registered: November 2007
Junior Member
In form6i I use IO activex which dealing with ports like com1,com2 and need to use regsvr32 tool to register it's on every client
But when convert to 10g , i want to run application without need to IO activex
so i use java communication which dealing with ports
also i developer java bean which consist from three parts

java bean (my file.jar)
java communication
library dll

also I do these steps
I put java bean ( my file.jar) and java communication (comm.jar) in
/form/java
and put this line in /forms/server/ formsweb.cfg
WebUtilArchive=frmwebutil.jar,jacob.jar,io.jar
and put library dll in /form/webutil
and put this line in /forms/server/webutil.cfg
install.syslib.0.9.1=win32com.dll|27672|1.0|true

but when I run my application ,the previous problem is shown
Re: what is the solution for java.lang.IllegalAccessException? [message #299247 is a reply to message #299181] Mon, 11 February 2008 00:39 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
All I can suggest is that you review the documentation given as part of the examples listed on http://www.oracle.com/technology/sample_code/products/forms/index.html and verify that you have matched the areas that they update.

David
Re: what is the solution for java.lang.IllegalAccessException? [message #572598 is a reply to message #299247] Thu, 13 December 2012 09:21 Go to previous message
optimistpk
Messages: 4
Registered: December 2012
Location: Pakistan
Junior Member

I am facing this type of situation when running oracle form 10g i.e. Oracle form freeze (All controls on canvas are enabled, I can click them but there is no response at all, no error). When I open java console I find Java.Lang.OutOfMemory and also Java.Lang.NullPointerException.

I have also placed an entry of .JAR file for Forms Iconic buttons along with frmall_jini.jar

Kindly help me how to sort out this problem.
Previous Topic: Oracle 10g form do not respond + Java exception in java console
Next Topic: Oracle form 10g
Goto Forum:
  


Current Time: Tue Jul 22 13:24:20 CDT 2014

Total time taken to generate the page: 0.18292 seconds