← Back to team overview

openjdk team mailing list archive

[Bug 589694] Re: Corba IIOP profile error when running Java3D application

 

** Attachment added: "HelloUniverse.java"
   http://launchpadlibrarian.net/49663475/HelloUniverse.java

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/49661733/Dependencies.txt

-- 
Corba IIOP profile error when running Java3D application
https://bugs.launchpad.net/bugs/589694
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
I am studying Java3D, so I started with Sun's simple example HelloUniverse.java (see the attached file).

I installed Java3D (libjava3d-java 1.5.2+dfsg-5 and libjava3d-jni 1.5.2+dfsg-5) and VecMath (libvecmath-java 1.5.2-2) libraries: their jar files are put in /usr/share/java. I have openjdk-6-jdk 6b18-1.8-0ubuntu1.

I compile HelloUniverse.java with
> javac -classpath .:/usr/share/java/* HelloUniverse.java
I get no errors nor warnings.

When I run the application with
> java -classpath .:/usr/share/java/* HelloUniverse
the application starts (correctly showing the rotating cube), but I get the following exception:

**********************
Jun 4, 2010 3:32:42 PM com.sun.corba.se.impl.ior.IORImpl getProfile
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.CORBA.INV_OBJREF:   vmcid: SUN  minor code: 1201  completed: No
	at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:473)
	at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:495)
	at com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:334)
	at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:787)
	at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:761)
	at com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CDRInputStream.java:231)
	at com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(INSURLOperationImpl.java:120)
	at com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:130)
	at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.java:836)
	at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:143)
	at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:1147)
	at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:398)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:786)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:875)
	at java.awt.Toolkit.getEventQueue(Toolkit.java:1698)
	at java.awt.EventQueue.invokeLater(EventQueue.java:957)
	at HelloUniverse.main(HelloUniverse.java:107)
**********************

While the application is correctly executed, I wonder why those exceptions are raised. I found various posts on the Internet of this same error in several different contexts, and all of them were resolved switching to Sun's Java packages. That's why I think this error is not related to Java3D or VecMath, but to openjdk.

Please ask me if you need more information. Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openjdk-6-jdk 6b18-1.8-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Jun  4 15:40:24 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openjdk-6





References