bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
924 stars 101 forks source link

File opening fails because of issue with trimmer potentiometer (array element type mismatch). #585

Closed pmfawcett closed 3 years ago

pmfawcett commented 4 years ago

Hi Bane,

Here's a DIY file (zipped) that won't open with 4.9.0. I'm not sure if it's because I created it to test the 4.9.0 candidate, or if there is something else going on (the candidate executable doesn't seem to work either). I can't open it with 4.8.0 either as it's from a newer version.

Log (below) seems to suggest that there is an array element type mismatch associated with a trimmer potentiometer. I think I might have tried putting flexible leads on it? I don't recall for sure. Anyway, I hope the work is not lost.

Cheers,

Wombat

CEDist_JTM45.zip

18:03:53,027 INFO [main] ConfigurationManager - Initializing configuration 18:03:53,345 INFO [main] ConfigurationManager - Saving configuration 18:03:53,410 INFO [main] DIYLCStarter - Loading languages... 18:03:53,411 INFO [main] LangUtil - Loading translation for English 18:03:53,483 DEBUG [main] DIYLCStarter - Java version: 1.8.0_101-b13 by Oracle Corporation 18:03:53,484 DEBUG [main] DIYLCStarter - OS: Windows 7 6.1 18:03:53,484 INFO [main] DIYLCStarter - Starting DIYLC with working directory C:\Program Files (x86)\DIYLC 18:03:53,484 INFO [main] DIYLCStarter - Configuration dump start. 18:03:53,485 INFO [main] DIYLCStarter - antiAliasing = true 18:03:53,485 INFO [main] DIYLCStarter - hiQualityRender = true 18:03:53,485 INFO [main] DIYLCStarter - stickyPoints = true 18:03:53,485 INFO [main] DIYLCStarter - metric = true 18:03:53,485 INFO [main] DIYLCStarter - snapTo = Components 18:03:53,485 INFO [main] DIYLCStarter - continuousCreation = false 18:03:53,485 INFO [main] DIYLCStarter - wheelZoom = true 18:03:53,486 INFO [main] DIYLCStarter - outline = false 18:03:53,486 INFO [main] DIYLCStarter - showRulers = true 18:03:53,486 INFO [main] DIYLCStarter - showGrid = true 18:03:53,486 INFO [main] DIYLCStarter - highlightContinuityArea = false 18:03:53,486 INFO [main] DIYLCStarter - defaultTemplatesImported = true 18:03:53,486 INFO [main] DIYLCStarter - defaultBlocksImported = true 18:03:53,487 INFO [main] DIYLCStarter - Configuration dump end. 18:03:53,528 INFO [main] DIYLCStarter - Creating the main frame... 18:03:53,528 DEBUG [Thread-3] DIYLCStarter - Starting font pre-loading 18:03:53,530 DEBUG [Thread-3] ResourceLoader - Looking for files in: fonts 18:03:53,530 INFO [Thread-3] DIYLCStarter - Dynamically loading font: consola.ttf 18:03:54,085 INFO [Thread-3] DIYLCStarter - Dynamically loading font: lucon.ttf 18:03:54,085 INFO [Thread-3] DIYLCStarter - Dynamically loading font: square721_bt.ttf 18:03:54,088 INFO [main] Presenter - Current DIYLC version: 4.9.0 18:03:54,101 INFO [main] Presenter - Checking if variants need to be updated 18:03:54,101 INFO [main] Presenter - Loading component types. 18:03:54,102 DEBUG [main] Utils - Scanning jar: /C:/Program Files (x86)/DIYLC/lib/diylc-core.jar 18:03:54,132 DEBUG [main] Utils - Scanning jar: /C:/Program Files (x86)/DIYLC/library/main.jar 18:03:54,312 DEBUG [main] JarScanner - Found JAR file: main.jar 18:03:54,312 DEBUG [main] JarScanner - Scanning main.jar 18:03:54,368 INFO [main] ClassLoaderUtil - Adding file to the classpath: C:\Program Files (x86)\DIYLC\library\main.jar 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.Abstract3LegSymbol 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.AbstractLeadedComponent 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.AbstractMultiPartComponent 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.AbstractRadialComponent 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.AbstractSchematicLeadedSymbol 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.AbstractBoard 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.BlankBoard 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.Breadboard 18:03:54,371 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.EyeletBoard 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.MarshallPerfBoard 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.PerfBoard 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.ProtoBoard 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.TagStrip 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.TerminalStrip 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.TriPadBoard 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.boards.VeroBoard 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.chassis.ChassisPanel 18:03:54,372 DEBUG [main] JarScanner - Loaded class: org.diylc.components.chassis.EllipticalCutout 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.chassis.PolygonalCutout 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.chassis.RectangularCutout 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.CopperTrace 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.CurvedTrace 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.CutLine 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.Dot 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.Eyelet 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.GroundFill 18:03:54,373 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.HookupWire 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.Jumper 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.Line 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.SolderPad 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.TraceCut 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.Turret 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.connectivity.TwistedWire 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.BatterySnap9V 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.CliffJack1_4 18:03:54,374 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.ClosedJack1_4 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.DIPSwitch 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.FuseHolderPanel 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.IECSocket 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.MiniRelay 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.MiniToggleSwitch 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.OpenJack1_4 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.PhonoJackSymbol 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.PilotLampHolder 18:03:54,375 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.PinHeader 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.PlasticDCJack 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.RCAJack 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.electromechanical.RotarySelectorSwitch 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.AbstractGuitarPickup 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.AbstractSingleOrHumbuckerPickup 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.HumbuckerPickup 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.JazzBassPickup 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.LPSwitch 18:03:54,376 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.LeverSwitch 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.P90Pickup 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.PBassPickup 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.guitar.SingleCoilPickup 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.BOM 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.BatterySymbol 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.GroundSymbol 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.Image 18:03:54,377 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.Label 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.Loadline 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.LoadlineCurve 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.PCBText 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.misc.WrapLabel 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.AbstractFilmCapacitor 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.AbstractPotentiometer 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.AirCoreInductor 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.AudioTransformer 18:03:54,378 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.AxialElectrolyticCapacitor 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.AxialFilmCapacitor 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.CapacitorSymbol 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.CrystalOscillator 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.FuseSymbol 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.InductorSymbol 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.MultiSectionCapacitor 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.PotentiometerPanel 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.PotentiometerSymbol 18:03:54,379 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.RadialCeramicDiskCapacitor 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.RadialElectrolytic 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.RadialFilmCapacitor 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.RadialInductor 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.Resistor 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.ResistorSymbol 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.TantalumCapacitor 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.ToroidalInductor 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.TransformerCoil 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.TransformerCore 18:03:54,380 DEBUG [main] JarScanner - Loaded class: org.diylc.components.passive.TrimmerPotentiometer 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.AbstractDiodeSymbol 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.AbstractTransistorPackage 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.BJTSymbol 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.BridgeRectifier 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.DIL_IC 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.DiodeGlass 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.DiodePlastic 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.DiodeSymbol 18:03:54,381 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.ICSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.JFETSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.LED 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.LEDSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.LogicGateSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.MOSFETSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.PhotoDiodeSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.SIL_IC 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.SchottkyDiodeSymbol 18:03:54,382 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.TransistorTO1 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.TransistorTO126 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.TransistorTO220 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.TransistorTO3 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.TransistorTO92 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.semiconductors.ZenerDiodeSymbol 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.shapes.AbstractShape 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.shapes.Ellipse 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.shapes.Polygon 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.shapes.Rectangle 18:03:54,383 DEBUG [main] JarScanner - Loaded class: org.diylc.components.shapes.TapeMeasure 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.smd.PassiveSMDComponent 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.smd.SMDCapacitor 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.smd.SMDResistor 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.AbstractTubeSymbol 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.DiodeSymbol 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.DuoDiodeSymbol 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.PentodeSymbol 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.SubminiTube 18:03:54,384 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.TriodeSymbol 18:03:54,385 DEBUG [main] JarScanner - Loaded class: org.diylc.components.tube.TubeSocket 18:03:54,468 DEBUG [Thread-3] DIYLCStarter - Finished font pre-loading 18:03:54,595 DEBUG [main] ComponentProcessor - No matching setter found for org.diylc.components.connectivity.HookupWire.getLength. Skipping... 18:03:54,640 DEBUG [main] ComponentProcessor - No matching setter found for org.diylc.components.connectivity.CurvedTrace.getLength. Skipping... 18:03:54,662 DEBUG [main] ComponentProcessor - No matching setter found for org.diylc.components.connectivity.TwistedWire.getLength. Skipping... 18:03:54,663 DEBUG [main] Presenter - Guitar: [Jazz Bass Pickup, P- Bass Pickup, P-90 Single Coil Pickup, Lever Switch, Humbucker Pickup, Single Coil Pickup, LP Toggle Switch] 18:03:54,663 DEBUG [main] Presenter - Boards: [Tag Strip, Eyelet Board, Blank Board, Vero Board, Perf Board w/ Pads, P-0+o (Proto) Board, Breadboard, TriPad Board, Marshall Style Perf Board, Terminal Strip] 18:03:54,663 DEBUG [main] Presenter - Semiconductors: [Diode (plastic), DIP IC, Transistor (TO-126), Diode (glass), Transistor (TO-1), Transistor (TO-220), Transistor (TO-3), LED, Transistor (TO-92), SIP IC, Bridge Rectifier] 18:03:54,664 DEBUG [main] Presenter - Passive: [Toroidal Inductor, Audio Transformer, Film Capacitor (Axial), Electrolytic Capacitor (Axial), Potentiometer, Ceramic Capacitor (Radial), Multi-Section Capacitor, Trimmer Potentiometer, Inductor (Radial), Resistor, Crystal Oscillator, Electrolytic Capacitor (Radial), Film Capacitor (Radial), Tantalum Capacitor] 18:03:54,664 DEBUG [main] Presenter - Misc: [Image, Tape Measure, PCB Text, Auto-Wrap Label, Label, Bill of Materials] 18:03:54,664 DEBUG [main] Presenter - Connectivity: [Trace Cut, Eyelet, Jumper, Solder Pad, Turret Lug, Copper Trace, Hookup Wire, Cut Line, Dot, Ground Fill, Curved Trace, Twisted Leads] 18:03:54,664 DEBUG [main] Presenter - Tubes: [Tube Socket, Sub-Mini Tube] 18:03:54,664 DEBUG [main] Presenter - Shapes: [Line, Ellipse, Rectangle, Polygon] 18:03:54,664 DEBUG [main] Presenter - Schematic Symbols: [Fuse, Transformer Coil, Photo Diode, IC, Resistor, Logic Gate, Diode, LED, Diode Tube, Ground, Zener Diode, BJT, Phono Jack, Pentode, Transformer Core, Potentiometer, Triode, MOSFET, Duo-Diode, Capacitor, Battery, JFET, Inductor, Schottky Diode] 18:03:54,664 DEBUG [main] Presenter - SMD: [SMD Resistor, SMD Capacitor] 18:03:54,664 DEBUG [main] Presenter - Electro-Mechanical: [Closed 1/4" Jack, RCA Jack, Cliff 1/4" Jack, Rectangular Cutout, IEC Socket, Mini Toggle Switch, Pin Header, Plastic DC Jack, Elliptical Cutout, 9V Battery Snap, Open 1/4" Jack, DIP Switch, Fuse Holder (Panel), Pilot Lamp Holder, Mini Relay, Rotary Selector Switch, Polygonal Cutout, Chassis Panel] 18:03:54,666 INFO [main] ConfigurationManager - Saving configuration 18:03:54,718 INFO [main] Presenter - installPlugin(ToolBox) 18:03:54,889 INFO [main] MainFrame - injectGUIComponent(org.diylc.swing.plugins.toolbox.ComponentTabbedPane, 1, false) 18:03:54,914 INFO [main] Presenter - installPlugin(FileMenuPlugin) 18:03:54,923 INFO [main] MainFrame - injectMenuAction(New, File) 18:03:54,939 INFO [main] MainFrame - injectMenuAction(Open, File) 18:03:54,979 INFO [main] Presenter - Imported default variants for 16 components 18:03:54,986 INFO [main] Presenter - Imported 2 default building blocks 18:03:54,997 INFO [main] MainFrame - injectMenuAction(Import, File) 18:03:55,004 INFO [main] MainFrame - injectMenuAction(Save, File) 18:03:55,005 INFO [main] MainFrame - injectMenuAction(Save As, File) 18:03:55,015 INFO [main] MainFrame - injectDynamicSubmenu(Recent Files, icon, File) 18:03:55,016 INFO [main] MainFrame - injectMenuAction(Separator, File) 18:03:55,025 INFO [main] MainFrame - injectMenuAction(Export to PDF, File) 18:03:55,027 INFO [main] MainFrame - injectMenuAction(Export to PNG, File) 18:03:55,028 INFO [main] MainFrame - injectMenuAction(Print..., File) 18:03:55,029 INFO [main] MainFrame - injectSubmenu(Trace Mask, icon, File) 18:03:55,029 INFO [main] MainFrame - injectMenuAction(Export to PDF, Trace Mask) 18:03:55,030 INFO [main] MainFrame - injectMenuAction(Export to PNG, Trace Mask) 18:03:55,030 INFO [main] MainFrame - injectMenuAction(Print..., Trace Mask) 18:03:55,031 INFO [main] MainFrame - injectSubmenu(Analyze, icon, File) 18:03:55,032 INFO [main] MainFrame - injectMenuAction(Create B.O.M., Analyze) 18:03:55,033 INFO [main] MainFrame - injectMenuAction(Generate DIYLC Netlist, Analyze) 18:03:55,033 DEBUG [main] Utils - Scanning jar: /C:/Program Files (x86)/DIYLC/lib/diylc-core.jar 18:03:55,056 DEBUG [main] Utils - Scanning jar: /C:/Program Files (x86)/DIYLC/library/main.jar 18:03:55,095 INFO [main] MainFrame - injectMenuAction(Analyze Guitar Diagrams, Analyze) 18:03:55,096 INFO [main] MainFrame - injectMenuAction(Generate Spice Netlist, Analyze) 18:03:55,096 INFO [main] MainFrame - injectMenuAction(Separator, File) 18:03:55,097 INFO [main] MainFrame - injectSubmenu(Integration, icon, File) 18:03:55,098 INFO [main] MainFrame - injectMenuAction(Import Building Blocks, Integration) 18:03:55,098 INFO [main] MainFrame - injectMenuAction(Export Building Blocks, Integration) 18:03:55,099 INFO [main] MainFrame - injectMenuAction(Separator, Integration) 18:03:55,099 INFO [main] MainFrame - injectMenuAction(Import Variants, Integration) 18:03:55,100 INFO [main] MainFrame - injectMenuAction(Export Variants, Integration) 18:03:55,101 INFO [main] MainFrame - injectMenuAction(Loadline Editor, File) 18:03:55,102 INFO [main] MainFrame - injectMenuAction(Separator, File) 18:03:55,102 INFO [main] MainFrame - injectMenuAction(Exit, File) 18:03:55,108 INFO [main] Presenter - installPlugin(EditMenuPlugin) 18:03:55,108 INFO [main] MainFrame - injectMenuAction(Undo, Edit) 18:03:55,109 INFO [main] MainFrame - injectMenuAction(Redo, Edit) 18:03:55,109 INFO [main] MainFrame - injectMenuAction(Separator, Edit) 18:03:55,110 INFO [main] MainFrame - injectMenuAction(Cut, Edit) 18:03:55,111 INFO [main] MainFrame - injectMenuAction(Copy, Edit) 18:03:55,112 INFO [main] MainFrame - injectMenuAction(Paste, Edit) 18:03:55,113 INFO [main] MainFrame - injectMenuAction(Duplicate, Edit) 18:03:55,114 INFO [main] MainFrame - injectMenuAction(Separator, Edit) 18:03:55,115 INFO [main] MainFrame - injectMenuAction(Find, Edit) 18:03:55,116 INFO [main] MainFrame - injectMenuAction(Select All, Edit) 18:03:55,117 INFO [main] MainFrame - injectMenuAction(Edit Selection, Edit) 18:03:55,118 INFO [main] MainFrame - injectMenuAction(Delete Selection, Edit) 18:03:55,119 INFO [main] MainFrame - injectSubmenu(Transform Selection, icon, Edit) 18:03:55,120 INFO [main] MainFrame - injectMenuAction(Rotate Clockwise, Transform Selection) 18:03:55,120 INFO [main] MainFrame - injectMenuAction(Rotate Counterclockwise, Transform Selection) 18:03:55,121 INFO [main] MainFrame - injectMenuAction(Separator, Transform Selection) 18:03:55,122 INFO [main] MainFrame - injectMenuAction(Mirror Horizontally, Transform Selection) 18:03:55,122 INFO [main] MainFrame - injectMenuAction(Mirror Vertically, Transform Selection) 18:03:55,123 INFO [main] MainFrame - injectMenuAction(Separator, Transform Selection) 18:03:55,124 INFO [main] MainFrame - injectMenuAction(Nudge, Transform Selection) 18:03:55,124 INFO [main] MainFrame - injectMenuAction(Separator, Transform Selection) 18:03:55,125 INFO [main] MainFrame - injectMenuAction(Send Backward, Transform Selection) 18:03:55,126 INFO [main] MainFrame - injectMenuAction(Bring Forward, Transform Selection) 18:03:55,126 INFO [main] MainFrame - injectMenuAction(Separator, Transform Selection) 18:03:55,127 INFO [main] MainFrame - injectMenuAction(Group Selection, Transform Selection) 18:03:55,128 INFO [main] MainFrame - injectMenuAction(Ungroup Selection, Transform Selection) 18:03:55,128 INFO [main] MainFrame - injectMenuAction(Separator, Edit) 18:03:55,129 INFO [main] MainFrame - injectSubmenu(Renumber Selection, icon, Edit) 18:03:55,129 INFO [main] MainFrame - injectMenuAction(Top-to-Bottom, Renumber Selection) 18:03:55,130 INFO [main] MainFrame - injectMenuAction(Left-to-Right, Renumber Selection) 18:03:55,131 INFO [main] MainFrame - injectSubmenu(Expand Selection, icon, Edit) 18:03:55,132 INFO [main] MainFrame - injectMenuAction(All Connected, Expand Selection) 18:03:55,132 INFO [main] MainFrame - injectMenuAction(Immediate Only, Expand Selection) 18:03:55,132 INFO [main] MainFrame - injectMenuAction(Same Type Only, Expand Selection) 18:03:55,132 INFO [main] MainFrame - injectMenuAction(Separator, Edit) 18:03:55,133 INFO [main] MainFrame - injectMenuAction(Add Flexible Leads, Edit) 18:03:55,134 INFO [main] MainFrame - injectMenuAction(Separator, Edit) 18:03:55,135 INFO [main] MainFrame - injectMenuAction(Edit Project Settings, Edit) 18:03:55,161 INFO [main] Presenter - installPlugin(ConfigPlugin) 18:03:55,161 INFO [main] ActionFactory - Initializing antiAliasing to true 18:03:55,162 INFO [main] MainFrame - injectMenuAction(Anti-Aliasing, Config) 18:03:55,164 INFO [main] ActionFactory - Initializing autoCreatePads to false 18:03:55,164 INFO [main] MainFrame - injectMenuAction(Auto-Create Pads, Config) 18:03:55,164 INFO [main] ActionFactory - Initializing autoEdit to true 18:03:55,164 INFO [main] MainFrame - injectMenuAction(Auto-Edit Mode, Config) 18:03:55,164 INFO [main] ActionFactory - Initializing continuousCreation to false 18:03:55,165 INFO [main] MainFrame - injectMenuAction(Continuous Creation, Config) 18:03:55,165 INFO [main] ActionFactory - Initializing cachingEnabled to true 18:03:55,165 INFO [main] MainFrame - injectMenuAction(Enable Cache Boost, Config) 18:03:55,165 INFO [main] ActionFactory - Initializing exportGrid to false 18:03:55,165 INFO [main] MainFrame - injectMenuAction(Export Grid, Config) 18:03:55,166 INFO [main] ActionFactory - Initializing extraSpace to true 18:03:55,166 INFO [main] MainFrame - injectMenuAction(Extra Working Area, Config) 18:03:55,166 INFO [main] ActionFactory - Initializing hardwareAcceleration to false 18:03:55,166 INFO [main] MainFrame - injectMenuAction(Hardware Acceleration, Config) 18:03:55,166 INFO [main] ActionFactory - Initializing hiQualityRender to true 18:03:55,167 INFO [main] MainFrame - injectMenuAction(Hi-Quality Rendering, Config) 18:03:55,167 INFO [main] ActionFactory - Initializing highlightContinuityArea to false 18:03:55,167 INFO [main] MainFrame - injectMenuAction(Highlight Connected Areas, Config) 18:03:55,167 DEBUG [main] ResourceLoader - Looking for files in: lang 18:03:55,173 INFO [main] MainFrame - injectSubmenu(Language, icon, Config) 18:03:55,174 INFO [main] MainFrame - injectMenuAction(Deutsch, Language) 18:03:55,176 INFO [main] MainFrame - injectMenuAction(English, Language) 18:03:55,177 INFO [main] MainFrame - injectMenuAction(Español, Language) 18:03:55,178 INFO [main] MainFrame - injectMenuAction(Français, Language) 18:03:55,178 INFO [main] MainFrame - injectMenuAction(Italiano, Language) 18:03:55,179 INFO [main] MainFrame - injectMenuAction(Nederlands, Language) 18:03:55,180 INFO [main] MainFrame - injectMenuAction(Srpski, Language) 18:03:55,180 INFO [main] ActionFactory - Initializing wheelZoom to true 18:03:55,180 INFO [main] MainFrame - injectMenuAction(Mouse Wheel Zoom, Config) 18:03:55,180 INFO [main] ActionFactory - Initializing outline to false 18:03:55,181 INFO [main] MainFrame - injectMenuAction(Outline Mode, Config) 18:03:55,181 INFO [main] ActionFactory - Initializing renumberOnPaste to true 18:03:55,181 INFO [main] MainFrame - injectMenuAction(Renumber On Paste, Config) 18:03:55,182 INFO [main] MainFrame - injectSubmenu(Ruler Inch Subdivision..., icon, Config) 18:03:55,182 INFO [main] MainFrame - injectMenuAction(base of 10, Ruler Inch Subdivision...) 18:03:55,182 INFO [main] MainFrame - injectMenuAction(base of 2, Ruler Inch Subdivision...) 18:03:55,183 INFO [main] ActionFactory - Initializing showRulers to true 18:03:55,183 INFO [main] MainFrame - injectMenuAction(Show Rulers, Config) 18:03:55,183 INFO [main] MainFrame - injectSubmenu(Snap To..., icon, Config) 18:03:55,184 INFO [main] MainFrame - injectMenuAction(None, Snap To...) 18:03:55,184 INFO [main] MainFrame - injectMenuAction(Grid, Snap To...) 18:03:55,184 INFO [main] MainFrame - injectMenuAction(Components, Snap To...) 18:03:55,185 INFO [main] ActionFactory - Initializing showGrid to true 18:03:55,185 INFO [main] MainFrame - injectMenuAction(Show Grid, Config) 18:03:55,185 INFO [main] ActionFactory - Initializing stickyPoints to true 18:03:55,185 INFO [main] MainFrame - injectMenuAction(Sticky Points, Config) 18:03:55,186 DEBUG [main] ResourceLoader - Looking for files in: themes 18:03:55,187 INFO [main] MainFrame - injectSubmenu(Theme, icon, Config) 18:03:55,189 DEBUG [main] ConfigPlugin - Found theme: Blueprint 18:03:55,189 INFO [main] MainFrame - injectMenuAction(Blueprint, Theme) 18:03:55,191 DEBUG [main] ConfigPlugin - Found theme: Dark 18:03:55,191 INFO [main] MainFrame - injectMenuAction(Dark, Theme) 18:03:55,192 DEBUG [main] ConfigPlugin - Found theme: Light 18:03:55,192 INFO [main] MainFrame - injectMenuAction(Light, Theme) 18:03:55,193 INFO [main] MainFrame - injectSubmenu(Toolbox, icon, Config) 18:03:55,193 INFO [main] MainFrame - injectMenuAction(Searchable Tree, Toolbox) 18:03:55,194 INFO [main] MainFrame - injectMenuAction(Tabbed Toolbar, Toolbox) 18:03:55,196 INFO [main] MainFrame - injectSubmenu(Chassis, icon, Layers) 18:03:55,196 INFO [main] MainFrame - injectMenuAction(Visible, Chassis) 18:03:55,197 INFO [main] MainFrame - injectMenuAction(Lock, Chassis) 18:03:55,197 INFO [main] MainFrame - injectMenuAction(Select All, Chassis) 18:03:55,197 INFO [main] MainFrame - injectSubmenu(Board, icon, Layers) 18:03:55,198 INFO [main] MainFrame - injectMenuAction(Visible, Board) 18:03:55,198 INFO [main] MainFrame - injectMenuAction(Lock, Board) 18:03:55,198 INFO [main] MainFrame - injectMenuAction(Select All, Board) 18:03:55,199 INFO [main] MainFrame - injectSubmenu(Trace, icon, Layers) 18:03:55,199 INFO [main] MainFrame - injectMenuAction(Visible, Trace) 18:03:55,199 INFO [main] MainFrame - injectMenuAction(Lock, Trace) 18:03:55,199 INFO [main] MainFrame - injectMenuAction(Select All, Trace) 18:03:55,200 INFO [main] MainFrame - injectSubmenu(Component, icon, Layers) 18:03:55,200 INFO [main] MainFrame - injectMenuAction(Visible, Component) 18:03:55,200 INFO [main] MainFrame - injectMenuAction(Lock, Component) 18:03:55,200 INFO [main] MainFrame - injectMenuAction(Select All, Component) 18:03:55,201 INFO [main] MainFrame - injectSubmenu(Text, icon, Layers) 18:03:55,201 INFO [main] MainFrame - injectMenuAction(Visible, Text) 18:03:55,201 INFO [main] MainFrame - injectMenuAction(Lock, Text) 18:03:55,202 INFO [main] MainFrame - injectMenuAction(Select All, Text) 18:03:55,202 INFO [main] Presenter - installPlugin(LayersMenuPlugin) 18:03:55,205 INFO [main] MainFrame - injectMenuAction(Search The Cloud, Project Cloud) 18:03:55,206 INFO [main] MainFrame - injectMenuAction(Separator, Project Cloud) 18:03:55,207 INFO [main] MainFrame - injectMenuAction(Log In, Project Cloud) 18:03:55,219 INFO [main] MainFrame - injectMenuAction(Create New Account, Project Cloud) 18:03:55,219 INFO [main] MainFrame - injectMenuAction(Separator, Project Cloud) 18:03:55,220 INFO [main] MainFrame - injectMenuAction(Upload A Project, Project Cloud) 18:03:55,221 INFO [main] MainFrame - injectMenuAction(Manage My Uploads, Project Cloud) 18:03:55,222 INFO [main] MainFrame - injectMenuAction(Separator, Project Cloud) 18:03:55,223 INFO [main] MainFrame - injectMenuAction(Manage Account, Project Cloud) 18:03:55,224 INFO [main] MainFrame - injectMenuAction(Change Password, Project Cloud) 18:03:55,224 INFO [main] MainFrame - injectMenuAction(Log Out, Project Cloud) 18:03:55,225 INFO [main] Presenter - installPlugin(CloudPlugIn) 18:03:55,241 INFO [main] MainFrame - injectMenuAction(User Manual, Help) 18:03:55,242 INFO [SwingWorker-pool-1-thread-1] CloudPresenter - Trying to login to cloud using a token as bancika 18:03:55,242 INFO [main] MainFrame - injectMenuAction(FAQ, Help) 18:03:55,243 INFO [main] MainFrame - injectMenuAction(Component API, Help) 18:03:55,244 INFO [SwingWorker-pool-1-thread-1] ProxyFactory - Creating temp class code 18:03:55,244 INFO [main] MainFrame - injectMenuAction(Plugin API, Help) 18:03:55,244 INFO [main] MainFrame - injectMenuAction(Submit a Bug, Help) 18:03:55,245 INFO [main] MainFrame - injectMenuAction(Access User Files, Help) 18:03:55,246 INFO [main] MainFrame - injectMenuAction(Separator, Help) 18:03:55,247 INFO [main] MainFrame - injectMenuAction(Recent Updates, Help) 18:03:55,247 INFO [main] MainFrame - injectMenuAction(Separator, Help) 18:03:55,248 INFO [main] MainFrame - injectMenuAction(Make a Donation, Help) 18:03:55,249 INFO [main] MainFrame - injectMenuAction(About, Help) 18:03:55,249 INFO [main] Presenter - installPlugin(HelpMenuPlugin) 18:03:55,250 INFO [main] Presenter - installPlugin(ActionBarPlugin) 18:03:55,411 INFO [main] ProxyFactory - Creating temp class code 18:03:55,594 INFO [main] ProxyFactory - Successfully instantiated proxy 18:03:55,595 INFO [main] MainFrame - injectGUIComponent(org.diylc.swing.plugins.statusbar.StatusBar, 3, false) 18:03:55,602 INFO [SwingWorker-pool-1-thread-1] ProxyFactory - Successfully instantiated proxy 18:03:55,620 INFO [main] Presenter - installPlugin(StatusBar) 18:03:55,633 INFO [SwingWorker-pool-1-thread-3] UpdateChecker - Trying to download file: http://diy-fever.com/diylc/api/v1/update.xml 18:03:55,635 INFO [main] Presenter - installPlugin(CanvasPlugin) 18:03:55,669 INFO [main] MainFrame - injectGUIComponent(org.diylc.swingframework.ruler.RulerScrollPane, 0, false) 18:03:55,731 INFO [main] Presenter - installPlugin(ComponentTree) 18:03:55,768 DEBUG [SwingWorker-pool-1-thread-1] PhpFlatProxy - Connecting to: http://www.diy-fever.com/diylc/api/v1/loginWithToken.php 18:03:55,806 INFO [main] MainFrame - injectGUIComponent(org.diylc.swing.plugins.tree.TreePanel, 2, true) 18:03:55,812 INFO [main] Presenter - installPlugin(FramePlugin) 18:03:55,813 INFO [main] Presenter - installPlugin(AutoSavePlugin) 18:03:55,813 INFO [main] Presenter - createNewFile() 18:03:55,814 INFO [main] Presenter - loadProject(New Project, true) 18:03:55,816 INFO [main] UndoHandler - Resetting undo/redo 18:03:55,819 INFO [main] DIYLCStarter - Main frame created. 18:03:55,819 INFO [main] DIYLCStarter - Hiding splash screen... 18:03:55,828 INFO [main] DIYLCStarter - Done hiding splash screen. 18:03:55,842 INFO [main] DIYLCStarter - Injecting default properties. 18:03:56,198 INFO [SwingWorker-pool-1-thread-1] CloudPresenter - Login failed 18:03:56,620 DEBUG [SwingWorker-pool-1-thread-2] PhpFlatProxy - Connecting to: http://www.diy-fever.com/diylc/api/v1/getAnnouncements.php 18:03:56,775 INFO [SwingWorker-pool-1-thread-3] UpdateChecker - 0 updates found 18:03:56,929 INFO [SwingWorker-pool-1-thread-2] UpdateChecker - Trying to download file: http://diy-fever.com/diylc/api/v1/update.xml 18:03:57,778 INFO [SwingWorker-pool-1-thread-2] UpdateChecker - 0 updates found 18:03:59,497 INFO [AWT-EventQueue-0] ActionFactory - OpenAction triggered 18:04:03,360 INFO [AWT-EventQueue-0] ConfigurationManager - Saving configuration 18:04:03,390 DEBUG [SwingWorker-pool-1-thread-4] ActionFactory - Opening from C:\Users\Wombat\Documents\Wombat Amps\Terry Amp\CEDist_JTM45.diy 18:04:03,390 INFO [SwingWorker-pool-1-thread-4] Presenter - loadProjectFromFile(C:\Users\Wombat\Documents\Wombat Amps\Terry Amp\CEDist_JTM45.diy) 18:04:03,390 INFO [SwingWorker-pool-1-thread-4] ProjectFileManager - loadProjectFromFile(C:\Users\Wombat\Documents\Wombat Amps\Terry Amp\CEDist_JTM45.diy) 18:04:03,473 WARN [SwingWorker-pool-1-thread-4] ProjectFileManager - Could not open with the new xStream, trying the old one com.thoughtworks.xstream.converters.ConversionException: array element type mismatch : array element type mismatch ---- Debugging information ---- message : array element type mismatch cause-exception : java.lang.IllegalArgumentException cause-message : array element type mismatch class : [Ljava.awt.Point; required-type : [Ljava.awt.Point; converter-type : com.thoughtworks.xstream.converters.collections.ArrayConverter path : /project/components/diylc.passive.TrimmerPotentiometer/controlPoints class[1] : org.diylc.components.passive.TrimmerPotentiometer converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter class[2] : java.util.ArrayList converter-type[2] : com.thoughtworks.xstream.converters.collections.CollectionConverter class[3] : org.diylc.core.Project version : null

at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:355)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:306)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:79)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:72)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:66)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:355)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:306)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
at org.diylc.serialization.ProjectFileManager.parseV3File(Unknown Source)
at org.diylc.serialization.ProjectFileManager.deserializeProjectFromFile(Unknown Source)
at org.diylc.presenter.Presenter.loadProjectFromFile(Unknown Source)
at org.diylc.swing.ActionFactory$OpenAction$1.doInBackground(Unknown Source)
at org.diylc.swing.ActionFactory$OpenAction$1.doInBackground(Unknown Source)
at org.diylc.swing.gui.MainFrame$6.doInBackground(Unknown Source)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.IllegalArgumentException: array element type mismatch at java.lang.reflect.Array.set(Native Method) at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmarshal(ArrayConverter.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 41 more 18:04:03,480 ERROR [SwingWorker-pool-1-thread-4] Presenter - Could not load file com.thoughtworks.xstream.mapper.CannotResolveClassException: project at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:56) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:45) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:922) at org.diylc.serialization.ProjectFileManager.parseV3File(Unknown Source) at org.diylc.serialization.ProjectFileManager.deserializeProjectFromFile(Unknown Source) at org.diylc.presenter.Presenter.loadProjectFromFile(Unknown Source) at org.diylc.swing.ActionFactory$OpenAction$1.doInBackground(Unknown Source) at org.diylc.swing.ActionFactory$OpenAction$1.doInBackground(Unknown Source) at org.diylc.swing.gui.MainFrame$6.doInBackground(Unknown Source) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 18:06:00,843 INFO [AWT-EventQueue-0] MainFrame - Closing the app

pmfawcett commented 4 years ago

Deleting the potentiometer from the XML file allows the file to successfully open

bancika commented 4 years ago

If it fails only with files created with the candidate version, it should be fine. If pre 4.9.0 files fail to open, then it's a real issue.

pmfawcett commented 4 years ago

I don't really have a way to tell, as I can't recall the exact steps that were used to create the potentiometer. But here is the block of XML that caused the problem.. Cutting this out allows it to open in 4.9. (I removed the opening delimiter so the XML would display correctly here)

diylc.passive.TrimmerPotentiometer> name>VR1 alpha>127 controlPoints class="java.awt.Point-array"> java.awt.Point x="8.42" y="2.61"/> java.awt.Point x="8.62" y="2.11"/> java.awt.Point x="8.82" y="2.61"/> /controlPoints> orientation>_270/orientation> taper>LIN/taper> bodyColor hex="ffffe0"/> borderColor hex="8e8e38"/> display>NAME type>FLAT_XLARGE /diylc.passive.TrimmerPotentiometer>

pmfawcett commented 4 years ago

I notice that if I create a new potentiometer, it is no longer using java.awt.Point-array, just point, so hopefully that explains it. Will this be an issue for backwards compatibility opening old files in versions 4.9 and on?

Example of new potentiometer:

