severe problem, using wrong SVN URL

Hello,

this is a really severe bug, that caused some real frustration here,
and also consumed a lot of time.
Guys, you are causing some people to work on weekends here...

1. we use SVN repository with one directory as svn:external (don't know if this is relevant)
2. when we need a build on a new branch, we use some existing project,
copy it, then edit the SVN URL, save it.
we have the "enable VCS triggered build" check marked.
upon saving, TC immediately starts to build - all looks well.
3. you wait 30 minutes, then take your fresh build to the target,
start some debugging and then you start to wonder.
after lot of frustration you realize that teamCity has not built from the URL
that it stated, but instead from the original URL.

Arrrrrghhh - sorry! ;)

Let me know what I can provide you, to maybe fix this!!!!

I should add that this is tc version 4261
and (I think) svnserve, Version 1.4.2 (r22196) on Fedora Core 6

Message was edited by:
Michael Damberger

0
46 comments

in the logs i found this.
see server svn log, buildId = 48218
seems to be not really useful, just shows that
the new project mediav1_8_mida2 used the wrong url (1.9*)


correct new url = 1_8*
wrong old url = 1_9*

INFO - jetbrains.buildServer.AGENT - Found runner Command Line for


INFO - jetbrains.buildServer.AGENT - Getting sources...
INFO - jetbrains.buildServer.AGENT - Requesting patch from server, cleanPatch=true
INFO - jetbrains.buildServer.AGENT - Copying patch to temp file...
INFO - jetbrains.buildServer.AGENT - Patch downloaded
INFO - jetbrains.buildServer.AGENT - Sources loaded for 908 seconds
INFO - jetbrains.buildServer.AGENT - Patch applied successfully
INFO - jetbrains.buildServer.AGENT - Run actual runner for build 48218 jetbrains.buildServer.agent.impl.SimpleRunner@1eb0c6
INFO - nt.runner.GenericProgramRunner - D:\work\Server\Media_V1_8_mida2\base\build\build_arm_2.bat
-


server vcs log:

INFO - jetbrains.buildServer.VCS - Requesting patch for root enable-externals-support=true
svn-config-directory=C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Subversion
svn-password=*****
svn-use-default-config-directory=true
url=svn://cdn-srv4/home/SVN/__projectname/branches/media/V1_9_Mode
user=__user
cleanPatch = trueprevVersion=nullnewVersion=2007/09/26 12:50:44 +0200; buildId = 48218
INFO - jetbrains.buildServer.VCS - Requesting patch for root enable-externals-support=true
svn-config-directory=C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Subversion
svn-password=*****
svn-use-default-config-directory=true
url=svn://cdn-srv4/home/SVN/__projectname/branches/media/V1_9_Mode
user=__user
cleanPatch = falseprevVersion=2007/09/25 10:47:27 +0200newVersion=2007/09/26 13:11:00 +0200; buildId = 48219
INFO - jetbrains.buildServer.VCS - Requesting patch for root enable-externals-support=true
svn-config-directory=C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Subversion
svn-password=*****
svn-use-default-config-directory=true
url=svn://cdn-srv4/home/SVN/__projectname/branches/media/V1_9_mida
user=__user
cleanPatch = trueprevVersion=nullnewVersion=2007/09/26 13:45:22 +0200; buildId = 48220
INFO - jetbrains.buildServer.VCS - Requesting patch for

Message was edited by:
Michael Damberger

0

more logs, this seems to be all...

INFO - tbrains.buildServer.ACTIVITIES - Configuration added to queue; name=Media_V1_8_mida2 :: ARM build; requestor=Subversion
INFO - tbrains.buildServer.ACTIVITIES - Build started; name=Media_V1_8_mida2 :: ARM build, personal=false, buildId=48218
INFO - tbrains.buildServer.ACTIVITIES - Configuration removed from queue; name=Media_V1_8_mida2 :: ARM build, requestor=Subversion, comment=null, user=null
INFO - jetbrains.buildServer.SERVER - Running build saved to DB: 48218 ARM build on agent cdn-ws-22
INFO - jetbrains.buildServer.SERVER - Sent authentication required header for request URI: /httpAuth/createPatch.html
...
INFO - verSide.impl.DBVersionProvider - Patch applied for agent __agentip root = checkout-root=
enable-externals-support=true
svn-config-directory=C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Subversion
svn-password=*****
svn-use-default-config-directory=true
url=svn://cdn-srv4/home/SVN/__projectname/branches/media/V1_8_mida
user=__user
vcs=svn
version=null
...
INFO - facts.ArtefactUploadController - Publishing /LogfileXML2CPP.log
INFO - facts.ArtefactUploadController - Publishing /master.elf
INFO - tbrains.buildServer.ACTIVITIES - Finishing build 48218, name: ARM build, personal: false, failed: false, interrupted: false, cancelled: null

-


activities log:
INFO - tbrains.buildServer.ACTIVITIES - Configuration added to queue; name=Media_V1_8_mida2 :: ARM build; requestor=Subversion
INFO - tbrains.buildServer.ACTIVITIES - Build started; name=Media_V1_8_mida2 :: ARM build, personal=false, buildId=48218
INFO - tbrains.buildServer.ACTIVITIES - Configuration removed from queue; name=Media_V1_8_mida2 :: ARM build, requestor=Subversion, comment=null, user=null
...
INFO - tbrains.buildServer.ACTIVITIES - Finishing build 48218, name: ARM build, personal: false, failed: false, interrupted: false, cancelled: null

0

Michael,

Does it reproduce only for the first build in the new project or for all builds since the copying?

What may be happening is that TeamCity starts a new build at once as the new configuration is created - just before the VCS setting were modified. If this is the case, further builds should use correct (new) VCS settings.
This really can cause confusion and we will think what can be done to improve the experience.

If it reproduces with further builds, a quick workaround would be to restart the TeamCity server and check the new settings are in place.

Sorry for the inconvenience.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Hi Yegor,

thanks for the reply.
Yes, I forgot to point that out: it is only the first build that uses the wrong url.
All following builds then use the correct URL.


Best regards,
Michael

0

this is another problem, that happens from time to time, also when creating a new project, but without the "enable vcs triggered build":

