Dear forum,
I'm using mina 2.0.2 and once in a while I get this error in the
console:
Exception in thread pool-4-thread-1 java.lang.NullPointerException
at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(Ab
stractPollingIoProcessor.java:1151)
at
Le 3/29/12 2:15 PM, Guy Itzhaki a écrit :
Dear forum,
I'm using mina 2.0.2 and once in a while I get this error in the
console:
Have you tried with the latest MINA version (ie 2.0.4) ?
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
No.
I wonder if you experienced such an error before...
Emmanuel, I can debug it myself but the problem is that
AbstractPollingIoProcessor is shorter than 1151 lines while in the exception
trace we can see that line 1151 is the cause of the exception.
Can you assist on that?
Thanks,
Guy
Le 3/29/12 4:25 PM, Guy Itzhaki a écrit :
No.
I wonder if you experienced such an error before...
Emmanuel, I can debug it myself but the problem is that
AbstractPollingIoProcessor is shorter than 1151 lines while in the exception
trace we can see that line 1151 is the cause of the exception.
Le 3/29/12 5:10 PM, Guy Itzhaki a écrit :
Thanks for the fast reply.
This is the jar I'm using.
This is a correct jar. Its signature is the same than the one I get
when I pull 2.0.2 from the project's page...
That does not help you a lot, sadly :/
The pb is that we don't have the right
may want to verify jar by using
minaObject.getClass().getProtectionDomain().getCodeSource().getLocation() and
or put break point and traverse here.
and if that does not help may want to decompile the class
On 3/29/2012 8:37 AM, Emmanuel Lécharny wrote:
Le 3/29/12 5:10 PM, Guy Itzhaki a écrit
Hi together,
i´m trying to use the CumulativeProtocollHandler and it is working for the most
time ;)
But sometimes there coming more bytes then my message has. So i´m decoding my
message and write the message to the messageReceive method and want to return
true. But now there is already a
1) How do I set the root directory that a user sees when they log in using
SFTP?
2) How do I restrict them from going above that directory?
3) How do I make it so the files that are saved to the SFTP server are
owned by the user who is logged in and not root?