This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249730 - org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: NOOP command successful
Summary: org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown pars...
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2015-01-10 17:06 UTC by enzolarosa
Modified: 2015-05-04 05:24 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 190849


Attachments
stacktrace (1.05 KB, text/plain)
2015-01-10 17:06 UTC, enzolarosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description enzolarosa 2015-01-10 17:06:48 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Windows 8

User Comments:
KhArtNJava: <??????? ???????? ???????? ??? ???? ??? ???????????????> dsf

enzolarosa: non so come riottenere il problema :(

GUEST: erro ao atualizar ftp com c
Comment 1 enzolarosa 2015-01-10 17:06:51 UTC
Created attachment 151438 [details]
stacktrace
Comment 2 Tomas Mysik 2015-04-28 16:32:22 UTC
Apparently the FTP parser is null but not sure why and when this happens. Are there any reliable steps to reproduce, please?

Thanks.
Comment 3 Tomas Mysik 2015-04-29 12:03:31 UTC
I tried to add a workaround, I hope. Let's use listNames() for keep-alive functionality since it does not require a parser (listFiles() does).

Láďo, verify please that keep-alive works for FTP.

Thanks.

http://hg.netbeans.org/web-main/rev/dbfa5313bcfb
Comment 4 Quality Engineering 2015-04-30 02:33:29 UTC
Integrated into 'main-silver', will be available in build *201504300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dbfa5313bcfb
User: Tomas Mysik <tmysik@netbeans.org>
Log: #249730 - org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: NOOP command successful

Not a real fix since it seems to be a bug in the Apache Commons Net library. So, listNames() does not need a parser.
Comment 5 Vladimir Riha 2015-05-03 16:38:16 UTC
I've let the FTP connection alive for more than 2 hours and no problem. I've tried to create a new remote project couple of times and also cannot reproduce

Product Version: NetBeans IDE Dev (Build 201505030001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)
Comment 6 Tomas Mysik 2015-05-04 05:24:40 UTC
Thanks a lot Láďo for trying it out.