question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VoxelShop crashes on startup

See original GitHub issue

I’ve been having an issue where VS crashes on startup. I get this error: `

2018-05-23 17-40-23

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘WindowManager’: Invocation of init method failed; nested exception is java.lang.IndexOutOfBoundsException: Invalid index at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) at com.vitco.app.App.main(App.java:89) Caused by: java.lang.IndexOutOfBoundsException: Invalid index at javax.swing.DefaultRowSorter.convertRowIndexToModel(Unknown Source) at sun.swing.FilePane$SortableListModel.getElementAt(Unknown Source) at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source) at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source) at javax.swing.plaf.basic.BasicListUI.getCellBounds(Unknown Source) at javax.swing.JList.getCellBounds(Unknown Source) at javax.swing.JList.ensureIndexIsVisible(Unknown Source) at sun.swing.FilePane.ensureIndexIsVisible(Unknown Source) at sun.swing.FilePane.doDirectoryChanged(Unknown Source) at sun.swing.FilePane.propertyChange(Unknown Source) at java.beans.PropertyChangeSupport.fire(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.awt.Component.firePropertyChange(Unknown Source) at javax.swing.JFileChooser.setCurrentDirectory(Unknown Source) at com.vitco.app.util.components.dialog.components.FolderSelectModule.setSelectedFolder(FolderSelectModule.java:31) at com.vitco.app.util.components.dialog.components.FolderSelectModule.loadValue(FolderSelectModule.java:95) at com.vitco.app.util.components.dialog.BlankDialogModule.loadValue(BlankDialogModule.java:273) at com.vitco.app.util.components.dialog.BlankDialogModule.loadValue(BlankDialogModule.java:273) at com.vitco.app.util.components.dialog.BlankDialogModule.loadValue(BlankDialogModule.java:273) at com.vitco.app.util.components.dialog.UserInputDialog.loadSerialization(UserInputDialog.java:255) at com.vitco.app.layout.content.menu.MainMenuLogic.registerLogic(MainMenuLogic.java:659) at com.vitco.app.layout.bars.MainMenuLinkage.buildBar(MainMenuLinkage.java:176) at com.vitco.app.layout.WindowManager.prepareBar(WindowManager.java:177) at com.vitco.app.layout.WindowManager$13.create(WindowManager.java:511) at com.jidesoft.action.DefaultDockableBarManager.a(Unknown Source) at com.jidesoft.action.DefaultDockableBarManager.loadInitialLayout(Unknown Source) at com.vitco.app.layout.WindowManager.init(WindowManager.java:523) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132) … 14 more `

Reinstalling fixes the error, but it comes back after a couple times using VS.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
simlucommented, Jun 4, 2018

@epicdude312 So the config file should be in C:\Users\Username\.voxelshop\ - after you deleted it the program should work again. I’m still trying to find a good way to resolve this once and for all…

0reactions
simlucommented, Jun 4, 2018

@epicdude312 And I can’t reproduce this. If you could send me a copy of your config before you delete it, that would be great. You can find my contact info and email on blackflux.com

Read more comments on GitHub >

github_iconTop Results From Across the Web

VoxelShop Review - Slant.Co
Sometimes it crashes at startup, some large models instantly crash the program, having the mirror function on causes every action to get mirrored...
Read more >
MagicaVoxel crash on start - Reddit
MagicaVoxel crash on start. Does anyone know, how to fix it? I run the MV .exe file, then nothing happens. That's all.
Read more >
Page 40 - Stonehearth Discourse
6, 441, October 26, 2018. Stonehearth wont launch · Crash Reports ... 5, 268, October 26, 2018. ~20 seconds into the game crash...
Read more >
Barony Official Models Workshop Tutorial - Steam Community
VoxelShop Editing. Loading the Model In-Game ... (VoxelShop is crashing on launch after the splash screen.) But I'm just changing the color ...
Read more >
BlackFlux.com (@whiteflux) / Twitter
ボクセルモデリングツール、MagicaVoxel と Qubicle は知っていたけど、VoxelShop という Java 製の OSS もあることを知った。エクスポートがすごい賢いらしいので、 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found