Submitted by Anonymous on Mon, 08/12/2002 - 07:22. Developers
Hi Jef,
I wrote a JAVA application, and when I run it, and then start our OLD X11 application
the old X11 application crashes....with the errors as below.
Now this also happens sometimes with Netscape, I am clueless why
this error happens on Solaris with X11. I am running on
JDK1.3.1 and Solaris 8 on a Sparc Ultra 10 system.
Any help, pointers would be of good help.
------------------ X11 Application output --------------
MANAGER] 3.0.1
Start of Application.
sizeof(WmInfo) = 104
[MANAGER] Receive Arguments 0-manager,
System MultiClick Interval=500, Item=5
Warning Cannot allocate colormap entry for "#4080a0"
ERROR(Convert)
Conversion of `#4080a0String` to `Pixel` failed
ERROR(Convert)
Conversion of `#4080a0String` to `Pixel` failed
XpmError XpmColorFailed
Warning Cannot allocate colormap entry for "gray70"
ERROR(Convert)
Conversion of `gray70String` to `Pixel` failed
X Error of failed request BadDrawable (invalid Pixmap or Window
parameter)
Major opcode of failed request 14 (X_GetGeometry)
Resource id in failed request 0x0
Serial number of failed request 96
Current serial number in output stream 96
[ChildEvent] SigNo = 18 child(pid=18995) dead...
MANAGER Die Die!!
[ipclib.c RestoreInfo] open fail No such file or directory
[ChildEvent] SigNo = 18 child(pid=19016) dead...
CMDANAL Die Die!!
That doesn`t look too bad.
Looks like your using a colormap (bit depth 8) and when you start the [other] app it steals colors. Your older X11 app is apparently unprepared for this.
I think if you use 16bit depth or limit the colors used by the apps and desktop you won`t get the error.
Hope that helps,
John D. Hendrickson
Looks like the other applications -- Netscape browser or Java interpreter -- are using up the colormap, and your application doesn`t deal properly with that. It fails to create a window and then fails when the window is 0x0 (0L, NUL).