Jump to content
  • 0

Help any ideas?


remigas
 Share

Question

i got some error in console any ideas whats wrong?

 

Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException
Exception in a Runnable execution:java.lang.NullPointerException

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 2

Edit ThreadPool.TaskWrapper RuntimeException log for :

LOG.log(Level.SEVERE, "Exception in a ThreadPool task execution.", e);

Then edit ConsoleLogFormatter for following :

	@Override
	public String format(LogRecord record)
	{
		final StringBuilder sb = new StringBuilder(500);
		
		StringUtil.append(sb, record.getMessage(), CRLF);
		
		final Throwable throwable = record.getThrown();
		if (throwable != null)
		{
            for (StackTraceElement traceElement : throwable.getStackTrace())
                StringUtil.append(sb, "\tat ", traceElement, CRLF);
		}
		
		return sb.toString();
	}

You should be able to see the full error in both log/error folder and console.

 

Will be part of next aCis revision.

Link to comment
Share on other sites

  • 0
42 minutes ago, Tryskell said:

 


	@Override
	public String format(LogRecord record)
	{
		final StringBuilder sb = new StringBuilder(500);
		
		StringUtil.append(sb, record.getMessage(), CRLF);
		
		final Throwable throwable = record.getThrown();
		if (throwable != null)
		{
            for (StackTraceElement traceElement : throwable.getStackTrace())
                StringUtil.append(sb, "\tat ", traceElement, CRLF);
		}
		
		return sb.toString();
	}

 

thanks

Link to comment
Share on other sites

  • 0
12 minutes ago, remigas said:

Fixed you can lock it, it was wrong code in custom added :) tnx anyway guys :)

 

Locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...