-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins 2.53 (Windows Server 2008 x64)
analysis-core 1.84
token-macro 2.1
warnings 4.60
Hi!
Since the latest update to token-macro 2.1 (But I'm not sure that this update causes this issue), the PC-lint summary warning
(0): Warning 459: Function 'Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)' whose address was taken has an unprotected access to variable 'Gmc::CAcpChannel::Channels'
; I.e, without file-name and line-number 0, causes an exception afterwards:
[WARNINGS] Plug-in Result: Unstable - <a href="warningsResult">59 warnings</a> exceed the threshold of 0 by 59
ERROR: Build step failed with exception
java.nio.file.InvalidPathException: Illegal char <:> at index 3: Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)
{{ at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)}}
{{ at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)}}
{{ at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)}}
{{ at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)}}
{{ at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)}}
{{ at java.io.File.toPath(File.java:2234)}}
{{ at hudson.FilePath$41.invoke(FilePath.java:2011)}}
{{ at hudson.FilePath$41.invoke(FilePath.java:2006)}}
{{ at hudson.FilePath.act(FilePath.java:997)}}
{{ at hudson.FilePath.act(FilePath.java:975)}}
{{ at hudson.FilePath.copyTo(FilePath.java:2006)}}
{{ at hudson.FilePath.copyTo(FilePath.java:1982)}}
{{ at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)}}
{{ at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)}}
{{ at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)}}
{{ at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)}}
{{ at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)}}
{{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)}}
{{ at hudson.model.Build$BuildExecution.post2(Build.java:186)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)}}
{{ at hudson.model.Run.execute(Run.java:1760)}}
{{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}}
{{ at hudson.model.ResourceController.execute(ResourceController.java:97)}}
{{ at hudson.model.Executor.run(Executor.java:405)}}
Build step 'Scan for compiler warnings' changed build result to UNSTABLE
A few days before, the result of the same warning-output was "only" a (malformed) entry:
[Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *):0], PC-Lint, Priority: Normal |
Function 'Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)' whose address was taken has an unprotected access to variable 'Gmc::CAcpChannel::Channels' |
, but no exception back-trace.
Best regards from Salzburg,
Markus
- is duplicated by
-
JENKINS-43649 Build marked as failure because of crashing checkstyle
-
- Resolved
-
-
JENKINS-43566 Warnings parser throws on output from cppunit.
-
- Resolved
-
-
JENKINS-43595 Warnings parser throws on output from msbuild with timestamps
-
- Resolved
-
-
JENKINS-43617 Pipeline maven error: java.nio.file.InvalidPathException: Illegal char <:>
-
- Closed
-
[JENKINS-43531] PC-Lint summary warning leads to java.nio.file.InvalidPathException
Link |
New:
This issue is related to |
Description |
Original:
Hi! Since the latest update to token-macro 2.1 (But I'm not sure that this update causes this issue), the PC-lint summary warning (0): Warning 459: Function 'Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)' whose address was taken has an unprotected access to variable 'Gmc::CAcpChannel::Channels' ; I.e, without file-name and line-number 0, causes an exception afterwards: {quote}{{[WARNINGS] Plug-in Result: Unstable - <a href="warningsResult">59 warnings</a> exceed the threshold of 0 by 59}} {{ERROR: Build step failed with exception}} {{java.nio.file.InvalidPathException: Illegal char <:> at index 3: Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)}} {{ at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)}} {{ at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)}} {{ at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)}} {{ at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)}} {{ at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)}} {{ at java.io.File.toPath(File.java:2234)}} {{ at hudson.FilePath$41.invoke(FilePath.java:2011)}} {{ at hudson.FilePath$41.invoke(FilePath.java:2006)}} {{ at hudson.FilePath.act(FilePath.java:997)}} {{ at hudson.FilePath.act(FilePath.java:975)}} {{ at hudson.FilePath.copyTo(FilePath.java:2006)}} {{ at hudson.FilePath.copyTo(FilePath.java:1982)}} {{ at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)}} {{ at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)}} {{ at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)}} {{ at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)}} {{ at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)}} {{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)}} {{ at hudson.model.Build$BuildExecution.post2(Build.java:186)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)}} {{ at hudson.model.Run.execute(Run.java:1760)}} {{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}} {{ at hudson.model.ResourceController.execute(ResourceController.java:97)}} {{ at hudson.model.Executor.run(Executor.java:405)}} {{Build step 'Scan for compiler warnings' changed build result to UNSTABLE}} {quote} A few days before, the result of the same warning-output was "only" a (malformed) entry: |[Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *):0|http://brateggevmo1.br-automation.co.at:8080/job/GMC_NightlyLint/164/warnings0Result/source.1501563220047976494/#1], PC-Lint, Priority: Normal| |*Function 'Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)' whose address was taken has an unprotected access to variable 'Gmc::CAcpChannel::Channels'*| , but no exception back-trace. Best regards from Salzburg, Markus |
New:
Hi! Since the latest update to token-macro 2.1 (But I'm not sure that this update causes this issue), the PC-lint summary warning (0): Warning 459: Function 'Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)' whose address was taken has an unprotected access to variable 'Gmc::CAcpChannel::Channels' ; I.e, without file-name and line-number 0, causes an exception afterwards: {quote}{{[WARNINGS] Plug-in Result: Unstable - <a href="warningsResult">59 warnings</a> exceed the threshold of 0 by 59}} {{ERROR: Build step failed with exception}} {{java.nio.file.InvalidPathException: Illegal char <:> at index 3: Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)}} {{ at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)}} {{ at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)}} {{ at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)}} {{ at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)}} {{ at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)}} {{ at java.io.File.toPath(File.java:2234)}} {{ at hudson.FilePath$41.invoke(FilePath.java:2011)}} {{ at hudson.FilePath$41.invoke(FilePath.java:2006)}} {{ at hudson.FilePath.act(FilePath.java:997)}} {{ at hudson.FilePath.act(FilePath.java:975)}} {{ at hudson.FilePath.copyTo(FilePath.java:2006)}} {{ at hudson.FilePath.copyTo(FilePath.java:1982)}} {{ at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)}} {{ at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)}} {{ at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)}} {{ at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)}} {{ at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)}} {{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)}} {{ at hudson.model.Build$BuildExecution.post2(Build.java:186)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)}} {{ at hudson.model.Run.execute(Run.java:1760)}} {{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}} {{ at hudson.model.ResourceController.execute(ResourceController.java:97)}} {{ at hudson.model.Executor.run(Executor.java:405)}} {{Build step 'Scan for compiler warnings' changed build result to UNSTABLE}} {quote} A few days before, the result of the same warning-output was "only" a (malformed) entry: |[Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *):0], PC-Lint, Priority: Normal| |*Function 'Gmc::CAcpChannel::TcFunctCyclicNetworkData(const void *)' whose address was taken has an unprotected access to variable 'Gmc::CAcpChannel::Channels'*| , but no exception back-trace. Best regards from Salzburg, Markus |
Link |
New:
This issue is related to |
Link |
New:
This issue relates to |
Link |
New:
This issue is duplicated by |
Link |
Original:
This issue is related to |
Link |
New:
This issue is duplicated by |
Link |
New:
This issue is duplicated by |
Component/s | New: core [ 15593 ] |