Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
java exception error in using postcrossplot code.....
Posted Mar 22, 2010, 8:53 a.m. EDT LiveLink for MATLAB Version 3.5a 6 Replies
Please login with a confirmed email address before reporting spam
Hi
I am working in windows xp os and with Comsol 3.5a with matlab R2008b
I am exporting model file form comsol to matlab as fem and is saved in fem file in workspace. when iam using postcrossplot in order to save it and use it for meshintegrate code for integration on a particular cross section in a domain.
but when iam using code postcrossplot in matlab command window as follows
pd = postcrossplot(fem,2,[0.015 0 0;0.015 0 0.03;0 0.015 0]','surfdata','T')
extracting temperature data from subdomian in a particular cross section and storing it in pd variable....
it gives error as
??? Error using ==> figure
Error using ==> figure
Java exception occurred:
java.lang.NoClassDefFoundError: javax/media/j3d/BoundingBox
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at com.mathworks.jmi.OpaqueJavaInterface.doesMethodExist(OpaqueJavaInterface.java:407)
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.BoundingBox
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 5 more
Error in ==> gcf at 33
h = figure;
Error in ==> postnewplot>l_newplot at 27
currax = gca;
Error in ==> postnewplot at 15
hAx = l_newplot(vers);
Error in ==> postcrossplot at 368
ax = postnewplot;
I think it is problem with java files and help me regarding this.
thanks for your precious help in advance.
cheers
shanu
I am working in windows xp os and with Comsol 3.5a with matlab R2008b
I am exporting model file form comsol to matlab as fem and is saved in fem file in workspace. when iam using postcrossplot in order to save it and use it for meshintegrate code for integration on a particular cross section in a domain.
but when iam using code postcrossplot in matlab command window as follows
pd = postcrossplot(fem,2,[0.015 0 0;0.015 0 0.03;0 0.015 0]','surfdata','T')
extracting temperature data from subdomian in a particular cross section and storing it in pd variable....
it gives error as
??? Error using ==> figure
Error using ==> figure
Java exception occurred:
java.lang.NoClassDefFoundError: javax/media/j3d/BoundingBox
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at com.mathworks.jmi.OpaqueJavaInterface.doesMethodExist(OpaqueJavaInterface.java:407)
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.BoundingBox
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 5 more
Error in ==> gcf at 33
h = figure;
Error in ==> postnewplot>l_newplot at 27
currax = gca;
Error in ==> postnewplot at 15
hAx = l_newplot(vers);
Error in ==> postcrossplot at 368
ax = postnewplot;
I think it is problem with java files and help me regarding this.
thanks for your precious help in advance.
cheers
shanu
6 Replies Last Post Jun 11, 2013, 8:10 a.m. EDT