[JBoss JIRA] Created: (JBCACHE-1177) NullPointerException in PessimistickLockInterceptor
by Jacek Halat (JIRA)
NullPointerException in PessimistickLockInterceptor
---------------------------------------------------
Key: JBCACHE-1177
URL: http://jira.jboss.com/jira/browse/JBCACHE-1177
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: PojoCache
Affects Versions: 1.4.1.SP4
Environment: WindowsXP,
Reporter: Jacek Halat
Assigned To: Jason T. Greene
Sometimes when put operation is invoked in transaction that is timed out, NPE is throw from PessimistickLockInterceptor.
java.lang.NullPointerException
at org.jboss.cache.interceptors.PessimisticLockInterceptor.hasBeenRemovedInCurrentTx(PessimisticLockInterceptor.java:342)
at org.jboss.cache.interceptors.PessimisticLockInterceptor.needToReverseRemove(PessimisticLockInterceptor.java:336)
at org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:300)
at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:175)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365)
at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)
at org.jboss.cache.TreeCache.put(TreeCache.java:3833)
at org.jboss.cache.aop.PojoCache.lockPojo(PojoCache.java:635)
at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:445)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (JGRP-617) ConcurrentModificationException sending notifications in ReplicatedHashMap.
by Robert Newson (JIRA)
ConcurrentModificationException sending notifications in ReplicatedHashMap.
---------------------------------------------------------------------------
Key: JGRP-617
URL: http://jira.jboss.com/jira/browse/JGRP-617
Project: JGroups
Issue Type: Bug
Affects Versions: 2.6
Reporter: Robert Newson
Assigned To: Bela Ban
ReplicatedHashMap does this at line 587;
for(Notification notif: notifs)
notif.contentsSet(map);
which causes a ConcurrentModificationException if the 'notifs' list is being modified during the execution. This class should use an Iterator over the 'notifs' list instead. There are several places where this occurs but this is illustrative.
2007-11-06 15:47:07,948 ERROR [Multiplexer,udp,192.168.164.229:34526] log.GeronimoLog (GeronimoLog.java:108) - uncaught exception in Thread[Multiplexer,udp,192.168.164.229:34526,10,MultiplexerThreads] (thread group=org.jgroups.util.Util$1[name=JGroups,maxpri=10] )
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.jgroups.blocks.ReplicatedHashMap._putAll(ReplicatedHashMap.java:587)
at org.jgroups.blocks.ReplicatedHashMap.setState(ReplicatedHashMap.java:716)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:645)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:745)
at org.jgroups.JChannel.up(JChannel.java:1069)
at org.jgroups.mux.Multiplexer$Task.run(Multiplexer.java:1026)
at org.jgroups.mux.Multiplexer$ExecuteTask.run(Multiplexer.java:1050)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (JBMESSAGING-1140) QueueReceiver starts out of sync with the server, so receiveNoWait always returns null
by Carlo de Wolf (JIRA)
QueueReceiver starts out of sync with the server, so receiveNoWait always returns null
--------------------------------------------------------------------------------------
Key: JBMESSAGING-1140
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1140
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Client Manager
Affects Versions: 1.4.0.SP1
Reporter: Carlo de Wolf
Assigned To: Tim Fox
When there is a single message on the queue the browser will correctly report 1 message, but the receiver will not receive it right away.
QueueBrowser browser = session.createBrowser(queue);
Enumeration e = browser.getEnumeration();
List messages = CollectionsUtil.list(e);
QueueReceiver receiver = session.createReceiver(queue);
message = (TextMessage) receiver.receiveNoWait();
2007-11-06 13:58:06,437 TRACE [org.jboss.jms.client.JBossSession] attempting to create consumer for destination:JBossQueue[DLQ]
2007-11-06 13:58:06,438 TRACE [org.jboss.jms.client.delegate.DelegateSupport] SessionDelegate[1802245312, ID=c8a-r0sgfo8f-1-hnjqbo8f-ilci1t-110j3] invoking org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest@2e7857a5 synchronously on server using Client[838449156]
2007-11-06 13:58:06,480 TRACE [org.jboss.jms.client.delegate.DelegateSupport] SessionDelegate[1802245312, ID=c8a-r0sgfo8f-1-hnjqbo8f-ilci1t-110j3] got server response for org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest@2e7857a5: org.jboss.jms.wireformat.SessionCreateConsumerDelegateResponse@1d30b5e2
2007-11-06 13:58:06,484 TRACE [org.jboss.jms.client.delegate.DelegateSupport] ConsumerDelegate[1910585900, ID=j8a-itsgfo8f-1-hnjqbo8f-ilci1t-110j3] invoking org.jboss.jms.wireformat.ConsumerChangeRateRequest@79b2591c synchronously on server using Client[838449156]
2007-11-06 13:58:06,486 TRACE [org.jboss.jms.client.delegate.DelegateSupport] ConsumerDelegate[1910585900, ID=j8a-itsgfo8f-1-hnjqbo8f-ilci1t-110j3] got server response for org.jboss.jms.wireformat.ConsumerChangeRateRequest@79b2591c: org.jboss.jms.wireformat.NullResponse@468034b6
2007-11-06 13:58:06,488 TRACE [org.jboss.jms.client.container.ClientConsumer] ClientConsumer[j8a-itsgfo8f-1-hnjqbo8f-ilci1t-110j3] receiving, timeout = -1
2007-11-06 13:58:06,488 TRACE [org.jboss.jms.client.container.ClientConsumer] ClientConsumer[j8a-itsgfo8f-1-hnjqbo8f-ilci1t-110j3]: receive, noWait
2007-11-06 13:58:06,488 TRACE [org.jboss.jms.client.container.ClientConsumer] ClientConsumer[j8a-itsgfo8f-1-hnjqbo8f-ilci1t-110j3]: no message available
2007-11-06 13:58:06,545 TRACE [org.jboss.jms.client.container.ClientConsumer] org.jboss.jms.client.container.ClientConsumer$HandleMessageRunnable@66201d6d receiving message delegator->JBossMessage[58368]:PERSISTENT, deliveryId=1 from the remoting layer
2007-11-06 13:58:06,545 TRACE [org.jboss.jms.client.container.ClientConsumer] org.jboss.jms.client.container.ClientConsumer$HandleMessageRunnable@66201d6d added message(s) to the buffer are now 1 messages
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (JBAS-4938) source tarball contains non free code
by Torsten Werner (JIRA)
source tarball contains non free code
-------------------------------------
Key: JBAS-4938
URL: http://jira.jboss.com/jira/browse/JBAS-4938
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: JBossAS-4.2.2.GA
Reporter: Torsten Werner
Assigned To: Carlo de Wolf
The following files
ejb3/src/test/org/jboss/ejb3/test/timestampentity/entity/Table1TimestampEntity.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/entity/Table1IntegerEntity.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/entity/Table1Key.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/entity/Table1TimestampEntity.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/TestManagerBean.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/TestManagerCommon.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/TestManagerConstants.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/TestManager.java
ejb3/src/test/org/jboss/ejb3/test/timestampentity/TestManagerLocal.java
start with the following header:
Research In Motion Proprietary. Do not reproduce without permission in writing.
That doesn't look compatible with the LGPL. Please make a very visible statement in the source tarball if you have the permission to relicense the code as LGPL or remove the files otherwise.
Cheers,
Torsten
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (JBAS-4805) InitialContextFactory.getHAContext() should not use hardcoded localhost for lookup
by Galder Zamarreno (JIRA)
InitialContextFactory.getHAContext() should not use hardcoded localhost for lookup
----------------------------------------------------------------------------------
Key: JBAS-4805
URL: http://jira.jboss.com/jira/browse/JBAS-4805
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: JBossAS-4.2.1.GA, JBossAS-5.0.0.Beta2
Reporter: Galder Zamarreno
Assigned To: Carlo de Wolf
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA
org.jboss.ejb3.InitialContextFactory.getHAContext() contains:
env.put(Context.PROVIDER_URL, "localhost:" + getHaJndiPort());
InitialContext haCtx = new InitialContext(env);
The code should not have hardcoded localhost because as soon as someone binds JBoss
to something different, a localhost lookup will fail.
This could should instead check HAJNDI service's BindAddress attribute and use that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month