Joined: Mar 21, 2013
Post Count: 6
Status:
Offline
Using Sweet Home 3D source code
Hello everybody I am kinda new to this 3D concept and while surfing I came across this beautiful software. Actually I have a need to use some of the features of Sweet Home 3D in my project and as part of this I downloaded the source code and was trying to run it through NetBeans Java Application Project. But I am getting the following error on running the SweetHome3D java file.
run: 3D [dev] 1.6.0-pre4-daily-experimental daily
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError at javax.media.j3d.GraphicsConfigTemplate3D.getBestConfiguration(GraphicsConfigTemplate3D.java:316) at java.awt.GraphicsDevice.getBestConfiguration(GraphicsDevice.java:207) at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Component3DManager.java:65) at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Component3DManager.java:103) at com.eteks.sweethome3d.swing.HomeComponent3D.createComponent3D(HomeComponent3D.java:374) at com.eteks.sweethome3d.swing.HomeComponent3D.<init>(HomeComponent3D.java:294) at com.eteks.sweethome3d.swing.HomeComponent3D.<init>(HomeComponent3D.java:247) at com.eteks.sweethome3d.swing.SwingViewFactory.createView3D(SwingViewFactory.java:106) at com.eteks.sweethome3d.viewcontroller.HomeController3D.getView(HomeController3D.java:163) at com.eteks.sweethome3d.swing.HomePane.createActions(HomePane.java:303) at com.eteks.sweethome3d.swing.HomePane.<init>(HomePane.java:226) at com.eteks.sweethome3d.swing.SwingViewFactory.createHomeView(SwingViewFactory.java:120) at com.eteks.sweethome3d.viewcontroller.HomeController.getView(HomeController.java:303) at com.eteks.sweethome3d.HomeFramePane.<init>(HomeFramePane.java:92) at com.eteks.sweethome3d.HomeFrameController.getView(HomeFrameController.java:63) at com.eteks.sweethome3d.HomeFrameController.displayView(HomeFrameController.java:84) at com.eteks.sweethome3d.SweetHome3D$3.collectionChanged(SweetHome3D.java:350) at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(CollectionChangeSupport.ja va:77) at com.eteks.sweethome3d.model.HomeApplication.addHome(HomeApplication.java:76) at com.eteks.sweethome3d.SweetHome3D.start(SweetHome3D.java:670) at com.eteks.sweethome3d.SweetHome3D$4.run(SweetHome3D.java:410) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701) at java.awt.EventQueue.access$000(EventQueue.java:102) at java.awt.EventQueue$3.run(EventQueue.java:662) at java.awt.EventQueue$3.run(EventQueue.java:660) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:671) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97) Caused by: java.lang.RuntimeException: java.lang.SecurityException: class "javax.media.opengl.GLCapabilitiesImmutable"'s signer information does not match signer information of other classes in the same package at javax.media.j3d.Pipeline$PipelineCreator.run(Pipeline.java:76) at javax.media.j3d.Pipeline$PipelineCreator.run(Pipeline.java:59) at java.security.AccessController.doPrivileged(Native Method) at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:88) at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:837) at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:274) ... 35 more Caused by: java.lang.SecurityException: class "javax.media.opengl.GLCapabilitiesImmutable"'s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(ClassLoader.java:943) at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657) at java.lang.ClassLoader.defineClass(ClassLoader.java:785) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at javax.media.j3d.Pipeline$PipelineCreator.run(Pipeline.java:71) ... 40 more Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.eteks.sweethome3d.SweetHome3D.start(SweetHome3D.java:678) at com.eteks.sweethome3d.SweetHome3D$2$1.run(SweetHome3D.java:323) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701) at java.awt.EventQueue.access$000(EventQueue.java:102) at java.awt.EventQueue$3.run(EventQueue.java:662) at java.awt.EventQueue$3.run(EventQueue.java:660) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:671) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Can anybody help me with this. This was kinda very very urgent request.