Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Tags
java x 13
c x 5
xml x 1
Member Avatar for Bartosz

Hi there, I have two seperate programs - one is a Client, and the other one is Server. I am trying to send an object from Client to Server, but I am getting following error: Exception in thread "main" java.lang.ClassNotFoundException: airtrafficcontrol.AirplaneDetails at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at …

Member Avatar for JamesCherrill
0
293
Member Avatar for Bartosz

I am trying to assign a method to a varibale called from a constructor, but it returns null when I am calling it. public class ProjectManager { Calculation a = new Calculation(); private Scanner in = new Scanner(System.in); private Scanner price = new Scanner(System.in); private Scanner duration = new Scanner(System.in); …

Member Avatar for JamesCherrill
0
457
Member Avatar for Bartosz

Hello there, In my program I have an object of a class with some values, and I am trying to create another object, populate it to array and add it to my object. class AdvertisementType { public String getWebAdvert() { return webAdvert; } public String getEmailAdvert() { return emailAdvert; } …

Member Avatar for Taywin
0
284
Member Avatar for Bartosz

Hello, I am having a problem with my application. I have designed a class - DisplayClientRequest which has a constructor and some setters and getter. Apart from this i built very simple JavaFX GUI application. For instance if I create a method in my DisplayClientRequest with paramteres, how would I …

Member Avatar for Bartosz
0
2K
Member Avatar for Bartosz

Hello there, I am having a problem with small application. I have used gdb and following error appeared: strlen() segmentation fault. Could anyone help me to find out solution? int main(int argc, char* argv[]){ char* name = malloc(strlen(argv[1])); name = strcpy(name, argv[1]); printf("%s \n", name); return EXIT_SUCCESS; }

Member Avatar for Bartosz
0
3K
Member Avatar for Bartosz

How can I use maxOccurs correctly in my code ?? I am getting error of repeating child. Thank you in advance <xs:simpleType name="nameType"> <xs:restriction base="string"> <xs:minLength value="1" /> <xs:maxLength value="20" /> </xs:restriction> </xs:simpleType> <xs:element name="information"> <xs:complexType> <xs:sequence> <xs:element name="personal" maxOccurs="10"> <xs:complexType> <xs:sequence> <xs:element type="nameType" name="name"/> <xs:element type="nameType" name="surname"/> <xs:element type="nameType" …

Member Avatar for rubberman
0
127
Member Avatar for Bartosz

I am having problem to implement maxOccurs in my XML Schema: error I am getting is Repeating sequence type at line 17 has more than one child My Schema: xs:simpleType name="nameType"> <xs:restriction base="string"> <xs:minLength value="1" /> <xs:maxLength value="20" /> </xs:restriction> </xs:simpleType> <xs:element name="information"> <xs:complexType> <xs:sequence> <xs:element name="personal" maxOccurs="10"> <xs:complexType> <xs:sequence> …

Member Avatar for rubberman
0
210
Member Avatar for Bartosz

I am having problem with maxOccurs in my code.. it is cauisng an error. Could anyone could aid me to avoid having error? <xs:simpleType name="nameType"> <xs:restriction base="string"> <xs:minLength value="1" /> <xs:maxLength value="20" /> </xs:restriction> </xs:simpleType> <xs:element name="information"> <xs:complexType> <xs:sequence> <xs:element name="personal" maxOccurs="10"> <xs:complexType> <xs:sequence> <xs:element type="nameType" name="name"/> <xs:element type="nameType" name="surname"/> …

Member Avatar for rubberman
0
228