diylc.passive.TrimmerPotentiometer> name>VR1/name> alpha>127/alpha> controlPoints> point x="3.675700570057006" y="2.145532553255326"/> point x="3.875700570057006" y="1.6455325532553262"/> point x="4.075700570057006" y="2.145532553255326"/> /controlPoints> orientation>_270/orientation> taper>LIN/taper> bodyColor hex="ffffe0"/> borderColor hex="8e8e38"/> display>NAME/display> type>FLAT_XLARGE/type> /diylc.passive.TrimmerPotentiometer>

bancika commented 4 years ago

Ok, I confirmed that it's an issue that affects only files created with the candidate, so I don't think we need to fix anything.

As a test, I made a file with 4.8.0 version that contains trimmers and it opens fine in 4.9.0.

Candidate version had issues and those were fixed before releasing the 4.9.0.

Cheers

On Mon, Oct 5, 2020 at 5:30 PM pmfawcett notifications@github.com wrote:

I notice that if I create a new potentiometer, it is no longer using java.awt.Point-array, just point, so hopefully that explains it. e.g.:

diylc.passive.TrimmerPotentiometer> name>VR1/name> alpha>127/alpha> controlPoints> point x="3.675700570057006" y="2.145532553255326"/> point x="3.875700570057006" y="1.6455325532553262"/> point x="4.075700570057006" y="2.145532553255326"/> /controlPoints> orientation>_270/orientation> taper>LIN/taper> bodyColor hex="ffffe0"/> borderColor hex="8e8e38"/> display>NAME/display> type>FLAT_XLARGE/type> /diylc.passive.TrimmerPotentiometer>

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/585#issuecomment-703708041, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCIHTOHOS7R3OSI5WS3SJHRADANCNFSM4R2OMQBA .

-- Branislav Stojkovic www.diy-fever.com