Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5154 times and has 3 replies Next Thread
stefff
Newbie




Joined: Jun 7, 2011
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
"java.lang.reflect.InvocationTargetException" :-( Help...!

Hello,

Situation :

On MAc (G4 MDD) with OSX 10.4.10
with Java Cache Viewer (11.5.0). (+ le fichier SweetHome3D.jnlp s'ouvre bien avec l'application Java Cache Viewer )

Error message at opening is :

"Une erreur est survenue au cours du lancement ou de l'exécution de l'application.

Titre : Sweet Home 3D
Fournisseur : eTeks
Catégorie : Erreur inattendue

Exception inattendue : java.lang.reflect.InvocationTargetException"

"Fichier de lancement" et "exceptions" ci-dessous.


Fichier de lancement :

"<?xml version="1.0"?>
<jnlp spec="1.5+"
codebase="http://www.sweethome3d.com/"
href="SweetHome3D.jnlp">
<information>
<title>Sweet Home 3D</title>
<vendor>eTeks</vendor>
<homepage href="http://www.sweethome3d.com/"/>
<description>Sweet Home 3D</description>
<description kind="short">Arrange the furniture of your house</description>
<icon href="SweetHome3DIcon.gif"/>
<icon kind="splash" href="SweetHome3DSplashScreen.jpg"/>
<offline-allowed/>
<shortcut online="false">
<desktop/>
<menu submenu="eTeks Sweet Home 3D"/>
</shortcut>
<association extensions="sh3d sh3l sh3f sh3t sh3p"
mime-type="application/SweetHome3D"/>
</information>
<information locale="fr">
<title>Sweet Home 3D</title>
<description kind="short">Amenagez les meubles de votre logement</description>
<offline-allowed/>
</information>
<information locale="pt">
<title>Sweet Home 3D</title>
<description kind="short">Organiza as mobilias da sua casa</description>
<offline-allowed/>
</information>
<information locale="cs">
<title>Sweet Home 3D</title>
<description kind="short">Sestavte si design interieru vaseho domu</description>
<offline-allowed/>
</information>
<information locale="pl">
<title>Sweet Home 3D</title>
<description kind="short">Zaprojektuj wnetrze swojego domu</description>
<offline-allowed/>
</information>
<information locale="hu">
<title>Sweet Home 3D</title>
<description kind="short">Keszitse el lakasanak belso kialakitasat!</description>
<offline-allowed/>
</information>
<information locale="se">
<title>Sweet Home 3D</title>
<description kind="short">Fixa heminredningen i ditt hem</description>
<offline-allowed/>
</information>

<security>
<all-permissions/>
</security>

<resources>
<j2se version="1.5+" max-heap-size="512m"/>
<jar href="lib/SweetHome3DJavaWebStartBootstrap.jar"/>
<jar href="lib/SweetHome3D.jar" part="SweetHome3D" download="lazy"/>
<jar href="lib/Loader3DS1_2u.jar" part="Loader3DS" download="lazy"/>
<jar href="lib/freehep-vectorgraphics-svg-2.1.1.jar" part="FreeHep" download="lazy"/>
<jar href="lib/sunflow-0.07.3g.jar" part="SunFlow" download="lazy"/>
<jar href="lib/jmf.jar" part="JMF" download="lazy"/>
<property name="com.eteks.sweethome3d.deploymentInformation" value="Java Web Start"/>
</resources>

<resources os="Windows" arch="x86">
<jar href="lib/iText-2.1.7.jar" part="iText" download="lazy"/>
<jar href="lib/windows/i386/java3d.jar" part="Java3D" download="lazy"/>
<property name="com.eteks.sweethome3d.lazyParts" value="SweetHome3D Loader3DS FreeHep SunFlow JMF iText Java3D"/>
</resources>
<resources os="Windows" arch="amd64">
<jar href="lib/iText-2.1.7.jar" part="iText" download="lazy"/>
<jar href="lib/windows/x64/java3d.jar" part="Java3D" download="lazy"/>
<property name="com.eteks.sweethome3d.lazyParts" value="SweetHome3D Loader3DS FreeHep SunFlow JMF iText Java3D"/>
</resources>

<resources os="Mac\ OS\ X">
<jar href="lib/macosx/java3d.jar" part="Java3D" download="lazy"/>
<property name="apple.laf.useScreenMenuBar" value="true"/>
<property name="apple.awt.graphics.UseQuartz" value="true"/>
<property name="j3d.rend" value="jogl"/>
<property name="com.eteks.sweethome3d.lazyParts" value="SweetHome3D Loader3DS FreeHep SunFlow JMF Java3D"/>
</resources>

<resources os="Linux" arch="x86 i386">
<jar href="lib/iText-2.1.7.jar" part="iText" download="lazy"/>
<jar href="lib/linux/i386/java3d.jar" part="Java3D" download="lazy"/>
<property name="com.eteks.sweethome3d.lazyParts" value="SweetHome3D Loader3DS FreeHep SunFlow JMF iText Java3D"/>
</resources>
<resources os="Linux" arch="amd64 x86_64">
<jar href="lib/iText-2.1.7.jar" part="iText" download="lazy"/>
<jar href="lib/linux/x64/java3d.jar" part="Java3D" download="lazy"/>
<property name="com.eteks.sweethome3d.lazyParts" value="SweetHome3D Loader3DS FreeHep SunFlow JMF iText Java3D"/>
</resources>

<resources os="SunOS">
<jar href="lib/iText-2.1.7.jar" part="iText" download="lazy"/>
<extension href="http://download.java.net/media/java3d/webstar....5-latest.jnlp"/>
<property name="com.eteks.sweethome3d.lazyParts" value="SweetHome3D Loader3DS FreeHep SunFlow JMF iText"/>
</resources>

<application-desc
main-class="com.eteks.sweethome3d.SweetHome3DJavaWebStartBootstrap"/>
</jnlp>"

exceptions :


"java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.eteks.sweethome3d.SweetHome3DJavaWebStartBootstrap.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1161)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1108)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:951)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:522)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.eteks.sweethome3d.SweetHome3DBootstrap.main(Unknown Source)
... 16 more
Caused by: java.lang.IllegalArgumentException: LUT has improper length!
at javax.imageio.ImageTypeSpecifier$Indexed.<init>(ImageTypeSpecifier.java:866)
at javax.imageio.ImageTypeSpecifier.createIndexed(ImageTypeSpecifier.java:955)
at com.sun.imageio.plugins.png.PNGImageReader.getImageTypes(PNGImageReader.java:1463)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1348)
at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1530)
at javax.imageio.ImageIO.read(ImageIO.java:1400)
at javax.imageio.ImageIO.read(ImageIO.java:1364)
at com.eteks.sweethome3d.swing.PlanComponent.createCustomCursor(Unknown Source)
at com.eteks.sweethome3d.swing.PlanComponent.createCustomCursor(Unknown Source)
at com.eteks.sweethome3d.swing.PlanComponent.<init>(Unknown Source)
at com.eteks.sweethome3d.swing.SwingViewFactory.createPlanView(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.PlanController.getView(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.PlanController$SelectionState.enter(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.PlanController.setState(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.PlanController.<init>(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController.getPlanController(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.<init>(Unknown Source)
at com.eteks.sweethome3d.swing.SwingViewFactory.createHomeView(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController.getView(Unknown Source)
at com.eteks.sweethome3d.MacOSXConfiguration.bindToApplicationMenu(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
... 21 more
"
[Jun 7, 2011, 9:48:27 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: "java.lang.reflect.InvocationTargetException" :-( Help...!

This problem looks similar to this one. Hope it will help you...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 7, 2011, 12:58:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
stefff
Newbie




Joined: Jun 7, 2011
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: "java.lang.reflect.InvocationTargetException" :-( Help...!

C'est bon, merci !
Super logiciel.
Petite question : pour faire des étages, on reprend le même plan 2D ?
Donc pas de vision 3D s'il y a des étages ?

Stefff
[Jun 7, 2011, 8:51:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: "java.lang.reflect.InvocationTargetException" :-( Help...!

Pour les étages voir la FAQ
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 9, 2011, 10:46:59 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved