Systems | Development | Analytics | API | Testing

Rollbar

Rollbar Log4J CVE-2021-44228 ("Log4Shell") Community Update

Your data is safe with Rollbar. A zero day in the Java ecosystem was discovered that could exploit Apache’s Log4J library. The vulnerability can, potentially, impact users of Rollbar’s Java SDK if they selected Log4J for their project. We recommend that all projects that are dependent on Log4J upgrade their dependencies so they require a version at/after 2.16.0.

How to Handle Unhashable Type List Exceptions in Python

The Python TypeError: unhashable type: 'list' usually means that a list is being used as a hash argument. This error occurs when trying to hash a list, which is an unhashable object. For example, using a list as a key in a Python dictionary will cause this error since dictionaries only accept hashable data types as a key. The standard way to solve this issue is to cast a list to a tuple, which is a hashable data type.

How to Catch Multiple Exceptions in Python?

When a program encounters an exception during execution, it is terminated if the exception is not handled. By handling multiple exceptions, a program can respond to different exceptions without terminating it. In Python, try-except blocks can be used to catch and respond to one or multiple exceptions. In cases where a process raises more than one possible exception, they can all be handled using a single except clause.

Resolving TypeError: "X" is Not a Constructor in JavaScript

A constructor is a special function that creates and initializes an object instance of a class. In JavaScript, a constructor gets called when an object is created using the new keyword. The purpose of a constructor is to create a new object and set values for any existing object properties.

How to Handle the <Identifier> Expected Error in Java

By definition, an identifier in Java is a sequence of one or more characters, where the first character must be a valid first character (letter, $, _) and each subsequent character in the sequence must be a valid non-first character (letter, digit, $, _). An identifier can be used to name a package, a class, an interface, a method, a variable, etc.

Spring vs. Spring Boot, Whats the Difference?

Spring is the most popular application development framework in Java. However, over the past few years, Spring has become increasingly complex because of added functionalities. Starting a new project usually requires going through a lengthy process and takes a lot of time. To avoid starting from scratch and to save time, Spring Boot was introduced. Spring Boot uses Spring as its foundation layer and allows developers to build a standalone application with none or minimal configuration.