question

Sandeep P. avatar image
Sandeep P. asked ·

Error building a custom plugin I am developing

I was able to build my plugin earlier without any issues and now I started getting this error where the diagnostics sdk jar file is empty. I am not sure what changed and why I would get an empty sdk from the server. Can someone please help me here.

ERRORS:ERROR error reading /Users/sgg/.Dynatrace/Dynatrace 7.1/client/temp/plugins/com.dynatrace.diagnostics.sdk_7.1.2.1016.jar; zip file is emptyERROR error reading /Users/sgg/.Dynatrace/Dynatrace 7.1/client/temp/plugins/com.dynatrace.diagnostics.sdk_7.1.2.1016.jar; zip file is emptyERROR package com.dynatrace.diagnostics.pdk does not existERROR package com.dynatrace.diagnostics.pdk.Violation does not existERROR cannot find symbol  symbol: class ActionERROR cannot find symbol  symbol:  class ActionEnvironment  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class ActionEnvironment  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class ActionEnvironment  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class ActionEnvironment  location: class com.dynatrace.plugin.ServiceNowActionERROR package com.dynatrace.diagnostics.sdk.resources does not existERROR method does not override or implement a method from a supertypeERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR method does not override or implement a method from a supertypeERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR cannot find symbol  symbol:  class Status  location: class com.dynatrace.plugin.ServiceNowActionERROR package Status does not existERROR method does not override or implement a method from a supertypeERROR cannot find symbol  symbol:  class Incident  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class Timestamp  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class Incident  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class Violation  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class Violation  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class TriggerValue  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  class TriggerValue  location: class com.dynatrace.plugin.ServiceNowActionERROR cannot find symbol  symbol:  variable BaseConstants  location: class com.dynatrace.plugin.utils.HelperUtils
plugins7.1diagnostics
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sandeep P. avatar image
Sandeep P. answered ·

@sebastian k. I just found out that the Dynatrace server has no disk space left to process the build and I am able to build the plugin once i cleared some disk space.

Thank you!

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sandeep P. avatar image
Sandeep P. answered ·

@sebastian k. my DT server was running with no disk space, which is failing the build. I freed up some space to fix the issue.

Thank you!

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sebastian K. avatar image
Sebastian K. answered ·

It not looks like problem with you code, rather with build environment itself. Didn't you change anything related to importing sdk to your project? The problem is somewhere there. You can check it quickly, try to generate new project from Appmon Client (with different package name), copy there your files and try to build it.

Sebastian

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sandeep P. avatar image
Sandeep P. answered ·

@sebastian k. Thanks for responding. Yes the file is empty. I did not upgrade my client. I changed a tiny piece of code in the plugin and revertedmy changes just to be sure.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sebastian K. avatar image
Sebastian K. answered ·

@Sandeep P. this file is really empty? What changes did you made last time? Client upgrade?

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sandeep P. avatar image
Sandeep P. answered ·

@Andreas G. Please help !

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.