jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna P <purnasat...@gmail.com>
Subject Re: The blank final field LOGGER may not have been initialized
Date Fri, 21 Apr 2017 19:36:47 GMT
Thank you Felix. that helped.

I did go to that page, but didnt have the persistence to scroll down to see
what changes are related to the Logger.

Thank you again.

On Thu, Apr 20, 2017 at 9:42 PM, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

>
>
> Am 20. April 2017 17:29:30 MESZ schrieb Krishna P <purnasatyap@gmail.com>:
> >*Apologies for the previous incomplete email. Hit send accidentally. *
> >
> >
> >*Also, I hope this is the proper forum to ask a development question
> >like
> >this. If not, let me know where I should post. *
> >
> >Hi All.
> >
> >I am trying to build a ElasticSearch Listener based on
> >AbstractBackendListenerClient.
> >
> >Looks like these two libraries are depreciated.
> >
> >[image: Inline image 2]
>
> The images are stripped by the mailing list software. Just put the names
> of the libs as text in the mails. It is simpler and easier to read.
>
> Have a look at http://jmeter.apache.org/changes.html especially the
> paragraph logging changes.
>
> >
> >import org.apache.jorphan.logging.LoggingManager;
> >import org.apache.log.Logger;
> >
> >and when I use the below line,
> >
> >private static final Logger LOGGER;
> >
> >I am getting a following error,
> >
> >The blank final field LOGGER may not have been initialized.
>
> Where do you get the error? You will have to initialize the field in the
> constructor.
>
> Regards,
> Felix
>
> >
> >[image: Inline image 1]
> >
> >I am just trying to rebuild the existing code and getting this error.
> >And I
> >have included all the needed external libraries which I felt should be
> >included.
> >
> >[image: Inline image 3]
> >
> >Let me know if I missed anything and how should I solve the Logger
> >error.
> >
> >Regards,
> >KK
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message