2007-09-28 10:41:28,643] INFO - r.serverSide.impl.BuildStarter - jetbrains.buildServer.serverSide.ExecutionException: jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://*:9090/RPC2 buildAgent.run: java.net.SocketException: Unexpected end of file from server
jetbrains.buildServer.serverSide.ExecutionException: jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://*:9090/RPC2 buildAgent.run: java.net.SocketException: Unexpected end of file from server
at jetbrains.buildServer.serverSide.impl.XmlRpcClientBasedAgent.run(XmlRpcClientBasedAgent.java:7)
at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:27)
at java.lang.Thread.run(Unknown Source)
Caused by: jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://*:9090/RPC2 buildAgent.run: java.net.SocketException: Unexpected end of file from server
at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:21)
at jetbrains.buildServer.serverSide.impl.XmlRpcClientBasedAgent.run(XmlRpcClientBasedAgent.java:66)
... 2 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.xmlrpc.TCDefaultXmlRpcTransport.sendXmlRpc(TCDefaultXmlRpcTransport.java:10)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
at org.apache.xmlrpc.TCXmlRpcClient$1.execute(TCXmlRpcClient.java:3)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:8)
... 3 more

0

Michael,

The case you describe is very much like one of the known issues of TeamCity: invalid characters entered in the web UI are not reported to the user in due manner and can cause various exceptions. In this case the values cannot be saved on disk and will revert to their previous state on TeamCity restart.

We plan to address the issue, you can watch http://www.jetbrains.net/jira/browse/TW-3179 if you like.

As current workaround, can you please make sure the values you enter on the configuration screens do not contain any invalid characters? The most common way to introduce them is to copy the value from some other place and paste in the form.

To avoid using invalid characters, you may clear and then retype the values instead of copy-pasting or you may paste values in the plain-text editor and then copy only the text without any spaces/other symbols around it.

If this does not help, it would be helpful if you can restart TeamCity server (note that entries with invalid characters most probably will revert to their previous values) and if the issue occurs next time, send us server logs with the very first exception from the server start.

Hope, this helps.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Michael Damberger

thanks again for the reply.
We do not knowingly use any special characters in the web ui, but I will watch for the next time the exception occurs and try to provide the first stack trace.
do i understand it correctly, that no spaces are allowed, for example in project names?

here is another excetion that occurs from time to time - any ideas about this one?

ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.charAt(Unknown Source)
at jetbrains.buildServer.agent.impl.SimpleRunner.removeNewLine(SimpleRun
ner.java:66)
at jetbrains.buildServer.agent.impl.SimpleRunner.onTextAvailable(SimpleR
unner.java:59)
at jetbrains.buildServer.agent.runner.GenericProgramRunner$2.onTextAvail
able(GenericProgramRunner.java:153)
... 15 more

0

Michael,

do i understand it correctly, that no spaces are allowed, for example in project names?


No, spaces in the project names are fine - internally, we have lots of project with spaces in their name. If you find a place where spaces are not allowed and there is no note on this in the web UI, please submit an issue into our Jira bug tracker: http://www.jetbrains.net/jira/browse/TW

Could you also create a new issue with the exception you mentioned? If you can, please describe when it occurs and after what actions.

Thanks.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Michael Damberger

Hi Yegor,

until now I do not know after what actions this exception occurs,
I just found it on the server console.
When I have some time I try to look into the logfiles to maybe determine
which action has preceeded the exception - then I will file a JIRA entry.



Best regards,
Michael

0
Avatar
Michael Damberger

the exception, first at
then at . they appear 3 times each.


ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler

ERROR - ecution.process.ProcessHandler -
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.charAt(Unknown Source)
at jetbrains.buildServer.agent.impl.SimpleRunner.removeNewLine(SimpleRun
ner.java:66)
at jetbrains.buildServer.agent.impl.SimpleRunner.onTextAvailable(SimpleR
unner.java:59)
at jetbrains.buildServer.agent.runner.GenericProgramRunner$2.onTextAvail
able(GenericProgramRunner.java:153)
... 15 more
ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.charAt(Unknown Source)
at jetbrains.buildServer.agent.impl.SimpleRunner.removeNewLine(SimpleRun
ner.java:66)
at jetbrains.buildServer.agent.impl.SimpleRunner.onTextAvailable(SimpleR
unner.java:59)
at jetbrains.buildServer.agent.runner.GenericProgramRunner$2.onTextAvail
able(GenericProgramRunner.java:153)
... 15 more
ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)


excerpts of agent log around those times:

INFO - nt.runner.GenericProgramRunner - x:\some\path>batch.bat lint.log 1>output.txt
INFO - nt.runner.GenericProgramRunner -
INFO - nt.runner.GenericProgramRunner - Output : 398 lines
INFO - nt.runner.GenericProgramRunner - Input file : '(stdin)'
INFO - nt.runner.GenericProgramRunner - Output file : '(stdout)'
INFO - nt.runner.GenericProgramRunner - Pattern : '(all)'
INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - x:\some\path>batch.bat lint.log 1>output.txt
INFO - nt.runner.GenericProgramRunner -
INFO - nt.runner.GenericProgramRunner - Output : 398 lines
INFO - nt.runner.GenericProgramRunner - Input file : '(stdin)'
INFO - nt.runner.GenericProgramRunner - Output file : '(stdout)'
INFO - nt.runner.GenericProgramRunner - Pattern : '(all)'
INFO - nt.runner.GenericProgramRunner -

so, the call of
x:\some\path>batch.bat lint.log 1>output.txt
is identified as cause.
the batchfile runs a perl script:


perl %filter_lint% -i %1 | perl %convert_path% -v %2 %3 %4 %5 %6 %7 %8 %9


hope this helps...
please excuse that i file no jira,
this already took me some time now...

0

Michael,

I believe this problem should have been fixed in TeamCity 3.0. Please try the latest EAP build.

With kind regards,
KIR

0
Avatar
Michael Damberger

do you recommend the EAP build for production environments?

here is the first exception around the IllegalDataException.
I copied a project. I pasted a new SVN URL, but I copied it to notepad first, and took it from there, so it cannot contain strange characters. id does not contain strange chars anyway. (it is a valid SVN URL, so... ;)

in the following log, i masked what was my SVN password 1z******
do you have any idea why it complains about that?


02.10.2007 20:41:48 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\TeamCity2.1.1\jre\
bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\cygwin\bin;C:\Perl\site\bin;C:
\Perl\bin;C:\ARM\RVD\Core\1.7\283\win_32-pentium\bin;C:\ARM\Utilities\FLEXlm\9.2
\release\win_32-pentium;C:\ARM\RVCT\Programs\2.1\328\win_32-pentium;C:\ARM\bin\w
in_32-pentium;C:\ARM\RDI\armsd\1.3\34\win_32-pentium;C:\WINDOWS\system32;C:\WIND
OWS;C:\WINDOWS\System32\Wbem;c:\apache-ant-1.7.0\bin;C:\Python24;C:\Programme\Su
bversion\bin
02.10.2007 20:41:49 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
02.10.2007 20:41:49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1584 ms
02.10.2007 20:41:49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.10.2007 20:41:49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
02.10.2007 20:41:49 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
TeamCity data path directory: C:/Dokumente und Einstellungen/Administrator/.Buil
dServer
Cannot find C:\Dokumente und Einstellungen\Administrator\.BuildServer\config\dat
abase.properties.
Use database settings from buildServerSpring.xml
02.10.2007 20:42:41 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-80
02.10.2007 20:42:41 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
02.10.2007 20:42:41 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32 config=null
02.10.2007 20:42:41 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
02.10.2007 20:42:41 org.apache.catalina.startup.Catalina start
INFO: Server startup in 52865 ms
WARN - Triggers.vcs.svn.SvnConnection - Cannot proce
ss externals: null url= svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/com
mon/build; svn: Malformed network data
WARN - Triggers.vcs.svn.SvnConnection - Cannot proce
ss externals: null url= svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/com
mon/build; svn: Network connection closed unexpectedly
WARN - Triggers.vcs.svn.SvnConnection - Cannot proce
ss externals: null url= svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/com
mon/build; svn: Network connection closed unexpectedly
WARN - Triggers.vcs.svn.SvnConnection - Cannot proce
ss externals: null url= svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/com
mon/build; svn: Network connection closed unexpectedly
ERROR - .[localhost].[/].[buildServer] - Servlet.serv
ice() for servlet buildServer threw exception
org.jdom.IllegalDataException: The data "1z****** " is not legal for a JD
OM attribute: 0x0 is not a legal XML character.
at org.jdom.Attribute.setValue(Attribute.java:486)
at org.jdom.Attribute.(Attribute.java:229) at org.jdom.Attribute.]]>(Attribute.java:252)
at org.jdom.Element.setAttribute(Element.java:1120)
at jetbrains.buildServer.util.FileUtil.writeParameter(FileUtil.java:58)
at jetbrains.buildServer.serverSide.impl.ProjectImpl.writeTo(ProjectImpl
.java:94)
at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.doPersistPro
ject(ProjectManagerImpl.java:260)
at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.access$200(P
rojectManagerImpl.java:211)
at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl$5.run(Projec
tManagerImpl.java:2)
at jetbrains.buildServer.configuration.ChangeObserver.runActionWithDisab
ledObserver(ChangeObserver.java:72)
at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.runActionWit
hDisabledObserver(ProjectManagerImpl.java:111)
at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.persist(Proj
ectManagerImpl.java:176)
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsControll
er.persistProject(EditVcsRootsController.java:57)
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsControll
er.doPost(EditVcsRootsController.java:102)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(Base
FormXmlController.java:9)
at jetbrains.buildServer.controllers.BaseController.handleRequestInterna
l(BaseController.java:4)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:44)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:723)
at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:663)
at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:394)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
let.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)


-



C:\TeamCity2.1.1\bin>if not exist runAll.bat goto errCwd

C:\TeamCity2.1.1\bin>mkdir ..\logs
Ein Unterverzeichnis oder eine Datei mit dem Namen "..\logs" existiert bereits.

C:\TeamCity2.1.1\bin>SET JAVA_OPTS=-Xmx512m -XX:MaxPermSize=92m -Dlog4j.configur
ation=file:../conf/teamcity-server-log4j.xml -Dteamcity_logs=../logs/

C:\TeamCity2.1.1\bin>SET CATALINA_HOME=C:\TeamCity2.1.1\bin\..

C:\TeamCity2.1.1\bin>SET CATALINA_BASE=C:\TeamCity2.1.1\bin\..

C:\TeamCity2.1.1\bin>if exist ..\jre SET JRE_HOME=C:\TeamCity2.1.1\bin\..\jre

C:\TeamCity2.1.1\bin>call catalina.bat start
Using CATALINA_BASE: C:\TeamCity2.1.1\bin\..
Using CATALINA_HOME: C:\TeamCity2.1.1\bin\..
Using CATALINA_TMPDIR: C:\TeamCity2.1.1\bin\..\temp
Using JRE_HOME: C:\TeamCity2.1.1\bin\..\jre
Tue Oct 02 20:41:45 CEST 2007 ==> Start launch
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\ant\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\antPlugin\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\coveragePlugin\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\dotnetPlugin\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\duplicatePlugin\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\idea\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\inspectionPlugin\lib

Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\iprPlugin\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\maven-2.0.6\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\mavenPlugin\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\svnAgent\lib
Add plugin to classpath C:\TeamCity2.1.1\buildAgent\plugins\testNGPlugin\lib
C:\TeamCity2.1.1\jre\bin\java -ea -Xmx512m -Dlog4j.configuration=file:../conf/te
amcity-agent-log4j.xml -Dteamcity_logs=../logs/ -classpath C:\TeamCity2.1.1\buil
dAgent\lib\activation.jar;C:\TeamCity2.1.1\buildAgent\lib\agentInstaller-UI.jar;
C:\TeamCity2.1.1\buildAgent\lib\agentInstaller.jar;C:\TeamCity2.1.1\buildAgent\l
ib\annotations.jar;C:\TeamCity2.1.1\buildAgent\lib\buildServerAgent.jar;C:\TeamC
ity2.1.1\buildAgent\lib\buildServerCommon.jar;C:\TeamCity2.1.1\buildAgent\lib\bu
ildServerCommonRuntime.jar;C:\TeamCity2.1.1\buildAgent\lib\buildServerMessages.j
ar;C:\TeamCity2.1.1\buildAgent\lib\buildServerRemoteServerProxy.jar;C:\TeamCity2
.1.1\buildAgent\lib\buildServerRuntimeUtil.jar;C:\TeamCity2.1.1\buildAgent\lib\b
uildServerServerLogging.jar;C:\TeamCity2.1.1\buildAgent\lib\buildServerServerMod
el.jar;C:\TeamCity2.1.1\buildAgent\lib\buildServerXmlRpcWrapper.jar;C:\TeamCity2
.1.1\buildAgent\lib\commons-beanutils-core.jar;C:\TeamCity2.1.1\buildAgent\lib\c
ommons-codec-1.3.jar;C:\TeamCity2.1.1\buildAgent\lib\commons-collections-3.2.jar
;C:\TeamCity2.1.1\buildAgent\lib\commons-dbcp-1.2.1.jar;C:\TeamCity2.1.1\buildAg
ent\lib\commons-httpclient-3.0-rc4.jar;C:\TeamCity2.1.1\buildAgent\lib\commons-h
ttpclient-3.0.1.jar;C:\TeamCity2.1.1\buildAgent\lib\commons-logging.jar;C:\TeamC
ity2.1.1\buildAgent\lib\commons-pool-1.3.jar;C:\TeamCity2.1.1\buildAgent\lib\ide
a-settings.jar;C:\TeamCity2.1.1\buildAgent\lib\ivy-1.4.1.jar;C:\TeamCity2.1.1\bu
ildAgent\lib\jakarta-oro-2.0.8.jar;C:\TeamCity2.1.1\buildAgent\lib\jdk-searcher.
jar;C:\TeamCity2.1.1\buildAgent\lib\jdom.jar;C:\TeamCity2.1.1\buildAgent\lib\jni
wrap-3.6.1.jar;C:\TeamCity2.1.1\buildAgent\lib\junit-4.1.jar;C:\TeamCity2.1.1\bu
ildAgent\lib\latest\launcher.jar;C:\TeamCity2.1.1\buildAgent\lib\log4j-1.2.12.ja
r;C:\TeamCity2.1.1\buildAgent\lib\mail.jar;C:\TeamCity2.1.1\buildAgent\lib\nanoc
ontainer-1.0-RC-1.jar;C:\TeamCity2.1.1\buildAgent\lib\openapi.jar;C:\TeamCity2.1
.1\buildAgent\lib\patches-impl.jar;C:\TeamCity2.1.1\buildAgent\lib\patches.jar;C
:\TeamCity2.1.1\buildAgent\lib\picocontainer-1.2.jar;C:\TeamCity2.1.1\buildAgent
\lib\resources.jar;C:\TeamCity2.1.1\buildAgent\lib\resources_en.jar;C:\TeamCity2
.1.1\buildAgent\lib\shaj-0.5.jar;C:\TeamCity2.1.1\buildAgent\lib\trove4j.jar;C:\
TeamCity2.1.1\buildAgent\lib\utils.jar;C:\TeamCity2.1.1\buildAgent\lib\winpack.j
ar;C:\TeamCity2.1.1\buildAgent\lib\xmlrpc-2.0.1.jar;C:\TeamCity2.1.1\buildAgent\
lib\xpp3_min-1.1.3.4.M.jar;C:\TeamCity2.1.1\buildAgent\lib\xstream-1.2.1.jar;C:\
TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-antlr.jar;C:\TeamCity2.1.1\buildAge
nt\plugins\ant\lib\ant-apache-bcel.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\l
ib\ant-apache-bsf.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-apache-log
4j.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-apache-oro.jar;C:\TeamCit
y2.1.1\buildAgent\plugins\ant\lib\ant-apache-regexp.jar;C:\TeamCity2.1.1\buildAg
ent\plugins\ant\lib\ant-apache-resolver.jar;C:\TeamCity2.1.1\buildAgent\plugins\
ant\lib\ant-commons-logging.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-
commons-net.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-icontract.jar;C:
\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-jai.jar;C:\TeamCity2.1.1\buildAgen
t\plugins\ant\lib\ant-javamail.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\a
nt-jdepend.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-jmf.jar;C:\TeamCi
ty2.1.1\buildAgent\plugins\ant\lib\ant-jsch.jar;C:\TeamCity2.1.1\buildAgent\plug
ins\ant\lib\ant-junit.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-launch
er.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-netrexx.jar;C:\TeamCity2.
1.1\buildAgent\plugins\ant\lib\ant-nodeps.jar;C:\TeamCity2.1.1\buildAgent\plugin
s\ant\lib\ant-starteam.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-style
book.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-swing.jar;C:\TeamCity2.
1.1\buildAgent\plugins\ant\lib\ant-testutil.jar;C:\TeamCity2.1.1\buildAgent\plug
ins\ant\lib\ant-trax.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-vaj.jar
;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant-weblogic.jar;C:\TeamCity2.1.1\b
uildAgent\plugins\ant\lib\ant-xalan1.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant
\lib\ant-xslp.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\ant.jar;C:\TeamCit
y2.1.1\buildAgent\plugins\ant\lib\junit-3.8.1.jar;C:\TeamCity2.1.1\buildAgent\pl
ugins\ant\lib\xercesImpl.jar;C:\TeamCity2.1.1\buildAgent\plugins\ant\lib\xml-api
s.jar;C:\TeamCity2.1.1\buildAgent\plugins\antPlugin\lib\buildServerAntRunner.jar
;C:\TeamCity2.1.1\buildAgent\plugins\antPlugin\lib\buildServerAntRuntime.jar;C:\
TeamCity2.1.1\buildAgent\plugins\antPlugin\lib\buildServerAntServerLogging.jar;C
:\TeamCity2.1.1\buildAgent\plugins\coveragePlugin\lib\buildServerCoverageAgent.j
ar;C:\TeamCity2.1.1\buildAgent\plugins\coveragePlugin\lib\emma.jar;C:\TeamCity2.
1.1\buildAgent\plugins\cvsAgent\lib\buildServerCvsAgentPlugin.jar;C:\TeamCity2.1
.1\buildAgent\plugins\cvsAgent\lib\cvs_util.jar;C:\TeamCity2.1.1\buildAgent\plug
ins\cvsAgent\lib\javacvs.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\ma
verick-sftp.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\maverick-ssh1.j
ar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\maverick-ssh2.jar;C:\TeamCit
y2.1.1\buildAgent\plugins\cvsAgent\lib\maverick.jar;C:\TeamCity2.1.1\buildAgent\
plugins\cvsAgent\lib\resources_en.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAge
nt\lib\smartcvs-src.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\sshtool
s-ant.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\sshtools-cipher.jar;C
:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\sshtools-net.jar;C:\TeamCity2.1.
1\buildAgent\plugins\cvsAgent\lib\sshtools-publickey.jar;C:\TeamCity2.1.1\buildA
gent\plugins\cvsAgent\lib\sshtools-scp.jar;C:\TeamCity2.1.1\buildAgent\plugins\c
vsAgent\lib\sshtools-sftp.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\s
shtools-util.jar;C:\TeamCity2.1.1\buildAgent\plugins\cvsAgent\lib\sshtools-zlib.
jar;C:\TeamCity2.1.1\buildAgent\plugins\dotnetPlugin\lib\dotNet-searcher.jar;C:\
TeamCity2.1.1\buildAgent\plugins\dotnetPlugin\lib\dotNetCommonRuntime.jar;C:\Tea
mCity2.1.1\buildAgent\plugins\dotnetPlugin\lib\msBuildRunner.jar;C:\TeamCity2.1.
1\buildAgent\plugins\dotnetPlugin\lib\nantRunner.jar;C:\TeamCity2.1.1\buildAgent
\plugins\dotnetPlugin\lib\solution2003Runner.jar;C:\TeamCity2.1.1\buildAgent\plu
gins\dotnetPlugin\lib\solution2005Runner.jar;C:\TeamCity2.1.1\buildAgent\plugins
\duplicatePlugin\lib\buildServerDuplicateRunner.jar;C:\TeamCity2.1.1\buildAgent\
plugins\duplicatePlugin\lib\buildServerDuplicateServer.jar;C:\TeamCity2.1.1\buil
dAgent\plugins\idea\lib\alloy.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\a
nnotations.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\asm-commons.jar;C:\T
eamCity2.1.1\buildAgent\plugins\idea\lib\asm.jar;C:\TeamCity2.1.1\buildAgent\plu
gins\idea\lib\boot.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\bootstrap.ja
r;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\cglib-nodep-2.1_3.jar;C:\TeamCity
2.1.1\buildAgent\plugins\idea\lib\commons-codec-1.3.jar;C:\TeamCity2.1.1\buildAg
ent\plugins\idea\lib\commons-collections.jar;C:\TeamCity2.1.1\buildAgent\plugins
\idea\lib\emma-agent.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\emma.jar;C
:\TeamCity2.1.1\buildAgent\plugins\idea\lib\extensions.jar;C:\TeamCity2.1.1\buil
dAgent\plugins\idea\lib\forms_rt.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\li
b\icons.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\idea.jar;C:\TeamCity2.1
.1\buildAgent\plugins\idea\lib\idea_rt.jar;C:\TeamCity2.1.1\buildAgent\plugins\i
dea\lib\j2ee.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\jasper2_rt.jar;C:\
TeamCity2.1.1\buildAgent\plugins\idea\lib\javac2.jar;C:\TeamCity2.1.1\buildAgent
\plugins\idea\lib\javaee.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\jaxen.
jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\jdom.jar;C:\TeamCity2.1.1\build
Agent\plugins\idea\lib\jgoodies-forms.jar;C:\TeamCity2.1.1\buildAgent\plugins\id
ea\lib\jsf-api.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\jsp-api.jar;C:\T
eamCity2.1.1\buildAgent\plugins\idea\lib\junit-4.0.jar;C:\TeamCity2.1.1\buildAge
nt\plugins\idea\lib\junit.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\log4j
.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\microba.jar;C:\TeamCity2.1.1\b
uildAgent\plugins\idea\lib\nanoxml-2.2.3.jar;C:\TeamCity2.1.1\buildAgent\plugins
\idea\lib\openapi.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\oromatcher.ja
r;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\picocontainer.jar;C:\TeamCity2.1.
1\buildAgent\plugins\idea\lib\resolver.jar;C:\TeamCity2.1.1\buildAgent\plugins\i
dea\lib\resources.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\resources_en.
jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\saxpath.jar;C:\TeamCity2.1.1\bu
ildAgent\plugins\idea\lib\servlet-api.jar;C:\TeamCity2.1.1\buildAgent\plugins\id
ea\lib\trove4j.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\trove4j_src.jar;
C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\velocity.jar;C:\TeamCity2.1.1\build
Agent\plugins\idea\lib\xerces.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\x
ml-apis.jar;C:\TeamCity2.1.1\buildAgent\plugins\idea\lib\xmlrpc-2.0.jar;C:\TeamC
ity2.1.1\buildAgent\plugins\idea\lib\xstream.jar;C:\TeamCity2.1.1\buildAgent\plu
gins\inspectionPlugin\lib\buildServerInspectionRunner.jar;C:\TeamCity2.1.1\build
Agent\plugins\inspectionPlugin\lib\buildServerInspectionServerLogging.jar;C:\Tea
mCity2.1.1\buildAgent\plugins\iprPlugin\lib\asm-commons.jar;C:\TeamCity2.1.1\bui
ldAgent\plugins\iprPlugin\lib\asm.jar;C:\TeamCity2.1.1\buildAgent\plugins\iprPlu
gin\lib\bd-ant-extensions.jar;C:\TeamCity2.1.1\buildAgent\plugins\iprPlugin\lib\
buildGenerator.jar;C:\TeamCity2.1.1\buildAgent\plugins\iprPlugin\lib\buildServer
IprRunner.jar;C:\TeamCity2.1.1\buildAgent\plugins\iprPlugin\lib\javac2.jar;C:\Te
amCity2.1.1\buildAgent\plugins\iprPlugin\lib\jgoodies-forms.jar;C:\TeamCity2.1.1
\buildAgent\plugins\maven-2.0.6\lib\maven-core-2.0.6-uber.jar;C:\TeamCity2.1.1\b
uildAgent\plugins\mavenPlugin\lib\buildServerMaven2Agent.jar;C:\TeamCity2.1.1\bu
ildAgent\plugins\svnAgent\lib\buildServerSvnAgentPlugin.jar;C:\TeamCity2.1.1\bui
ldAgent\plugins\svnAgent\lib\ganymed.jar;C:\TeamCity2.1.1\buildAgent\plugins\svn
Agent\lib\svnkit-cli.jar;C:\TeamCity2.1.1\buildAgent\plugins\svnAgent\lib\svnkit
-javahl.jar;C:\TeamCity2.1.1\buildAgent\plugins\svnAgent\lib\svnkit.jar;C:\TeamC
ity2.1.1\buildAgent\plugins\svnAgent\lib\svnkitsrc.zip;C:\TeamCity2.1.1\buildAge
nt\plugins\testNGPlugin\lib\testng-runtime.jar;C:\TeamCity2.1.1\buildAgent\plugi
ns\testNGPlugin\lib\testNGAntExtension.jar jetbrains.buildServer.agent.AgentMain
-file ..\conf\buildAgent.properties
Runner NAnt was not registered
Runner sln2003 was not registered
WARN - jetbrains.buildServer.AGENT - Starting age
nt Web server on port 9090
java.util.NoSuchElementException
Registered agent "cdn-ws-22" (192.168.23.160:9090) on http://localho
st:80
with runners: [Command Line, Ant, MSBuild, sln2005, Duplicates finder, Inspecti
on, Ipr, Maven2]
If this is the first time this agent registered on server make sure it is enable
d in the server web UI.
WARN - jetbrains.buildServer.AGENT - Artifacts pa
th hermes.zip not found
WARN - jetbrains.buildServer.AGENT - Cannot apply
patch, seems server is not available or user stopped the build. Build 48872 wil
l be interrupted.
WARN - jetbrains.buildServer.AGENT - Artifacts pa
th X:/di_projects/tools/lint/lintAllWatchSummary.txt not found
ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.charAt(Unknown Source)
at jetbrains.buildServer.agent.impl.SimpleRunner.removeNewLine(SimpleRun
ner.java:66)
at jetbrains.buildServer.agent.impl.SimpleRunner.onTextAvailable(SimpleR
unner.java:59)
at jetbrains.buildServer.agent.runner.GenericProgramRunner$2.onTextAvail
able(GenericProgramRunner.java:153)
... 15 more
ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.charAt(Unknown Source)
at jetbrains.buildServer.agent.impl.SimpleRunner.removeNewLine(SimpleRun
ner.java:66)
at jetbrains.buildServer.agent.impl.SimpleRunner.onTextAvailable(SimpleR
unner.java:59)
at jetbrains.buildServer.agent.runner.GenericProgramRunner$2.onTextAvail
able(GenericProgramRunner.java:153)
... 15 more
ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler
.java:197)
at $Proxy1.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(Pro
cessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$3.textAvailable(OSPro
cessHandler.java:117)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.che
ckTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run
(OSProcessHandler.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.charAt(Unknown Source)
at jetbrains.buildServer.agent.impl.SimpleRunner.removeNewLine(SimpleRun
ner.java:66)
at jetbrains.buildServer.agent.impl.SimpleRunner.onTextAvailable(SimpleR
unner.java:59)
at jetbrains.buildServer.agent.runner.GenericProgramRunner$2.onTextAvail
able(GenericProgramRunner.java:153)
... 15 more

0

Michael,

The line
org.jdom.IllegalDataException: The data "1z****** " is not legal for a JDOM attribute: 0x0 is not a legal XML character.

Suggests that there is an invalid character in the password. Could you please also try to copy the password through Notepad? Or try to use user with some simple text-only password just in order to localize the issue?

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Michael Damberger

the password contains only lower case letters, uper case letters, and numbers.
I don't even enter it during "copy project"

So, TeamCity somehow has a problem with the password,
although it is saved somewhere, and used all the time for svn access.
only during copy project there suddenly (and only sometimes) occurs this problem.

i just located the password in the project-config.xml.
there it is saved in utf-8.
could it be, by any means, that sometimes (?!) teamCity tries to read it
from there as plain ascii by mistake? Just some wild guessing...

0
Avatar
Michael Damberger

now I found a problem in the diff viewer.
when you have a simple txt file that contains a line like this:
buildnum=280_IAA_4
modify something, then view the diff via teamCity in a web browser:
-> then the last digit is not shown.

0

Michael Damberger wrote:

now I found a problem in the diff viewer.
when you have a simple txt file that contains a line like this:
buildnum=280_IAA_4
modify something, then view the diff via teamCity in a web browser:
-> then the last digit is not shown.


I can not reproduce the problem using this description.
Please create Jira issue and attach both versions of file, screenshot
and html file.

--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Michael,

Using EAP builds for the production, undoubtedly, is a risk.

But the whole JetBrains team uses EAP builds for production of all our products, from TeamCity itself to IntelliJ IDEA and Resharper.

Before making any TeamCity EAP, we setup it to our own production server.

Anyway, that's for you to judge :). And never forget to make a backup, including database.

Kind regards,
KIR

0
Avatar
Michael Damberger

Hi Kirill,

this is reassuring and I plan to test the EAP now...
just have to find the time to make the backup ;)


Bye,
Michael

0

Michael,

We're releasing another EAP today. I think it worth trying this new version.

Kind regards,
KIR

0
Avatar
Michael Damberger

ok, upgrade done. I will let you know if any problems will occur...


Bye,
Michael

0
Avatar
Michael Damberger

ok, first complaint:

- edit SVN URL definitely does not work.
TeamCity was still using the old URL, despite it shows the new URL
(even after clean build, verified by looking into the files it checked out on the server)

- liked it better when the folders on the server were named like the project.
easier to debug, obviously ;)

0
Avatar
Michael Damberger

maybe I should make this more clear:

- I noticed that one of the procjects had been moved to another SVN repository, so I thought: well, let's try the edit SVN URL feature with the new EAP build. Maybe it works there... It did not, as I said before. Steps I did were:
1. administration, edit, vcs root edit, modify the URL, save
then start a new build -> still used the old sources
start clean build -> still the same
start another build -> still the same
2. then i copied the project. TC asks me if I want to share the vcs root.
I said yes - wondering what this might be useful for.
I think in our project setup it is not useful, as each branch contains very large amounts of data, and it would take much too long to check out the total root which contains all the branches, and it would exceed the disk capacity of the server
But still I wanted to try it for one of the branches URL, and said yes, share.
-> result is: still using wrong URL when building (although showing the new URL!)
3. copied project again, modifying URL, saying not to share, deleting old projects
-> now everything works

0

Michael,

- liked it better when the folders on the server were named like the project.

>easier to debug, obviously ;)

You can refer to the thread at http://www.intellij.net/forums/message.jspa?messageID=5195132#5195132
discussing the reasons of new working folders naming.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Michael,

Could you please file a Jira issue (at http://www.jetbrains.net/jira/browse/TW ) describing the steps, how you see the old URL is used and where the new URL is shown and attaching the server logs if there are some errors/exceptions in it.

The issues seems to be connected with some specific environment or VCS settings as we cannot reproduce it locally, but we will try more.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Michael Damberger

the problem occured again. here is the original output from build server and agent console.
I only replaced my password by ABCDEFG, my real SVN password contains only letters and numbers.

17.10.2007 11:46:43 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:47:11 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:47:29 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:49:17 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:49:46 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:50:12 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:53:34 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:53:40 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:53:44 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:54:03 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:00:52 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:09:54 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:13 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:18 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:40 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:58 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:11:03 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:11:07 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:11:16 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
ERROR - jetbrains.buildServer.SERVER - Error in JSP
, request dump:
Path: /runtimeError.jsp
Method: POST
Param: prop:user =
Param: action =
Param: prop:ssh-port = []
Param: vcsRootName = [svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/branc
hes/dynlist/V0_4]
Param: publicKey = [00b5534f18dbcbaa6acd999d80adc593ee0ccdc82543b96cdea1bb486d4d
c292c94e783eb83e9dbdfdb9784df323046f397f947b449bc2d46f2b28ade4f3dbfd630ec44e0722
837290f24d0f5254f9b00d07fc54ec3b83b761763425e021a4ad7a17402f5a1827ba60415cb4a1b0
c12fdac5df0b1060071f300dde38d2ea119ddf]
Param: prop:ssh-key-file = []
Param: prop:svn-use-default-config-directory =
Param: prop:encrypted:ssh-passphrase = [3850e27c91fbe83207b5c723537145615ed3752e
11b2f766ae67efae86ccaa1f552c5558f265aac5106c73b6223f45c782a389c7e0e9676b40abd6be
3e1916f5e27894bb1244b65ee51dc457caea2e0d11fbf47615e533d8f42cf30262b6a9a7659677de
21350286f90a645aa999c3643fa8051724529519511c708280152366]
Param: vcsName =
Param: _ = []
Param: prop:svn-config-directory = [C:\Dokumente und Einstellungen\Administrator
\Anwendungsdaten\Subversion]
Param: modificationCheckInterval =
Param: prop:url = [svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/branches
/dynlist/V0_4]
Param: vcsRootId =
Param: saveOption =
Param: editingScope =
Param: submitVcsRoot =
Param: _globalScope = []
Param: prop:enable-externals-support =
Param: modificationCheckIntervalMode =
Param: prop:encrypted:svn-password = [26bb14a70ad3ab7a8de4cc8f08677bf183f62c07f5
447fbf93577fad56ffe9367c185ea46cddc3267c272e961679315b8bbe545ac686dc5b9c9e1410db
3539d156660a6760865c762f2327190840bc3b4ae7b731f646fa0883abbfc39c92d5c571b65db38a
0f0553216be206bdf1c1fb3f8695497fceeeb9bb40801bcecef2e9]

org.jdom.IllegalDataException: The data "ABCDEFG " is not legal for a JD
OM attribute: 0x0 is not a legal XML character.
at org.jdom.Attribute.setValue(Attribute.java:486)
at org.jdom.Attribute.(Attribute.java:229) at org.jdom.Attribute.]]>(Attribute.java:252)
at org.jdom.Element.setAttribute(Element.java:1120)
at jetbrains.buildServer.util.FileUtil.writeParameter(FileUtil.java:106)

at jetbrains.buildServer.vcs.impl.VcsManagerImpl.writeRootsToXml(VcsMana
gerImpl.java:455)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.writeTo(VcsManagerImpl.
java:219)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.writeTo(
SecuredVcsManager.java:7)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl$13.run(BuildSer
verImpl.java:12)
at jetbrains.buildServer.configuration.ChangeObserver.runActionWithDisab
ledObserver(ChangeObserver.java:58)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl.persistConfigur
ation(BuildServerImpl.java:230)
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsControll
er.doPost(EditVcsRootsController.java:2)
at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleReque
st(BaseFormXmlController.java:1)
at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest
(AjaxRequestProcessor.java:3)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(Base
FormXmlController.java:12)
at jetbrains.buildServer.controllers.BaseController.handleRequestInterna
l(BaseController.java:36)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:857)
at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:792)
at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:475)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
let.java:440)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFra
gmentFilter.java:9)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.jamonapi.JAMonFilter.doFilter(JAMonFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:595)
17.10.2007 12:14:47 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:14:55 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:15:09 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:15:19 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:15:22 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
ERROR - jetbrains.buildServer.SERVER - Error in JS

0

The problem is definitely with a password entered in the form. I do not know
why, but when we decrypt it on the server side it appears that password
contains 0x0 characters.

Please answer these questions:
- What browser do you use? Could you please try to submit VCS root using
different browser or even different PC?
- What character encoding is set in your browser when you submit VCS root?
- What locale is configured on the PC where the TeamCity is installed?
- Do you use any plugins in your browser?
- Have you entered this password letter by letter in the form or maybe
you've used some kind of password storage tool or some kind of form
autocompletion?

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Michael Damberger" <michael.damberger@t-online.de> wrote in message
news:21959152.1192628247622.JavaMail.itn@is.intellij.net...

the problem occured again. here is the original output from build server
and agent console.
I only replaced my password by ABCDEFG, my real SVN password contains only
letters and numbers.

>

17.10.2007 11:46:43 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:47:11 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:47:29 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:49:17 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:49:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:50:12 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:53:34 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:53:40 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:53:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 11:54:03 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:00:52 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:09:54 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:13 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:18 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:40 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:10:58 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:11:03 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:11:07 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:11:16 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
ERROR - jetbrains.buildServer.SERVER - Error
in JSP
, request dump:
Path: /runtimeError.jsp
Method: POST
Param: prop:user =
Param: action =
Param: prop:ssh-port = []
Param: vcsRootName =
[svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/branc
hes/dynlist/V0_4]
Param: publicKey =
[00b5534f18dbcbaa6acd999d80adc593ee0ccdc82543b96cdea1bb486d4d
c292c94e783eb83e9dbdfdb9784df323046f397f947b449bc2d46f2b28ade4f3dbfd630ec44e0722
837290f24d0f5254f9b00d07fc54ec3b83b761763425e021a4ad7a17402f5a1827ba60415cb4a1b0
c12fdac5df0b1060071f300dde38d2ea119ddf]
Param: prop:ssh-key-file = []
Param: prop:svn-use-default-config-directory =
Param: prop:encrypted:ssh-passphrase =
[3850e27c91fbe83207b5c723537145615ed3752e
11b2f766ae67efae86ccaa1f552c5558f265aac5106c73b6223f45c782a389c7e0e9676b40abd6be
3e1916f5e27894bb1244b65ee51dc457caea2e0d11fbf47615e533d8f42cf30262b6a9a7659677de
21350286f90a645aa999c3643fa8051724529519511c708280152366]
Param: vcsName =
Param: _ = []
Param: prop:svn-config-directory = [C:\Dokumente und
Einstellungen\Administrator
\Anwendungsdaten\Subversion]
Param: modificationCheckInterval =
Param: prop:url =
[svn://cdn-srv4/home/SVN/5053_API_Entwicklung_100.450/branches
/dynlist/V0_4]
Param: vcsRootId =
Param: saveOption =
Param: editingScope =
Param: submitVcsRoot =
Param: _globalScope = []
Param: prop:enable-externals-support =
Param: modificationCheckIntervalMode =
Param: prop:encrypted:svn-password =
[26bb14a70ad3ab7a8de4cc8f08677bf183f62c07f5
447fbf93577fad56ffe9367c185ea46cddc3267c272e961679315b8bbe545ac686dc5b9c9e1410db
3539d156660a6760865c762f2327190840bc3b4ae7b731f646fa0883abbfc39c92d5c571b65db38a
0f0553216be206bdf1c1fb3f8695497fceeeb9bb40801bcecef2e9]

>

org.jdom.IllegalDataException: The data "ABCDEFG " is not legal for
a JD
OM attribute: 0x0 is not a legal XML character.
at org.jdom.Attribute.setValue(Attribute.java:486)
at org.jdom.Attribute.<init>(Attribute.java:229)
at org.jdom.Attribute.<init>(Attribute.java:252)
at org.jdom.Element.setAttribute(Element.java:1120)
at
jetbrains.buildServer.util.FileUtil.writeParameter(FileUtil.java:106)

>

at
jetbrains.buildServer.vcs.impl.VcsManagerImpl.writeRootsToXml(VcsMana
gerImpl.java:455)
at
jetbrains.buildServer.vcs.impl.VcsManagerImpl.writeTo(VcsManagerImpl.
java:219)
at
jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.writeTo(
SecuredVcsManager.java:7)
at
jetbrains.buildServer.serverSide.impl.BuildServerImpl$13.run(BuildSer
verImpl.java:12)
at
jetbrains.buildServer.configuration.ChangeObserver.runActionWithDisab
ledObserver(ChangeObserver.java:58)
at
jetbrains.buildServer.serverSide.impl.BuildServerImpl.persistConfigur
ation(BuildServerImpl.java:230)
at
jetbrains.buildServer.controllers.admin.projects.EditVcsRootsControll
er.doPost(EditVcsRootsController.java:2)
at
jetbrains.buildServer.controllers.BaseFormXmlController$1.handleReque
st(BaseFormXmlController.java:1)
at
jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest
(AjaxRequestProcessor.java:3)
at
jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(Base
FormXmlController.java:12)
at
jetbrains.buildServer.controllers.BaseController.handleRequestInterna
l(BaseController.java:36)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:857)
at
org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:792)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:475)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
let.java:440)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at
jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFra
gmentFilter.java:9)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.jamonapi.JAMonFilter.doFilter(JAMonFilter.java:113)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:595)
17.10.2007 12:14:47 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:14:55 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:15:09 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:15:19 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
17.10.2007 12:15:22 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
ERROR - jetbrains.buildServer.SERVER - Error
in JS



0

Michael,

The message definitely points to the password having 0x0 character in it.

BTW, the log has "ABCDEFG " as password: note the trailing space that might be a sign of some non-printable character.

Upon saving the form with invalid character and the exception occurring on the server-side you should see an alert in the browser. Is this the case? Do you see any other "alert" messages from other sites?

What is the OS on your working station and the computer running TeamCity? What TeamCity distribution do you use?
What browser do you use?
Is there an HTTP proxy between the browser and TeamCity server?

Does the problem reproduce if you try to perform the same actions from different computer? From different browser?

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Michael Damberger

Yegor,

I wrote that before - but admittedly this by now is quite a lot to read ;)
-> the password definitely does not contain a 0x0 character.
This happens during "copy project" and this way, the vcs root is copied too.
The vcs connection works in the original project, so the password can not contain 0x0.
When I look in the project configuration xml after the project was copied - there too is no 0x0.
So, strange... isn't it? Yes, I noticed the trailing space. Sometimes there are even more spaces. More strange... Of course the original pw does not contain any spaces, and there are no spaces saved in the xml of the copied project.

Alert in the browser: yes. The problem is that my team members used to just ignore this messages and only later complain that sth. is not working.

I never saw an alert message from another site.
The OS is XP on both sides.
TeamCity distribution is the newest EAP: 5725
Browser is Firefox 2, some team members use IE7

About reproducing: the problem is that the bug does not always reproduce, I think.
But if I experience it next time I will make some tests.

No HTTP proxy used.
But I remember now that once there was some http error message in the log...

What can this be? Do you have any tipps on how to trace/debug this?
It would be nice to solve this, as it was me who introduced TC in this company,
and I'm a bit embarassed now because the team members are losing trust in TC.


Best regards,
Michael

0
Avatar
Michael Damberger

Now I have an idea: can it be a simple performace problem?

The build server is used as agent, too and we perform CPU hungry C++ builds.
Especially while linking, the ARM linker may "freeze" the server?

What do you think?


Best regards,
Michael

0

Please sign in to leave a comment.