[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-803?pag...
]
Emmanuel Bernard resolved HSEARCH-803.
--------------------------------------
Resolution: Fixed
JGroups configuration error leading to parsing exception in
JGroupsSlaveTest
----------------------------------------------------------------------------
Key: HSEARCH-803
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-803
Project: Hibernate Search
Issue Type: Bug
Reporter: Emmanuel Bernard
Assignee: Sanne Grinovero
Fix For: 4.0.0.Alpha1
{code}org.hibernate.search.SearchException: org.jgroups.ChannelException: unable to setup
the protocol stack
at
org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.buildChannel(JGroupsBackendQueueProcessorFactory.java:132)
at
org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.prepareJGroupsChannel(JGroupsBackendQueueProcessorFactory.java:90)
at
org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.initialize(JGroupsBackendQueueProcessorFactory.java:80)
at
org.hibernate.search.backend.impl.BatchedQueueingProcessor.<init>(BatchedQueueingProcessor.java:108)
at
org.hibernate.search.backend.impl.TransactionalWorker.initialize(TransactionalWorker.java:93)
at org.hibernate.search.backend.impl.WorkerFactory.createWorker(WorkerFactory.java:69)
at
org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:278)
at
org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
at
org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:125)
at
org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:87)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:295)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1720)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1756)
at org.hibernate.search.test.SearchTestCase.buildConfiguration(SearchTestCase.java:247)
at org.hibernate.search.test.SearchTestCase.setUp(SearchTestCase.java:116)
at
org.hibernate.search.test.jgroups.slave.JGroupsSlaveTest.setUp(JGroupsSlaveTest.java:114)
at org.hibernate.search.test.SearchTestCase.runBare(SearchTestCase.java:424)
at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139)
at
com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.init(JChannel.java:1728)
at org.jgroups.JChannel.<init>(JChannel.java:249)
at org.jgroups.JChannel.<init>(JChannel.java:201)
at
org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.buildChannel(JGroupsBackendQueueProcessorFactory.java:128)
... 33 more
Caused by: java.lang.Exception: Property assignment of mcast_port in UDP with original
property value and converted to null could not be assigned
at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1152)
at org.jgroups.stack.Configurator.createLayer(Configurator.java:444)
at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)
at org.jgroups.JChannel.init(JChannel.java:1725)
... 36 more
Caused by: java.lang.Exception: Conversion of mcast_port in UDP with original property
value failed
at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:85)
at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1146)
... 42 more
Caused by: java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:992)
at java.lang.Double.parseDouble(Double.java:510)
at org.jgroups.util.Util.readBytesInteger(Util.java:1752)
at org.jgroups.conf.PropertyConverters$Default.convert(PropertyConverters.java:173)
at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:82)
... 43 more
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira