Microsoft Outlook 2016 Microsoft Windows Server 2008 R2 Standard failed with application error 1000

I have been trying to fix an error message on our Server 2008 RDS server farm for about 3 weeks and am getting nowhere. Randomly Outlook 2016 freezes and freezes. Sometimes it recovers and the user can continue with his work and other times he bombards and throws the user completely out of Outlook.
From what I can see it creates an event log id of 1000. Application error 1000

Faulting application name: OUTLOOK.EXE, version: 16.0.4966.1000, time stamp: 0x5e205f31
Faulting module name: OUTLOOK.EXE, version: 16.0.4966.1000, time stamp: 0x5e205f31
Exception code: 0xc0000005
Failure compensation: 0x0000000000bd5aa0
Identification of the process with errors: 0x7a00
Failed application start time: 0x01d60c1f44f8c35d
Wrong application path: C: Program Files Microsoft Office Office16 OUTLOOK.EXE
Faulting module path: C: Program Files Microsoft Office Office16 OUTLOOK.EXE
Report ID: e8ed2ff4-781a-11ea-85f0-005056a21772

The servers are completely up to date, I have reinstalled Office, I run registry cleaners. The only thing I have not done is delete Office, run sfc / scan and reinstall Office.
The mistake is common with all 6 RDS servers, so I am reluctant to do it now.
I am in the midst of building our new RDS environment, but it has been discontinued, for obvious reasons. Very frustrating! Any help is appreciated.

magento2.3 – Magento 2 Add anchor link in warning, error or success message

Replace the following code with your code and check.

getNoResultText()) ? $block->getNoResultText() : __('Your search returned no results. Use our Part Finder or Contact page if you cannot find what your looking for as we may have it or can order it in.',$this->getUrl('partfinder'), $this->getUrl('contact')) ?> getAdditionalHtml() ?> getNoteMessages()):?>

Hope this will help you.

java – android studio firebase error read data

@Override
    public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
        final Post post = mPosts.get(position);

            holder.username.setText(this.username);

            if(imgURL.equals("default"))
                holder.img_perfil.setImageResource(R.drawable.ic_person_red);
            else
                Glide.with(mContext).load(imgURL).into(holder.img_perfil);


            holder.mensaje.setText(post.getMessage());


            if(post.getEstado_animo().equals("Normal"))
                holder.animo.setImageResource(R.drawable.ic_cara_normal);
            else if(post.getEstado_animo().equals("Triste"))
                holder.animo.setImageResource(R.drawable.ic_cara_triste);
            else if(post.getEstado_animo().equals("Feliz"))
                holder.animo.setImageResource(R.drawable.ic_cara_feliz);

    }

That Post list comes from this method

private void leerPost(){
        mPosts = new ArrayList<>();

        reference = FirebaseDatabase.getInstance().getReference("Posts");
        reference.addValueEventListener(new ValueEventListener() {
            @Override
            public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
                mPosts.clear();

                for (DataSnapshot snapshot : dataSnapshot.getChildren()){
                    Post post = snapshot.getValue(Post.class);


                            mPosts.add(post);


                    DatabaseReference reference2 = FirebaseDatabase.getInstance().getReference("Users").child(post.getSender());
                    reference2.addValueEventListener(new ValueEventListener() {
                        @Override
                        public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
                            User user = dataSnapshot.getValue(User.class);

                            postAdapter = new PostAdapter(getContext(), mPosts, user.getUsername(), user.getImageURL());
                            recyclerView.setAdapter(postAdapter);
                        }

                        @Override
                        public void onCancelled(@NonNull DatabaseError databaseError) {

                        }
                    });


                }

            }

            @Override
            public void onCancelled(@NonNull DatabaseError databaseError) {

            }
        });



    }

What I have is in a FireBase database a "Post" reference where there are "sender" values ​​"Message" "Encourage" each user created can create a post and what I want is to be able to collect all those posts and display their message etc. but it generates this annoying error that I don't know how to fix, create the PostAdapter to be able to create the RecyclerView inside a Fragment. I appreciate your help.

Here is the error "PID: 18504 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals (java.lang.Object)' on a null object reference"

if statement: Python error: NoneType 'object is not subscriptable

I have this problem and spent 2 days trying to solve it without success, could you help me?

This is the error

if board(i)(j) != ttt.EMPTY:
TypeError: 'NoneType' object is not subscriptable

And this is the essential part of the code:

X = "X"
O = "O"
EMPTY = " "
def initial_state():
    """
    Returns starting state of the board.
    """
    initial_state= ((EMPTY, EMPTY, EMPTY),
            (EMPTY, EMPTY, EMPTY),
            (EMPTY, EMPTY, EMPTY))

board = ttt.initial_state()

if board(i)(j) != ttt.EMPTY:

Thank you

error handling: what should i return as response for asp.net core 3.1 web api with ef core 3.0 and repository pattern

Basically what I'm asking is what's the correct way to return data from a controller
implementing repository pattern. Here is the code from my controller:

using Demo.Repository;
using Demo.Models.Dtos;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;


namespace Demo.Controllers
{
    (Route("api/roles"))
    (ApiController)
    (Authorize)
    (EnableCors("CorsPolicy"))

public class RolesController : ControllerBase
{
    private readonly IRoleRepository _rolesRepo;

    public RolesController(IRoleRepository rolesRepo)
    {
        _rolesRepo = rolesRepo;
    }


    (HttpGet)
    public IActionResult Get((FromQuery)PageDto pageDto)
    {
        var result = _rolesRepo.GetRoles(pageDto.PageNo, pageDto.PageSize).Result;
        return Ok(result);
    }


    (HttpPost("create"))
    public IActionResult Post(RoleDto rolesDto)
    {
        var result = _rolesRepo.CreateRole(rolesDto).Result;
        return result;
    }


    (HttpPut)
    public IActionResult Put(RoleDto roleDto)
    {
        var response = _rolesRepo.EditRole(roleDto).Result;
        return response;
    }


    (HttpPost("delete"))
    public IActionResult Delete(RoleDto roleDto)
    {
        var result = _rolesRepo.DeleteRole(roleDto).Result;
        return result;
    }
    }
}

and this is the repository interface

using Demo.Models;
using Demo.Models.Dtos;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;

namespace Demo.Repository
{
    public interface IRoleRepository
    {
        Task> GetRoles(int pageNo, int pageSize);

        Task CreateRole(RoleDto roleDto);

        Task EditRole(RoleDto roleDto);

        Task DeleteRole(RoleDto roleDto);
    }
}

and this is the implementation of the repository

using Demo.Models;
using Demo.Repository;
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
using AutoMapper;
using Demo.Models.Dtos;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using System.Linq;

namespace Data.Data
{
    public class RolesData : IRoleRepository
    {
        private readonly DemoContext _db;
        private readonly IMapper _mapper;

        public RolesData(DemoContext db, IMapper mapper)
        {
            _db = db;
            _mapper = mapper;
        }


        public async Task CreateRole(RoleDto roleDto)
        {
            try
            {
                var roles = _mapper.Map(roleDto);
                await _db.AddAsync(roles);
                var result = await _db.SaveChangesAsync();

                if (result > 0)
                    return new StatusCodeResult(StatusCodes.Status201Created);
                else
                    return new StatusCodeResult(StatusCodes.Status400BadRequest);
            }
            catch (Exception e)
            {
                //To Do LogException(e);
                return new StatusCodeResult(StatusCodes.Status500InternalServerError);
            }
        }


        public async Task DeleteRole(RoleDto roleDto)
        {
            try
            {
                var role = _mapper.Map(roleDto);

                _db.Remove(role);
                var result = await _db.SaveChangesAsync();

                if (result > 0)
                    return new StatusCodeResult(StatusCodes.Status201Created);
                else
                    return new StatusCodeResult(StatusCodes.Status400BadRequest);
            }
            catch (Exception e)
            {
                //To Do LogException(e);
                return new StatusCodeResult(StatusCodes.Status500InternalServerError);
            }
        }


        public async Task EditRole(RoleDto roleDto)
        {
            try
            {
                var role = _mapper.Map(roleDto);

                _db.Entry(role).State = EntityState.Modified;
                var result = await _db.SaveChangesAsync();

                if (result > 0)
                    return new StatusCodeResult(StatusCodes.Status200OK);
                else
                    return new StatusCodeResult(StatusCodes.Status400BadRequest);
            }
            catch (Exception)
            {
                return new StatusCodeResult(StatusCodes.Status500InternalServerError);
                //throw;
            }
        }


        public async Task> GetRoles(int pageNo, int pageSize)
        {
            PagedResult roleList = new PagedResult();
            List roles = new List();
            Pagination pagination = new Pagination();

            try
            {
                var query = _db.Roles;
                var result = await query.Skip((pageNo - 1) * pageSize).Take(pageSize).ToListAsync();
                result = result.OrderBy(x=>x.Id).ToList();
                var count = query.Count();

                pagination.RowCount = query.Count();
                pagination.CurrentPage = pageNo;

                pagination.PageCount = (int)Math.Ceiling(count / (float)pageSize);
                pagination.PageSize = pageSize;

                roles = _mapper.Map>(result);

                roleList.Results = roles;
                roleList.Pagination = pagination;

                return roleList;
            }
            catch (Exception)
            {
                throw;
            }
        }
    }
}

As you can see, I am returning an http status code from my repository indicating the success or failure of the data operation and returning the same controller status code.

This is working but I don't think it is the best way to do things. First of all, I want my repository class for strictly related data, but to return the status code I have to use Microsoft.AspNetCore.Http I don't think I should belong to this class. Now I can do this instead:

public async Task CreateRole(RolesDto rolesDto)
        {
            try
            {
                var roles = _mapper.Map(rolesDto);
                await _db.AddAsync(roles);
                int result = await _db.SaveChangesAsync();

                if (result > 0)
                {
                     //return success or something
                }
            }
            catch(Exception)
            {
                //To Do LogException(e);
                throw;
            }
        }

but what should I return in exception and not only here but also in the controller. I tried this on my controller –

(HttpPost("create"))
        public IActionResult Post(RolesDto rolesDto)
        {
            try
            {
                if (!ModelState.IsValid)
                    return BadRequest(ModelState);

                var result = _rolesRepo.CreateRole(rolesDto).Result;

                if (result == "success")
                    return Ok(result);

                else
                    return NotFound("No data found");

            }
            catch (Exception e)
            {
                return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
            }
        }

which looks great, but what should I return except in my repository class? Or am I doing everything correctly (I mean the recommended way) or should I change something?

Note: I know I can create a middleware to handle exceptions and I have, but that's not what I'm asking for.

security: what kind of error does the bitcoin core have that must be replicated

In order to build a bitcoin client accepted by current bitcoin nodes, we must emulate the C ++ code present in the main bitcoin client, with all its effect, including errors.

Do we have examples of errors that must be present to have a working bitcoin core client?

Java: how to fix coverage error for insecure deserilization when calling idle endpoint?

JsonNode response = restTemplate.getForObject(url, JsonNode.class);

Giving error like –
tainted_source: org.springframework.web.client.RestTemplate.getForObject (java.lang.String, java.lang.Class, java.lang.Object ()) returns data from an HTTP request.

the response is deserialized as shown below and gives the following error:

CollectionType collectionType = TypeFactory.defaultInstance().constructCollectionType(List.class,
        Object.class);

Insecure deserialization (UNSAFE_DESERIALIZATION)
3. sink: a response of contaminated value is deserialized. This can allow an attacker to bypass security checks or execute arbitrary code.
(If possible, use pure data formats like JSON or XML to serialize and deserialize untrusted data. Otherwise, if you must use native serialization methods, check the integrity of the data (eg with HMAC) before deserializing it ).

How can we serialize insecure data or how can we make it secure.

dslr: what can I do when my Nikon D5200 produces SD card error with each card?

My D5200 has developed a problem, every time I turn it on I get the error message "This memory card cannot be used. The card may be damaged. Insert another card." I have tried multiple memory cards on the camera and tried them on another camera to make sure they work, but the message still shows. I followed the following instructions from Nikon but the problem persists.

  1. Remove the battery, memory card, and lens for about 30 seconds

  2. Re-insert only the lens and battery, turn on the camera
    make sure you are using an approved card: Answer Title: D5200 Approved SD Cards Answer Link: https: //support.nikonusa.com/app/answers/detail/a_id/18424

  3. Camera settings can be restored to default values ​​by holding down the "Menu" and "i" buttons together for more than two seconds

(These buttons are marked with a green dot). The information display turns off briefly while the settings are reset.

  1. Press the menu button and select the custom settings menu

  2. Select "F" for the controls and then the labels "F4" "Empty Slot Release Lock"

  3. Highlight "Enable Release"

  4. Test the camera without a card / then reinsert the card and try again

After this, I can take photos in demo mode, but the SD card still gives error.

I bought this a year and a half ago in the United States. I am in Canada, and Nikon wants me to send it to the USA. USA And he says it will cost more than $ 400. This is too much for me. Can anyone suggest how to fix this?

node.js – Nodejs cannot log in – error says Can't read & # 39; models & # 39; of undefined properties –

I have inherited a Nodejs / mongodb project, a story left by the developer, the web application worked and no longer works. So I am trying to understand why. I am a PHP developer transitioning to node, mongo, mongoose, express … whatever, but I just started and the help would be really good.

So you live on NGINX server, Linux Debian 9, node 12, Mongo 4, used to have SSL certificate but now expired.

Here is the link: http://plataforma.drsmile.pe/ – I know it is in Spanish.

Just click "Create an account" (below), it will display the input fields once filled out and the error will appear when trying to submit the error.
enter the image description here

Google Sheets: Autocomplete attempt, but I don't want the error in the cells of the dates for which I still don't have data

So I created a function. For the dates for which I have data, it works fine. For the dates to come, I only have a bunch of cells with error messages. I want it to complete automatically as I put data in each new day. How can I reject the error message in the cells for the dates to come?