Top Java Software Errors

Top Java Software Errors: 50 Common Java Errors and How to Avoid Them

Stackify Developer Tips, Tricks & Resources, Insights for Dev Managers

Imagine, you are developing Java software and suddenly you encounter an error? Where could you have possibly gone wrong? There are many types of errors that you will encounter while developing Java software, but most are avoidable. Some errors are minor lapses when writing codes but that is very much mendable. If you have an error monitoring tool such as …

How To Handle Java Exceptions

9 Best Practices to Handle Exceptions in Java

Alexandra Altvater Developer Tips, Tricks & Resources

Exception handling in Java isn’t an easy topic. Beginners find it hard to understand and even experienced developers can spend hours discussing how and which Java exceptions should be thrown or handled. That’s why most development teams have their own set of rules on how to use them. And if you’re new to a team, you might be surprised how …

Logging Levels 101

Carlos Schults Developer Tips, Tricks & Resources

If you’re a software developer, then you understand how vital application logging is in software development and a critical part of logging is something called logging levels. Log entries generally contain essential information—such as a timestamp, a message, and sometimes additional stuff like an exception’s stack trace. Those pieces of information are useful because they allow someone reading the log entry to …

How to Rescue Exceptions in Ruby

Rich Dammkoehler Developer Tips, Tricks & Resources

Exceptions are a commonly used feature in the Ruby programming language. The Ruby standard library defines about 30 different subclasses of exceptions, some of which have their own subclasses. The exception mechanism in Ruby is very powerful but often misused. This article will discuss the use of exceptions and show some examples of how to deal with them. What is …

Common Mistake to Avoid with Java Exception Handling

7 Common Mistakes You Should Avoid When Handling Java Exceptions

Thorben Janssen Developer Tips, Tricks & Resources

Handling an exception is one of the most common but not necessarily one of the easiest tasks. It is still one of the frequently discussed topics in experienced teams, and there are several best practices and common mistakes you should be aware of. Here are a few things you should avoid when handling exceptions in your application. Mistake 1: Specify …

DotNet Errors and How to Fix Them

Top .NET Software Errors: 50 Common Mistakes and How to Fix Them

Alexandra Altvater Developer Tips, Tricks & Resources

Developing in .NET provides several powerful benefits, including less overall code, improved security, ease of updates/changes, and language independence. That said, the system isn’t without errors and problems. From common exceptions to coding mistakes to incorrect assumptions, most of these issues come down to programmer error. The list below shares the 50 top .NET software errors from around the web. …

What's a C# Throw Exception?

How to Throw C# Exceptions Like a Major League Pro: Examples, Best Practices, and Everything You Need to Know

Alexandra Altvater Developer Tips, Tricks & Resources

Practically everyone who has ever used a web page or an app has encountered an exception at one point or another, but they probably didn’t realize what it was. Exceptions are pretty common ways to handle unexpected inputs but are they always the right way to handle such problems? In this post, we’ll take a closer look at C# exceptions, …

Application Dependency Mapping

Application Dependency Mapping & Performance

Matt Watson Developer Tips, Tricks & Resources

Modern applications tend to rely on many application dependencies. Most applications use some form of database and external HTTP based web services. If you are not intimately familiar with the code, it can be very difficult to know exactly what the code does and what dependencies that it has. It is also very important to understand the performance of those …

How to Use Web.Config customErrors for ASP.NET

Matt Watson Developer Tips, Tricks & Resources

The ASP.NET framework provides built-in settings to control how to respond when application errors occur. This functionality is part of the Web.Config customErrors settings section. Configuration Options for Web.Config <customErrors> Like most web.config settings, customErrors can be configured within the Machine.config, root web.config or your application’s web.config file. Usually, it is set in the web.config file for your application. CustomErrors …

Get tips for error handling in ASP.Net

Best Practices for Error Handling in ASP.NET MVC

Matt Watson Developer Tips, Tricks & Resources

Error handling is an important part of any application. ASP.NET provides several different ways to handle errors. In this article, we will review MVC error handling best practices. 5 Ways to do MVC Error Handling Between .NET, ASP.NET, and MVC there are several potential ways to handle application errors. Web.Config customErrors MVC HandleErrorAttribute Controller.OnException method HttpApplication Application_Error event Collect exceptions via …

How to Monitor # of Exceps Thrown / Sec

Understanding # of Exceptions Thrown / Sec and How to Find Exceptions

Matt Watson Developer Tips, Tricks & Resources, Popular

Exceptions can cause big performance problems. One of the most important performance metrics to track about your application is “# of Exceps Thrown / Sec“. It is available via Windows Performance Counters under the category .NET CLR Exceptions. In this article we will talk about exceptions, how to monitor your exception rate and find the actual exceptions being thrown. Is …

What is an Unhandled Exception

What is an Unhandled Exception and How to Find Them

Matt Watson Developer Tips, Tricks & Resources

What is an Unhandled Exception? An exception is a known type of error. An unhandled exception occurs when the application code does not properly handle exceptions. For example, When you try to open a file on disk, it is a common problem for the file to not exist. The .NET Framework will then throw a FileNotFoundException. This is a simple example …

Software Error vs Exception – In Real World Examples

Matt Watson Developer Tips, Tricks & Resources

After 15+ years of software development, I still use the words error and exception interchangeably. But is there a difference between error and exception? I think it is best to make the distinction with some examples of errors vs exceptions. Example #1: Dishwasher Errors Let’s use this example of a dishwasher. Both images depict a problem, or error, that happened with …

Finding Hidden Exceptions in Your Application with Prefix

Matt Watson Developer Tips, Tricks & Resources

Prefix enables developers to easily see what their code is doing as they write and test their code, including SQL queries, HTTP calls, errors, logs, and much more. One of the best features of Prefix is its ability to see all of the exceptions that are occurring in your code. There are 3 types of exceptions: Unhandled – the user got a …

Carbonite and Retrace APM

Carbonite: “We turned on Retrace, within minutes we’ve identified the performance issue”

Alexandra Altvater Stackify Product & Company Updates

” We turned on APM+ and within a couple of minutes were able to identify the issue and a few hours later push out a fix.” Who is Carbonite? Carbonite is a leading provider in backup recovery and archiving solutions for small businesses and home users.  We fuel continuity by providing powerful yet simple tools to help keep businesses in …

GeeksWithBlog log

How GWB Found Hidden Exceptions and Application Performance Problems

Matt Watson Stackify Product & Company Updates

  Exceptions in .NET can be very expensive when it comes to CPU cycles. Read how Geeks with Blogs (http://geekswithblogs.net) used Retrace to improve the performance of their application. About Geeks with Blogs (GWB) Thousands of software developers use Geeks with Blogs (GWB) to host their own personal blog. The code base has slowly morphed and has been modified by several developers over …

Context to exceptions

3 Data Sets That Bring Context to Exceptions

Craig Ferril Insights for Dev Managers

Even the smallest exception can cause material damage to your company’s operations, which, in turn can have repercussions on revenue. So it’s obviously important to have a grasp on your plan to track and troubleshoot exceptions.  It seems like a simple enough process – the exception is raised, you look at it, and then make changes to your app so …