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.
Product Version: NetBeans IDE Dev (Build 201505080001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\dev\Netbeans\user\dev Cache directory: C:\dev\Netbeans\cache\dev 1. Take IDE snapshot 2. Click "Attach IDE snapshot to bug" 3. Enter bug id and submit. 4. Operation fails with "Http error: Moved Temporarily" and snapshot is never attached to issue.
can't reproduce. Sounds like a temporary server side problem. thanks
I just reproduced it again. I created an IDE snapshot, clicked the "Attach IDE snapshot to bug..." icon (second from left), entered bug id 252343 (this bug) and got "Http error: Moved Temporarily". Can you please try this again on your end?
And for reference, my IDE version is: Product Version: NetBeans IDE Dev (Build 201507270002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb) User directory: C:\dev\Netbeans\user\dev Cache directory: C:\dev\Netbeans\cache\dev
> I created an IDE snapshot, clicked the "Attach IDE snapshot to bug..." icon > (second from left), entered bug id 252343 (this bug) and got "Http error: > Moved Temporarily". this tends to appear if the nb repository url is http, instead of https - please check your nb repository settings
How do I check my nb repository settings? Remember, I am using a fresh JavaSE installation of Netbeans. Whatever the settings are, I believe they are the default (so either way you have a bug).
(In reply to _ gtzabari from comment #5) > How do I check my nb repository settings? - main menu > windows > tasks - ctx menu on the nb repository node > properties > Remember, I am using a fresh JavaSE installation of Netbeans. Whatever the > settings are, I believe they are the default (so either way you have a bug). so you did not create the netbeans repository by hand?
when using the feature - does this happen every time or only occasionally?
(In reply to Tomas Stupka from comment #7) > when using the feature - does this happen every time or only occasionally? Every time. (In reply to Tomas Stupka from comment #6) > (In reply to _ gtzabari from comment #5) > > How do I check my nb repository settings? > - main menu > windows > tasks > - ctx menu on the nb repository node > properties It is: https://netbeans.org/bugzilla > so you did not create the netbeans repository by hand? No
are you able to attach your messages.log via the IDE bugzilla support to this issue? (if possible from a session where the problem happened, i would asked for it anyway)
Created attachment 155018 [details] messages.log Here you go...
don't get me wrong, but i have to ask to be sure - you opened the issue in the ide and then attached the messegas.log to it? because it's exactly the same call as in "Attach IDE snapshot to bug" not much in the log, besides WARNING [org.apache.commons.httpclient.HttpMethodBase]: Cookie rejected: "$Version=0; _junction2_session=1868729267670de569eb7e90d328c038; $Path=/; $Domain=.netbeans.org". Illegal domain attribute ".netbeans.org". Domain of origin: "netbeans.org" though not sure how relevant that is please reproduce one more time with the switch -J-Dorg.netbeans.modules.bugzilla.Bugzilla.level=-1 and attach messages.log thanks
(In reply to Tomas Stupka from comment #11) > don't get me wrong, but i have to ask to be sure - you opened the issue in > the ide and then attached the messegas.log to it? > because it's exactly the same call as in "Attach IDE snapshot to bug" No. All attachments you see so far were uploaded using Chrome, not using the IDE itself. > not much in the log, besides > WARNING [org.apache.commons.httpclient.HttpMethodBase]: Cookie rejected: > "$Version=0; _junction2_session=1868729267670de569eb7e90d328c038; $Path=/; > $Domain=.netbeans.org". Illegal domain attribute ".netbeans.org". Domain of > origin: "netbeans.org" > though not sure how relevant that is > > please reproduce one more time with the switch > -J-Dorg.netbeans.modules.bugzilla.Bugzilla.level=-1 > and attach messages.log I'll attach this in a second.
Created attachment 155093 [details] messages.log with bugzilla verbosity
im wondering about the "Cookie rejected" log - some setup on your os? (this feature usually works fine) we use the mylyn connector to access bugzilla, seems like they had a similar problem here https://bugs.eclipse.org/bugs/show_bug.cgi?id=175502
(In reply to Tomas Stupka from comment #14) > im wondering about the "Cookie rejected" log - some setup on your os? (this > feature usually works fine) > > we use the mylyn connector to access bugzilla, > seems like they had a similar problem here > https://bugs.eclipse.org/bugs/show_bug.cgi?id=175502 If you look at the bug report you mentioned they write: > From the debug log, I was able to determine that it was my instance of bugzilla that had the wrong cookie domain set. I had assumed incorrectly that it was obtaining it from my httpd configuration. So obvious in hindsight! This makes me believe that the error you were seeing in messages.log (Illegal domain attribute ".netbeans.org") is at fault, and is the same problem they are talking about. I don't understand what they wrote in the next part: > Editing the cookie domain in the Required Settings Configuration section ( http://<server>/<bugzilla path>/editparams.cgi?section=core ) made the problem go away Any idea what this means?
> Any idea what this means? nope ".netbeans.org" might be at fault, but still - a possible way around would be to figure out why is this happening only for you
reassigning for further evaluation - see comments #11 and later
I just tried to attache an IDE NPS snapshot to bug 255341 and I got "HTTP Error: Moved Temporarily."
(In reply to MackSix from comment #18) > I just tried to attache an IDE NPS snapshot to bug 255341 and I got "HTTP > Error: Moved Temporarily." Ah, I had to enter my username and password. It worked. The error message doesn't really give you the hint that you have to enter you username and password though. :)