rafa_es
|
 |
«
Posted
2006-11-25 13:52:19 » |
|
Hi guys I know it is not the first time that this error is posted but is anyone else getting this error? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| java.lang.NoSuchMethodError: javax.vecmath.Matrix4f.setTranslation(Ljavax/vecmat h/Tuple3f;)V at org.xith3d.scenegraph.Transform3D.lookAt(Transform3D.java:692) at org.xith3d.scenegraph.View.lookAt(View.java:437) at org.xith3d.scenegraph.View.<init>(View.java:779) at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.jav a:796) at org.xith3d.render.base.ExtXith3DEnvironment.<init>(ExtXith3DEnvironme nt.java:498) at org.xith3d.render.base.ExtXith3DEnvironment.<init>(ExtXith3DEnvironme nt.java:536) at org.teg.game.Game.<init>(Game.java:312) at org.teg.game.Starter.runGame(Starter.java:95) at org.teg.game.Starter.onStartButtonPressed(Starter.java:41) at org.xith3d.utility.canvas.DisplayOptions.actionPerformed(DisplayOptio ns.java:128) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18 49) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav a:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:234) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1766) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) |
It only occurs in my university pc. Rafael
|
|
|
|
|
hawkwind
Junior Member  
Java games rock!
|
 |
«
Reply #1 - Posted
2006-11-25 15:22:48 » |
|
I was getting odd vecmath problems but fixed it by using the kh*jar (dont remember exact spelling) vecmath that come with the distribution.
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #2 - Posted
2006-11-25 15:37:09 » |
|
I was getting odd vecmath problems but fixed it by using the kh*jar (dont remember exact spelling) vecmath that come with the distribution.
This is the exact reason. Please use the vecmath-kh.jar. Does everyone agree to remove the vecmath.jar from SVN? It only confuses people. Marvin
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Amos Wenger
|
 |
«
Reply #3 - Posted
2006-11-25 17:05:11 » |
|
I was getting odd vecmath problems but fixed it by using the kh*jar (dont remember exact spelling) vecmath that come with the distribution.
This is the exact reason. Please use the vecmath-kh.jar. Does everyone agree to remove the vecmath.jar from SVN? It only confuses people. +1
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
rafa_es
|
 |
«
Reply #4 - Posted
2006-11-25 17:49:18 » |
|
This is the exact reason. Please use the vecmath-kh.jar.
Does everyone agree to remove the vecmath.jar from SVN? It only confuses people.
Marvin
+1 Rafael
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #5 - Posted
2006-11-26 02:58:53 » |
|
OK, I will do that domorrow. I'm very drung now and don'r feel able to do that. But tomorrw I will...
Marvin
|
|
|
|
|
Amos Wenger
|
 |
«
Reply #6 - Posted
2006-11-26 15:55:17 » |
|
OK, I will do that domorrow. I'm very drung now and don'r feel able to do that. But tomorrw I will...
Drunk ?
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
Marvin Fröhlich
|
 |
«
Reply #7 - Posted
2006-11-26 18:06:31 » |
|
Drunk ?
Yes, one of my colleagues at work had his stag night yesterday evening and I had a lot of beer  .
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #8 - Posted
2006-11-26 18:10:10 » |
|
vecmath.jar is now deleted.
|
|
|
|
|
Amos Wenger
|
 |
«
Reply #9 - Posted
2006-11-26 18:33:20 » |
|
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
Games published by our own members! Check 'em out!
|
|
apohlmann
Senior Newbie 
|
 |
«
Reply #10 - Posted
2006-11-29 18:10:32 » |
|
Seems that I have the same problem in an older code:
Exception in thread "main" java.lang.NoSuchMethodError: javax.vecmath.Matrix4f.setTranslation(Ljavax/vecmath/Tuple3f;)V at org.xith3d.scenegraph.Transform3D.lookAt(Transform3D.java:691) at org.xith3d.scenegraph.View.lookAt(View.java:436) at org.xith3d.scenegraph.View.<init>(View.java:778) at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:796) at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:839)
But I use the vecmath-kh... and the java version is the 1.5.0_09....
|
|
|
|
|
apohlmann
Senior Newbie 
|
 |
«
Reply #11 - Posted
2006-11-29 18:39:04 » |
|
What the F*** ?! *argh* K problem solved.... I had the same Problem few weeks ago. While looking for help I found a thread where someone wrote that reinstalling the jre could fix it. So I installed the newest version and the problem was gone.... And that was exact the same! I reinstalled the 1.5.0_09 and it works now .... But whats the reason for this ''crash'' ?? Its the second time that I use to spend some time for an unnecessary problem like that  and on top of that it is not my fault or the fault from xith....
|
|
|
|
|
Amos Wenger
|
 |
«
Reply #12 - Posted
2006-11-29 18:45:28 » |
|
What the F*** ?! *argh* K problem solved.... I had the same Problem few weeks ago. While looking for help I found a thread where someone wrote that reinstalling the jre could fix it. So I installed the newest version and the problem was gone.... And that was exact the same! I reinstalled the 1.5.0_09 and it works now .... But whats the reason for this ''crash'' ?? Its the second time that I use to spend some time for an unnecessary problem like that  and on top of that it is not my fault or the fault from xith.... Ask Sun.  It's nasty, it happened to me that Eclipse couldn't find some methods which I had just in front of me.. pretty disappointing  <dreaming>Anyway, I'll be happy when everyone have JDK 6 (including me)</dreaming>
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
apohlmann
Senior Newbie 
|
 |
«
Reply #13 - Posted
2006-11-29 23:29:16 » |
|
And there it is again.... I think the problem is java3d-1_4_0_01  I installed it to compare the loaders.... after the installation the problem returned.... Don't know what J3D does during the installation but it kills something needed or it changes something...  Seems that I had to install and deinstall it for each test..  No Xith problem so far 
|
|
|
|
|
Marvin Fröhlich
|
 |
«
Reply #14 - Posted
2006-11-29 23:47:02 » |
|
And there it is again.... I think the problem is java3d-1_4_0_01  I installed it to compare the loaders.... after the installation the problem returned.... Don't know what J3D does during the installation but it kills something needed or it changes something...  Seems that I had to install and deinstall it for each test..  No Xith problem so far  Just a guess: Maybe it installs vecmath.jar to the default java classpath (bin folder of the jdk). Then there could be name conflicts between sun's vecmath and vecmath-kh. In this case it could help to remove vecmath.jar from the jre's bin folder. Marvin
|
|
|
|
|
apohlmann
Senior Newbie 
|
 |
«
Reply #15 - Posted
2006-11-30 10:33:27 » |
|
Yes you are right! I deinstalled J3D but the vecmath still remains in th jre lib....
Copying the vecmath in and out of the folder is faster than reinstalling the whole stuff.
|
|
|
|
|
Amos Wenger
|
 |
«
Reply #16 - Posted
2006-11-30 19:05:25 » |
|
Yes you are right! I deinstalled J3D but the vecmath still remains in th jre lib....
Copying the vecmath in and out of the folder is faster than reinstalling the whole stuff.
Well why doesn't Xith3D have an installer  Why not use vecmath-kh.jar for Java3D too ?
|
"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
|
|
|
apohlmann
Senior Newbie 
|
 |
«
Reply #17 - Posted
2006-12-01 08:47:34 » |
|
Why not use vecmath-kh.jar for Java3D too ?
Yes, I thought so too but it causes some problems like this: java.lang.NoClassDefFoundError: javax/vecmath/Tuple3d. So, instead spending time in this I'll copy the vecmath  OK, I could adjust the code more and more but this is at least far from testing J3D....
|
|
|
|
|
|