NullPointerException in java.io.ObjectInputStream.inputClassFields
Randomly, while starting a managed server, the following exception is logged in the log files. What does it mean, and how can I resolve this.
I am using Weblogic Server 7.0 Sp1 with JDK 1.3.1_08.
Exception Trace:
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NullPointerException
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
at weblogic.management.internal.DynamicMBeanImpl.readObject(DynamicMBeanImpl.java:2167)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.util.ArrayList.readObject(ArrayList.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:214)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Exception encountered connecting to http://machine1:7001/wl_management_internal2/
Bootstrap - with nested exception:
[java.lang.NullPointerException]
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:235)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: weblogic.management.configuration.ConfigurationException: Exception encountered connecting to http://machine1:7001/wl_management
_internal2/Bootstrap - with nested exception:
[java.lang.NullPointerException]
java.lang.NullPointerException
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
at weblogic.management.internal.DynamicMBeanImpl.readObject(DynamicMBeanImpl.java:2167)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.util.ArrayList.readObject(ArrayList.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:214)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Exception encountered connecting to http://machine1:7001/wl_management_internal2/
Bootstrap - with nested exception:
[java.lang.NullPointerException]
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:235)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
Please provide some help.
-Michael
Thanks,
I'm using AWT list - and viewing the applet through IE5 - i also have the java plugin.
(If i place rt.jar in the archive of the .html file all works fine)
However if not i keep getting the following error (as a print stack trace):
java.lang.ClassNotFoundException
at java/io/ObjectInputStream.loadClass0 (ObjectInputStream.java)
at java/io/ObjectInputStream.resolveClass (ObjectInputStream.java)
at java/io/ObjectInputStream.readClassDescriptor (ObjectInputStream.java)
at java/io/ObjectInputStream.readNewObject (ObjectInputStream.java)
at java/io/ObjectInputStream.readObject (ObjectInputStream.java)
at java/io/ObjectInputStream.goToEndOfBlockData (ObjectInputStream.java)
at java/io/ObjectInputStream.readNewObject (ObjectInputStream.java)
at java/io/ObjectInputStream.readObject (ObjectInputStream.java)
at Ticker/Ticker.getData (Ticker.java:205)
at Ticker/Ticker.init (Ticker.java:159)
at Ticker/TickerApplet.start (TickerApplet.java:199)
at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
Similar Messages
-
Hi folks.
I am trying to reconstruct a Hashtable using my own way of serialization/deserialization via Java Reflection. It works fine with most classes, but a reconstructed hashtable is seriously screwed up. After reconstruction, it is passed as an argument to a class that uses the putAll-Method, which causes a NullpointerException.
The root in the stack trace is java.util.Hashtable.access$100 at line 90 in java.util.Hashtable. Unfortunately, if you check the source of hashtable, you will only find the class header on this line.
Is it correct, that javac creates access-methods for inner classes? What are they used for?
Any idea what could cause this?The exception happens whenever I try methods like toString, putAll or hashCode on the hashtable. The code of the deserialization is just a bit to complex to post here.
I have been able to track the problem down to the internal creation of creation of an iterator by the hashtable.
Here is the stack trace:
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.access$100(Hashtable.java:90)
at java.util.Hashtable$EntrySet.iterator(Hashtable.java:592)
at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1096)
at java.util.Hashtable.hashCode(Hashtable.java:728)
at java.util.Hashtable.get(Hashtable.java:315)
at mypackage.serializer.XMLSerializer.buildXML(XMLSerializer.java:205)
at mypackage.serializer.XMLSerializer.buildXML(XMLSerializer.java:178)
at mypackage.serializer.XMLSerializer.main(XMLSerializer.java:66) -
Hi,
Jdev 11.1.1.0.31.51.56
If somebody of you get the following trace stack when running a jspx using ViewCriteriaRow.setOperator :
There is bug 7534359 and metalink note 747353.1 available.
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
at java.util.regex.Matcher.<init>(Matcher.java:211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._loadFilter
CriteriaValues(FacesCtrlSearchBinding.java:3695)
Truncated. see log file for complete stacktrace
Workaround:
If you use
vcr.setAttribute("Job",job);
or
vcr.setAttribute("Job","="+job);
than add following line of code:
vcr.setOperator("Job","="); regards
PeterHi,
useful to mention that this happens when setting the equal operator or LIKE operator
vcr.setAttribute("Job","= '"+job+"'");
or
vcr.setOperator("Job","=");
Frank -
Problem to calling readObject(java.io.ObjectInputStream) using reflection
Hi,
I am facing the following problem
I have an Employee class its overridden the following below methods
private void readObject(java.io.ObjectInputStream inStream) {
inStream.defaultReadObject();
I am trying to call this method using reflection.
my code is like this
Class fis= Class.forName("java.io.FileInputStream");
Constructor fcons = fis.getConstructor(new Class[]{String.class});
Object fisObj = fcons.newInstance(new Object[]{"C:\\NewEmployee.ser"});
Class ois= Class.forName("java.io.ObjectInputStream");
Constructor ocons = ois.getDeclaredConstructor(new Class[]{InputStream.class});
Object oisObj = ocons.newInstance(new Object[] {fisObj});
Method readObj = aClass.getDeclaredMethod("readObject", new Class[]{ois});
readObj.setAccessible(true);
Object mapObj = readObj.invoke(employeeObj,new Object[]{oisObj});
The above code is call the readObject method, but it is failing while executing inStream.defaultReadObject() statement
I am getting the following exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at HackEmployee.reflect(HackEmployee.java:49)
at HackEmployee.main(HackEmployee.java:131)
Caused by: java.io.NotActiveException: not in call to readObject
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:474)
at Employee.readObject(Employee.java:77)
... 6 more
can anybody help me?
~ muraliHi,
Here is the simple example.
public class Employee implements Serializable {
static final long serialVersionUID = 1L;
static final int _VERSION = 2;
private int eno;
private String empName;
private String paaword;
private void readObject(java.io.ObjectInputStream inStream)
throws IOException, ClassNotFoundException {
int version = 0;
BufferedInputStream bis = new BufferedInputStream(inStream);
bis.mark(256);
DataInputStream dis = new DataInputStream(bis);
try {
version = dis.readInt();
Debug.println(Debug.INFO, _TAG, "Loading version=" + version);
} catch(Exception e) {
dis.reset();
switch(version) {
case 0:
case 1:
inStream.defaultReadObject();
migrateDefaultEmployeeToEncryptionPassword();
break;
case _VERSION:
inStream.defaultReadObject();
break;
default:
throw new IOException("Unknown Version :" + version);
private void writeObject(ObjectOutputStream aOutputStream)
throws IOException {
aOutputStream.writeInt(_VERSION);
aOutputStream.defaultWriteObject();
Now I am writing a tool that need to read data and print all the field and values in a file.
So I am trying the same with reflecton by calling readObject(ObjectInputStream inStream).
But here I am facing the problem, it is geving java.lang.reflect.InvocationTargetException while calling migrateDefaultEmployeeToEncryptionPassword(.
Hope you got my exact scenerio.
Thanks for your replay
~ Murali -
Java.io.ObjectInputStream
Hello,
I have an applet that reads an object as follows:
ObjectInputStream result = new ObjectInputStream(in);
strNameList = (List)result.readObject();
The .readObject() keeps producing a ClassNotFoundException.
This error does not occur when i run the applet from within JBuilder, but does when i distribute the applet to a web server.
Does anyone know why this should occur?
Thanks,Thanks,
I'm using AWT list - and viewing the applet through IE5 - i also have the java plugin.
(If i place rt.jar in the archive of the .html file all works fine)
However if not i keep getting the following error (as a print stack trace):
java.lang.ClassNotFoundException
at java/io/ObjectInputStream.loadClass0 (ObjectInputStream.java)
at java/io/ObjectInputStream.resolveClass (ObjectInputStream.java)
at java/io/ObjectInputStream.readClassDescriptor (ObjectInputStream.java)
at java/io/ObjectInputStream.readNewObject (ObjectInputStream.java)
at java/io/ObjectInputStream.readObject (ObjectInputStream.java)
at java/io/ObjectInputStream.goToEndOfBlockData (ObjectInputStream.java)
at java/io/ObjectInputStream.readNewObject (ObjectInputStream.java)
at java/io/ObjectInputStream.readObject (ObjectInputStream.java)
at Ticker/Ticker.getData (Ticker.java:205)
at Ticker/Ticker.init (Ticker.java:159)
at Ticker/TickerApplet.start (TickerApplet.java:199)
at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java) -
I am trying to de-serialize a java object and got thr following stack trace :
java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sappl.doGet(sappl.java:59)
at sappl.doPost(sappl.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at filters.ExampleFilter.doFilter(ExampleFilter.java:101)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)swing application code :
void setParameters(){
try{
URL UIServlet = new URL("http://localhost:8080/servlets-examples/servlet/sappl");
URLConnection servletConnection = UIServlet.openConnection();
servletConnection.setDoOutput(true);
servletConnection.setDoInput(true);
servletConnection.setUseCaches(false);
servletConnection.setDefaultUseCaches(false);
servletConnection.setRequestProperty("RequestMethod","POST");
servletConnection.setRequestProperty("Content-Type", "application/octect-stream");
ObjectOutputStream outputStream = new ObjectOutputStream(servletConnection.getOutputStream());
ObjectInputStream inputStream = new ObjectInputStream(servletConnection.getInputStream());
outputStream.writeObject(inputObject);
outputStream.flush();
outputStream.close();
inputStream.close();
Servlet Code :
rsp.setContentType("application/octect-stream");
ObjectOutputStream outputStream = new ObjectOutputStream(rsp.getOutputStream());
ObjectInputStream inputStream = new ObjectInputStream(req.getInputStream());
if(inputStream.available()>0){
System.out.println("Data available for reading");
inputObject = (UIObject[]) inputStream.readObject();
inputStream.close();
outputStream.close();
catch (Exception e){
System.out.println("Caught Exception "+e.getMessage());
e.printStackTrace();
} -
NullPointerException at java.lang.Class.forNameImpl(Native Method)
Hi All,
We installed an enterprise application using Websphere Application Server 6.1 and we use Java 1.5.0_18. We encountered the following error while testing the application:
[6/07/09 18:32:56:825 EST] 0000002b SystemErr R java.lang.NullPointerException
[6/07/09 18:32:56:825 EST] 0000002b SystemErr R at java.lang.Class.forNameImpl(Native Method)
[6/07/09 18:32:56:825 EST] 0000002b SystemErr R at java.lang.Class.forName(Class.java:130)
<the remaining part of the stack trace has been removed as it contains the names of our application specific classes>
Could you please let me know the root cause of this error?
Thank you.
Regards,
VenkateshI would double- and triple-check that. A null classname string is almost certainly the cause here.
-
Managed server throws error on start up
Randomly, while starting a managed server, the following exception is logged in the log files. What does it mean, and how can I resolve this.
I am using Weblogic Server 7.0 Sp1 with JDK 1.3.1_08.
Exception Trace:
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NullPointerException
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
at weblogic.management.internal.DynamicMBeanImpl.readObject(DynamicMBeanImpl.java:2167)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.util.ArrayList.readObject(ArrayList.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:214)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Exception encountered connecting to http://machine1:7001/wl_management_internal2/
Bootstrap - with nested exception:
[java.lang.NullPointerException]
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:235)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: weblogic.management.configuration.ConfigurationException: Exception encountered connecting to http://machine1:7001/wl_management
_internal2/Bootstrap - with nested exception:
[java.lang.NullPointerException]
java.lang.NullPointerException
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
at weblogic.management.internal.DynamicMBeanImpl.readObject(DynamicMBeanImpl.java:2167)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.util.ArrayList.readObject(ArrayList.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:214)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Exception encountered connecting to http://machine1:7001/wl_management_internal2/
Bootstrap - with nested exception:
[java.lang.NullPointerException]
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:235)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
Please provide some help.
-MichaelMichael,
No offence, but I think you may have posted to the wrong forum. This forum is for the Oracle (database embedded) JVM -- not for WebLogic.
While I don't use WebLogic, I'm sure there are WebLogic forums around. Do you know about this one:
http://tinyurl.com/8nfkm
Good Luck,
Avi. -
Concurrent startup managed servers in a cluster
I'm using WLS 6.1 sp3 on Solaris 8. I configured 24 instances in a cluster.
I tried to startup all managed servers at the same time. Some of the
instance failed. Due to the WLS startup time (half hour to start an instance
cause we have many ejbs), I didn't try to start servers one by one. Here is
the log file I got from one of the failed servers. Any help will be
appreciated.
Thanks!
Wenji
/bea/jdk131/bin/java -server -ms512m -mx512m -XX:NewSize=128m -XX:MaxNewSize
=128m -verbosegc -classpath
.:/appdata/wls/cbfe1b/config/prod/properties:/appdata/wls/cbfe1b/config/prod
/properties/srv34:/oracle/product/8.1.7/jdbc/lib/classes12.zip:/appdata/wls/
cbfe1b/config/prod/lib/externalAPIs/iioprt.jar:/appdata/wls/cbfe1b/config/pr
od/lib/externalAPIs/xerces.jar:/appdata/wls/cbfe1b/config/prod/lib/externalA
PIs/jdom.jar:/appdata/wls/cbfe1b/config/prod/lib/externalAPIs/log4j-1.2.5.ja
r:/appdata/wls/cbfe1b/config/prod/lib/externalAPIs/xalan.jar:/oracle/product
/8.1.7/jdbc/lib/nls_charset12.zip:/bea/wlserver6.1:/bea/wlserver6.1/lib/webl
ogic.jar:/appdata/wls/cbfe1b/config/prod/classes:/appdata/wls/cbfe1b/config/
prod/lib/eontec/eontec_custom_user_realm.jar:/appdata/wls/cbfe1b/config/prod
/lib/ibm/mqccf.jar:/appdata/wls/cbfe1b/config/prod/lib/ibm/ccf.jar:/appdata/
wls/cbfe1b/config/prod/lib/ibm/eablib.jar:/appdata/wls/cbfe1b/config/prod/li
b/ibm/imsconn.jar:/appdata/wls/cbfe1b/config/prod/lib/ibm/recjava.jar -Dwebl
ogic.Domain=prod -Dweblogic.Name=prod-srv34 -Dbea.home=/bea -Dweblogic.manag
ement.server=milkyway:8100 -Djava.security.policy=/bea/wlserver6.1/lib/weblo
gic.policy -Dweblogic.management.password=eontec00 -Dweblogic.RootDirectory=
/appdata/wls/cbfe1b weblogic.Server
Starting WebLogic Server ....
MBean Info preloading problem:
java.lang.NullPointerException
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
at
weblogic.management.tools.AttributeInfo.readObject(AttributeInfo.java:151)
at java.lang.reflect.Method.invoke(Native Method)
at
java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1137)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
at weblogic.management.Admin.initialize(Admin.java:226)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
at weblogic.Server.main(Server.java:35)
Connecting to http://milkyway:8100...
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NullPointerException
<<no stack trace available>>
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: connecting to
http://milkyway:8100/wl_management_internal2/Bootstrap - with nested
exception:
[java.lang.NullPointerException]
at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:1164)
at weblogic.management.Admin.initialize(Admin.java:340)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Admin server is not a member of a cluster.
Wenji
Wenji Tong wrote:
> I'm using WLS 6.1 sp3 on Solaris 8. I configured 24 instances in a cluster.
> I tried to startup all managed servers at the same time. Some of the
> instance failed. Due to the WLS startup time (half hour to start an instance
> cause we have many ejbs), I didn't try to start servers one by one. Here is
> the log file I got from one of the failed servers. Any help will be
> appreciated.
>
> Thanks!
> Wenji
>
>
>
> /bea/jdk131/bin/java -server -ms512m -mx512m -XX:NewSize=128m -XX:MaxNewSize
> =128m -verbosegc -classpath
> .:/appdata/wls/cbfe1b/config/prod/properties:/appdata/wls/cbfe1b/config/prod
> /properties/srv34:/oracle/product/8.1.7/jdbc/lib/classes12.zip:/appdata/wls/
> cbfe1b/config/prod/lib/externalAPIs/iioprt.jar:/appdata/wls/cbfe1b/config/pr
> od/lib/externalAPIs/xerces.jar:/appdata/wls/cbfe1b/config/prod/lib/externalA
> PIs/jdom.jar:/appdata/wls/cbfe1b/config/prod/lib/externalAPIs/log4j-1.2.5.ja
> r:/appdata/wls/cbfe1b/config/prod/lib/externalAPIs/xalan.jar:/oracle/product
> /8.1.7/jdbc/lib/nls_charset12.zip:/bea/wlserver6.1:/bea/wlserver6.1/lib/webl
> ogic.jar:/appdata/wls/cbfe1b/config/prod/classes:/appdata/wls/cbfe1b/config/
> prod/lib/eontec/eontec_custom_user_realm.jar:/appdata/wls/cbfe1b/config/prod
> /lib/ibm/mqccf.jar:/appdata/wls/cbfe1b/config/prod/lib/ibm/ccf.jar:/appdata/
> wls/cbfe1b/config/prod/lib/ibm/eablib.jar:/appdata/wls/cbfe1b/config/prod/li
> b/ibm/imsconn.jar:/appdata/wls/cbfe1b/config/prod/lib/ibm/recjava.jar -Dwebl
> ogic.Domain=prod -Dweblogic.Name=prod-srv34 -Dbea.home=/bea -Dweblogic.manag
> ement.server=milkyway:8100 -Djava.security.policy=/bea/wlserver6.1/lib/weblo
> gic.policy -Dweblogic.management.password=eontec00 -Dweblogic.RootDirectory=
> /appdata/wls/cbfe1b weblogic.Server
> Starting WebLogic Server ....
> MBean Info preloading problem:
> java.lang.NullPointerException
> at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
> at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
> at
> weblogic.management.tools.AttributeInfo.readObject(AttributeInfo.java:151)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
> at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1137)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
> at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
> at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
> at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
> at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
> at weblogic.management.Admin.initialize(Admin.java:226)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
> at weblogic.Server.main(Server.java:35)
> Connecting to http://milkyway:8100...
> ***************************************************************************
> The WebLogic Server did not start up properly.
> Exception raised:
> java.lang.NullPointerException
> <<no stack trace available>>
> --------------- nested within: ------------------
> weblogic.management.configuration.ConfigurationException: connecting to
> http://milkyway:8100/wl_management_internal2/Bootstrap - with nested
> exception:
> [java.lang.NullPointerException]
> at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:1164)
> at weblogic.management.Admin.initialize(Admin.java:340)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
> at weblogic.Server.main(Server.java:35)
> Reason: Fatal initialization exception
> ***************************************************************************
>
>
>
-
Problems with java stored procedure.
I have a java stored procedure that uses a package called RmiJdbc
which allows calling remote JDBC data sources from any java capable
machine.
I've loaded the RmiJdbc classes into oracle via the loadjava
command and everything seems to come up valid.
The stored procedure does a Class.forName() to get the driver
registered, than attempts to connect to the remote RMI driver.
The particular line it dies on is this (see the error below):
c = DriverManager.getConnection("jdbc:rmi:" + rmiHost + "/" + url);
A mangled version of this (minus the Oracle specific stuff) works
from the command line correctly. Can somebody point me in a
direction to figure out what's going on here?
THanks,
Eric
Oracle9i Enterprise Edition Release 9.0.1.3.0 - 64bit Production
With the Partitioning option
JServer Release 9.0.1.3.0 - Production
ORACLE_HOME = /oracle/v901ee
System name: HP-UX
Node name: athena
Release: B.11.00
Version: A
Machine: 9000/889
Instance name: PASDB2
Redo thread mounted by this instance: 1
Oracle process number: 13
Unix process pid: 7839, image: oracle@athena (TNS V1-V3)
*** SESSION ID:(8.547) 2002-08-15 15:41:27.221
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.NullPointerException
java.lang.NullPointerException
at sun.rmi.server.LoaderHandler$LoaderKey.<init>(LoaderHandler.java)
at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputArray(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java)
at sun.rmi.registry.RegistryImpl_Stub.lookup
at org.objectweb.rmijdbc.RJConnection.<init>(RJConnection:83)
at org.objectweb.rmijdbc.Driver.connect(Driver:135)
at java.sql.DriverManager.getConnection(DriverManager.java)
at java.sql.DriverManager.getConnection(DriverManager.java)
at TurnoverInfoPlusInterface.insertInterfaceRecords(TurnoverInfoPlusInterface:53)
java.sql.SQLException: Error unmarshaling return; nested exception is:
java.lang.NullPointerException
at org.objectweb.rmijdbc.Driver.connect(Driver:140)
at java.sql.DriverManager.getConnection(DriverManager.java)
at java.sql.DriverManager.getConnection(DriverManager.java)
at TurnoverInfoPlusInterface.insertInterfaceRecords(TurnoverInfoPlusInterface:53)More info...I'm also seeing "ORA-03113: end-of-file on communication channel". I checked the user trace file and didn't get much help...it indicated an "exception signal: 11" and core-dump type stuff that had no meaning to me.
-
Java.lang.StackOverflowError in geting large xml file with RMI
Hello, Java Gurus.
I have a java client to get xml data from a server using RMI approach. When the xml data has a certain number of nodes, I got quoteResult.xsl on the client side. What is the actual problem ? is the file too big ? or something is wrong in the java code?
thanks. dave
java.lang.StackOverflowError
at java.io.BufferedInputStream.read1(Compiled Code)
at java.io.BufferedInputStream.read(Compiled Code)
at java.io.ObjectInputStream.read(Compiled Code)
at java.io.DataInputStream.readFully(Compiled Code)
at java.io.DataInputStream.readUTF(Compiled Code)
at java.io.DataInputStream.readUTF(Compiled Code)
at java.io.ObjectInputStream.readUTF(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.inputClassFields(Compiled Code)
at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
at java.io.ObjectInputStream.inputObject(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.inputClassFields(Compiled Code)
at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
at org.apache.xerces.dom.ChildAndParentNode.readObject(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
so many these lines
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.inputClassFields(Compiled Code)
at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
at java.io.ObjectInputStream.inputObject(Compiled Code)
at org.apache.xerces.dom.ChildAndParentNode.readObject(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
at sun.rmi.server.UnicastRef.unmarshalValue(Compiled Code)
at sun.rmi.server.UnicastRef.invoke(Compiled Code)
at InterfaceImpl_Stub.ExportData(Compiled Code)
at ClientServlet.handleRequest(Compiled Code)
at ClientServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
at org.apache.tomcat.servlets.InvokerServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
at org.apache.tomcat.core.ContextManager.service(Compiled Code)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled Code)
at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)Hi yue42, thanks alot for your rely.
The error occured before I tried to apply the xsl template to translate the xml data into html page, anyway here is my template. dave
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>
<xsl:include href="global.xsl"/>
<xsl:template match="/">
<html>
<head>News</head>
<body>
<table>
<xsl:for-each select="//NEWS/STORY">
<xsl:if test="6>position()">
<tr>
<td><xsl:value-of select="position()"/></td>
<td><xsl:value-of select="./HEADLINE"/></td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet> -
Java.io.NotSerializableException: engine.MyMetaData
the exception....
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: engine.MyMetaData
java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: engine.MyMetaData
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputClassFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at engine.ComputeEngine1_Stub.executeTask(ComputeEngine1_Stub.java:38)
at client.ComputeClientVisual.init(ComputeClientVisual.java:410)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
the class..
I send this class via RMI
public class MyTableModel extends AbstractTableModel {
public String[] columnNames = {};
public Vector rows = new Vector();
public MyMetaData metaData;//here is the class
that is my class that returns the exception
public class MyMetaData {
private Integer [] typeOfColumn;
private Boolean [] isWritable;
private Integer numberOfColumns;
private String tableName[];
I dont know why this exception
does anybody cant help me whit this?
I'll apreciate your helpDon't you see "java.io.NotSerializableException" in the output !!. RMI uses serialization protcol to transfer objects from one address space to another, so all parameters/return values of a remote method must be serializable.
Just make sure all prameters/return values of a remote method implements "Serializable" marker interface. MyMetaData class must implement "Serializable" interface in order to be transported as a return value of a RMI method.
-- Srinath Mandalapu -
Any One can help me to solve this problem, when the Japplet get the return object from servlet, i got the following error, please help me
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
at java.security.AccessController.checkPermission(AccessController.java:
399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:150
1)
at sun.applet.AppletSecurity.checkPackageAccess(AppletSecurity.java:169)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:654)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:918)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
3)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
9)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.util.Hashtable.readObject(Hashtable.java:792)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2
214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
3)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
9)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at wots.wb.uml.ServletList.queryServer(ServletList.java:223)
at wots.wb.uml.ServletList.update(ServletList.java:76)
at wots.wb.uml.ServletList.run(ServletList.java:52)
at java.lang.Thread.run(Thread.java:484)If you are using Java plugin you may have to set the network access unrestricted at the Java plugin control panel..
-
Java Doesn't Function, Security Exceptions
I'm running Windows XP Pro SP2, and trying t use Java 1.6.0 Build 5. Whenever I come across a Java app inside of FireFox 2.x, I recieve the following three error messages:
Security Exception
java.security.PrivlegedActionException: java.io.IOException: The system cannot find the path specified
Details:
java.security.PrivilegedActionException: java.io.IOException: The system cannot find the path specified
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.openInputStream(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
at com.sun.deploy.security.CredentialManager.<init>(Unknown Source) at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor$1.run(Unknown Source)
... 10 more
Security Exception
java.lang.NullPointerException
Details:
java.lang.NullPointerException
at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
Security Exception
java.lang.NullPointerException
Details:
java.lang.NullPointerException
at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
Then the tabs on my FireFox freeze up, and I have to quit FireFox, kill it in Task Manager, and then restart FireFox to continue working. I've tried re-installing Java, and that hasn't helped. How do I fix my Java install? Thanks.
Edited by: MSTCrowT on Feb 13, 2008 7:13 PMhi
i guess you are trying to access local file from applet.
refer this link.. hope this will help you.
http://www.google.com/search?q=read+local+file+from+APPLET&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-
regards
Aniruddha -
Java just wont work on my computer
i reinstllsd it more then 3 times alredy and tried using diffrent browsers
i have the newst one instelld right now
i have windows xp most updated
but no matter what java applet i am tring to open online it just wont work
it gives me three eror messges
on after the ather and then the file just has a red x on it
first this
java.security.PrivilegedActionException: java.io.IOException: ???? ?????, ?? ?????? ?? ?????? ?? ????? ????? ?????? ??????
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.openInputStream(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
Caused by: java.io.IOException: ???? ?????, ?? ?????? ?? ?????? ?? ????? ????? ?????? ??????
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor$1.run(Unknown Source)
... 11 more
then this one
java.lang.NullPointerException
at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
and then this one
java.lang.NullPointerException
at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
the a red x where the applet shold be
agein it happens to every java applet i see onlineBritteney26 wrote:
i bought a gatway computer with windows 7 on it and the linksys wusb600n wireless adapter-its supposed to be compatible with windows seven but its really not. does anyone know a good adapter that works? i have a linksys router too.
Brittney26, A Windows Vista Driver should be compatible with the item in the event you cannot obtain a Windows 7 Driver for it. Have you also tried to perform an update through the Windows Update function of your operating system?
*******DISCLAIMER********
I am not an employee of BBY in any shape or form. All information presented in my replies or postings is my own opinion. It is up to you , the end user to determine the ultimate validity of any information presented on these forums.
Maybe you are looking for
-
How do I insert a file into an existing portfolio?
I use a feature of Outlook 2010 to move an email message into an Adobe Portfolio. It all happens automatically once I tell Outlook to put it there. My issue is that I put one email msg into the wrong portfolio and want to move it to the proper portfo
-
How do I correct a printer communication problem?
How do I correct the following error when trying to print on my Macbook Pro to an epson XP-410 printer. "rastertoescpII quit unexpectedly" Communication is there with the printer as I can print a test page. another Macbook pro also prints fine to
-
Hey guys, Can you tell me all of the reasons why flash content will crash IE with the error "This application has requested the Runtime to terminate it in an unusual way"? I'm trying to remote debug another teams game, where it continually crashes in
-
Recommendations for installation on a 256mb laptop (Acer Travemate)
I've finally managed to convince my wife that it would be a good idea to install Linux on her laptop, an Acer Travelmate 244LC with 256mb RAM and a Celeron 2.6 GHz processor, which was running unbearably slowly. I recently reinstalled windows on it,
-
Why is there only read(byte[]) & not read(int[])
I'm trying to read large raw images using the RandomAccessFile. Different images are of different types, some are uInt8, some are int8, some are int16, uInt16, float, etc. The only way I know to read them fast enough is by reading an array of bytes,