Hello guys,
i don’t know whats wrong but after current restart PolyScope seems to have a bad problem while loading its content…
The funny thing is that the error occours while starting a bundle i didn’t edit at all, so for me its relatively hard to understand then why this happens. Maybe someone of you could help.
Exception in thread "Thread-3" java.lang.InstantiationError: gui.program.Variable
at sun.reflect.GeneratedSerializationConstructorAccessor1.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:74)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:308)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:161)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
at com.ur.view.polyscope.persistence.XStreamPersistReader.convertContainedValue(XStreamPersistReader.java:326)
at com.ur.view.polyscope.persistence.XStreamPersistReader.convertContainedValue(XStreamPersistReader.java:316)
at com.ur.view.polyscope.persistence.XStreamPersistReader.readValueFromChildNode(XStreamPersistReader.java:344)
at com.ur.urcap.domain.variable.AbstractVariable.readValue(AbstractVariable.java:123)
at com.ur.urcap.domain.variable.VariableFactoryImpl.readKeyValue(VariableFactoryImpl.java:72)
at com.ur.view.polyscope.module.urcaps.DataModelXMLConversionStrategyImpl.readData(DataModelXMLConversionStrategyImpl.java:41)
at com.ur.view.polyscope.module.urcaps.URCapInstallationXMLConversionStrategy.readContributed(URCapInstallationXMLConversionStrategy.java:81)
at com.ur.view.polyscope.module.urcaps.URCapInstallationXMLConversionStrategy.unmarshal(URCapInstallationXMLConversionStrategy.java:65)
at com.ur.view.polyscope.module.urcaps.URCapInstallationModule.unmarshalInstallationDataMap(URCapInstallationModule.java:119)
at com.ur.view.polyscope.module.urcaps.URCapInstallationModule.unmarshal(URCapInstallationModule.java:106)
at com.ur.view.polyscope.module.InstallationsContributionsProviderImpl.unmarshal(InstallationsContributionsProviderImpl.java:87)
at com.ur.view.polyscope.persistence.installation.RobotInstallationConverterStrategy_v3_1.unmarshalInstallation(RobotInstallationConverterStrategy_v3_1.java:138)
at com.ur.view.polyscope.persistence.installation.RobotInstallationConverterStrategy_v3_1.unmarshal(RobotInstallationConverterStrategy_v3_1.java:114)
at com.ur.view.polyscope.persistence.installation.RobotInstallationConverterStrategy_v3_1.unmarshal(RobotInstallationConverterStrategy_v3_1.java:1)
at com.ur.view.polyscope.persistence.CompositeConversionStrategy.tryUnmarshal(CompositeConversionStrategy.java:80)
at com.ur.view.polyscope.persistence.CompositeConversionStrategy.unmarshal(CompositeConversionStrategy.java:47)
at com.ur.view.polyscope.persistence.ConverterWrapper.unmarshal(ConverterWrapper.java:34)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
at com.ur.view.polyscope.persistence.XStreamWrapper.fromXML(XStreamWrapper.java:52)
at com.ur.view.polyscope.persistence.installation.InstallationXMLPersistStrategy.unmarshal(InstallationXMLPersistStrategy.java:66)
at com.ur.view.polyscope.persistence.installation.InstallationXMLPersistStrategy.unmarshal(InstallationXMLPersistStrategy.java:1)
at gui.tools.URFileUtils.readPlainTextStream(URFileUtils.java:158)
at gui.tools.URFileUtils.readCompressedStream(URFileUtils.java:149)
at gui.tools.URFileUtils.readCompressedFile(URFileUtils.java:131)
at gui.tools.URFileUtils.readPossiblyCompressedFile(URFileUtils.java:122)
at gui.tools.URFileUtils$DefaultFacade.readPossiblyCompressedFile(URFileUtils.java:312)
at com.ur.view.polyscope.persistence.installation.RobotInstallationPersistence$SerializePersistenceStrategy.load_aroundBody0(RobotInstallationPersistence.java:145)
at com.ur.view.polyscope.persistence.installation.RobotInstallationPersistence$SerializePersistenceStrategy$AjcClosure1.run(RobotInstallationPersistence.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.ur.view.polyscope.interception.InterceptionUtils$1.proceed(InterceptionUtils.java:18)
at com.ur.injection.IgnoreCallInterceptor.process(IgnoreCallInterceptor.java:41)
at com.ur.injection.ChainingInterceptor.invoke(ChainingInterceptor.java:16)
at com.ur.view.polyscope.interception.InterceptionUtils.intercept(InterceptionUtils.java:15)
at com.ur.view.polyscope.interception.NameChangeAspect.aroundAnnotatedMethod(NameChangeAspect.java:18)
at com.ur.view.polyscope.persistence.installation.RobotInstallationPersistence$SerializePersistenceStrategy.load(RobotInstallationPersistence.java:140)
at com.ur.view.polyscope.persistence.installation.RobotInstallationPersistence.load(RobotInstallationPersistence.java:58)
at gui.installation.services.RobotInstallationLookupServiceImpl.load(RobotInstallationLookupServiceImpl.java:128)
at gui.installation.services.SingleRobotInstallationSite.loadDefaultInstallation(SingleRobotInstallationSite.java:63)
at gui.main.URGUI.loadServices(URGUI.java:499)
at gui.main.URGUI.run(URGUI.java:201)
at gui.main.Activator$StartPolyScopeThread.run(Activator.java:80)
Hopefully one of you got an idea where’s the problem. Best regards.