Skip to content

Instantly share code, notes, and snippets.

@jztech101
jztech101 / Stacktrace
Created June 23, 2014 17:20
Stacktrace
http://pastebin.com/MvgetAL3
@jztech101
jztech101 / StackTrace
Created June 23, 2014 17:21
Stack Trace
[listenerPool1-thread4] ERROR org.pircbotx.hooks.managers.ThreadedListenerManager - Exception encountered when executing event MessageEvent(channel=Channel(name=#directcode, channelId=0c10b5e5-7402-4896-9838-4653c55388dc, dao=org.pircbotx.UserChannelDao@5d9113d5, bot=Version{PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - pircbotx.googlecode.com} Connected{true} Server{irc.esper.net} Port{6667} Password{null}, output=org.pircbotx.Channel$1@542f2a88, mode=+Fnt, topic=directcode - Open Source Code Group - Check out the new Build Server: http://97.89.142.11:8111/ - undefined != null, topicTimestamp=1403499044000, createTimestamp=1392668602, topicSetter=Alexander!~kaendfing@I.got.g-lined.cu.cc, moderated=false, noExternalMessages=true, inviteOnly=false, secret=false, channelPrivate=false, topicProtection=true, channelLimit=-1, channelKey=null, modeStale=false, modeLatch=null), user=User(bot=Version{PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - pircbotx.googlecode.com} Connected{true} Server{irc.espe
[2014/06/23 16:40:23] [listenerPool1-thread2] [ERROR] org.pircbotx.hooks.managers.ThreadedListenerManager - Exception encountered when executing event MessageEvent(channel=Channel(name=#directcode, channelId=a3060871-4ced-4c18-b7ea-d6432b0324ee, dao=org.pircbotx.UserChannelDao@78821b84, bot=Version{PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - pircbotx.googlecode.com} Connected{true} Server{irc.esper.net} Port{6667} Password{null}, output=org.pircbotx.Channel$1@2bc4a0fb, mode=+Fnt, topic=directcode - Open Source Code Group - Check out the new Build Server: http://97.89.142.11:8111/ - undefined != null, topicTimestamp=1403499044000, createTimestamp=1392668602, topicSetter=Alexander!~kaendfing@I.got.g-lined.cu.cc, moderated=false, noExternalMessages=true, inviteOnly=false, secret=false, channelPrivate=false, topicProtection=true, channelLimit=-1, channelKey=null, modeStale=false, modeLatch=null), user=User(bot=Version{PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - pircbotx.googlecode.com} Connect
[2014/06/24 16:13:23] [listenerPool1-thread3] [INFO] org.pircbotx.output.OutputRaw - PRIVMSG #directcode :temperature | 82 °F
conditions | clear
relative humidity | 40% (dew point: 55 °F)
wind speed | 5 mph
(1 hour 20 minutes ago) between 58 °F and 79 °F
clear (all day) between 63 °F and 68 °F
clear (night to early morning) | rain (early morning onward) | partly cloudy (early morning onward)| rain: 33.9% (1.6 days) | fog: 0.6% (40 minutes)
|
maximum: 0.01 in/h
Wed, Jun 25, 5:00pm
package com.techcavern.wavetact.utils;
import com.techcavern.wavetact.objects.Command;
import com.techcavern.wavetact.objects.SimpleAction;
import com.techcavern.wavetact.objects.SimpleMessage;
import org.pircbotx.MultiBotManager;
import org.pircbotx.PircBotX;
import java.util.ArrayList;
import java.util.Arrays;
apply plugin: 'java'
repositories {
jcenter()
}
dependencies {
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'org.pircbotx:pircbotx:2.0.1'
compile 'com.google.code.gson:gson:2.2.4'

multi-net Capability Extension

Copyright (c) 2014 TrainerGuy22.

The multi-net capability would allow for clients to have different servers handled through a single connection. This functionality is intended to bring multiplexing capabilities to IRC bouncers, with rich client integration.

This will be achieved by simply adding a net tag to every message sent between the client and the bouncer. This would be in addition to the connected irc server without the prefix,

[ArrayList][CommandChar] Adding Object: 'com.techcavern.wavetact.objects.CommandChar@7ee955a8'
Exception in thread "main" java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
at com.techcavern.wavetact.utils.IRCUtils.lambda$loadSimpleMessages$1(IRCUtils.java:274)
at com.techcavern.wavetact.utils.IRCUtils$$Lambda$2/1254344205.apply(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1359)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
Error:(25, 44) java: no suitable method found for addAll(java.util.List<java.lang.Object>)
method java.util.Collection.addAll(java.util.Collection<? extends java.lang.String>) is not applicable
(argument mismatch; inference variable R has incompatible bounds
equality constraints: java.util.List<java.lang.Object>
upper bounds: java.util.Collection<? extends java.lang.String>,java.lang.Object)
method java.util.List.addAll(java.util.Collection<? extends java.lang.String>) is not applicable
(argument mismatch; inference variable R has incompatible bounds
equality constraints: java.util.List<java.lang.Object>
upper bounds: java.util.Collection<? extends java.lang.String>,java.lang.Object)
/home/jztech101/ideaprojects/WaveTact/src/main/java/com/techcavern/wavetact/utils/objects/objectUtils/PermUserUtils.java
[2014/07/05 19:06:08] [listenerPool0-thread2] [ERROR] org.pircbotx.hooks.managers.ThreadedListenerManager - Exception encountered when executing event MessageEvent(channel=Channel(name=#techcavern, channelId=04b19129-0422-4b93-b87e-f23d05568fee, dao=org.pircbotx.UserChannelDao@23ea0c41, bot=Version{PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - pircbotx.googlecode.com} Connected{true} Server{irc.esper.net} Port{6667} Password{null}, output=org.pircbotx.Channel$1@5b70592b, mode=+ntz, topic= blahblah blahblah blah|| blahtest, topicTimestamp=1404521726000, createTimestamp=1385927613, topicSetter=WaveTactDev!~WaveTact@c-24-0-88-89.hsd1.nj.comcast.net, moderated=false, noExternalMessages=true, inviteOnly=false, secret=false, channelPrivate=false, topicProtection=true, channelLimit=-1, channelKey=null, modeStale=false, modeLatch=null), user=User(bot=Version{PircBotX 2.0.1, a fork of PircBot, the Java IRC bot - pircbotx.googlecode.com} Connected{true} Server{irc.esper.net} Port{6667} Password{null}, dao=org.p