Download

Online

Gallery

Blog

  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 1091 times and has 3 replies Next Thread
dkaparis
Newbie




Joined: Aug 3, 2022
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Error exporting SVG

Greetings,

Using Sweet Home 3D 7.0.2 under Archlinux and OpenJDK Runtime Environment (build 11.0.16+8). When I select the Plan->Export to SVG Format command and specify file, I get the following dump on terminal:


java.lang.NoClassDefFoundError: org/freehep/graphicsio/svg/SVGGraphics2D
at com.eteks.sweethome3d.swing.PlanComponent.exportToSVG(Unknown Source)
at com.eteks.sweethome3d.swing.PlanComponent.exportData(Unknown Source)
at com.eteks.sweethome3d.swing.MultipleLevelsPlanPanel.exportData(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.exportToSVG(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: org.freehep.graphicsio.svg.SVGGraphics2D
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 13 more


The produced file is zero size.

Could this be a packaging issue? Any ideas how to diagnose further?

Thanks,
Dimitri
[Aug 16, 2022, 3:32:15 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error exporting SVG

This looks like a packaging issue. Use the official release available at Download page.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 16, 2022, 6:34:09 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 548
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error exporting SVG

I use official version (from download page) under linux (debian).
Running SweetHome3D & SweetHome3D-Java3D-1_5_2 it's OK (produce the expected svg result).

I receive the same error (in terminal & 0 size file) ONLY when I use nimbus.
(-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel)
Maybe is not the only one issue under this settings.

With SweetHome3D-6.6 all work OK.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
----------------------------------------
[Edit 1 times, last edit by dorin at Aug 17, 2022, 8:26:20 AM]
[Aug 17, 2022, 8:20:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dkaparis
Newbie




Joined: Aug 3, 2022
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error exporting SVG

This looks like a packaging issue. Use the official release available at Download page.


When running the downloaded jnlp version on the same system with javaws, the SVG export works without error.

I filed a bug report at https://bugs.archlinux.org/task/75632.
[Aug 17, 2022, 9:43:09 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 2006-2024 eTeks - All rights reserved